using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace IO.Swagger.Model { /// /// /// [DataContract] public class Deployments { /// /// List of Active Deployments /// /// List of Active Deployments [DataMember(Name="data", EmitDefaultValue=false)] [JsonProperty(PropertyName = "data")] public List Data { get; set; } /// /// Total Objects in the Database /// /// Total Objects in the Database [DataMember(Name="total_count", EmitDefaultValue=false)] [JsonProperty(PropertyName = "total_count")] public int? TotalCount { get; set; } /// /// Pagination Object /// /// Pagination Object [DataMember(Name="pagination", EmitDefaultValue=false)] [JsonProperty(PropertyName = "pagination")] public Pagination Pagination { get; set; } /// /// Extra Messages for the query /// /// Extra Messages for the query [DataMember(Name="message", EmitDefaultValue=false)] [JsonProperty(PropertyName = "message")] public List Message { get; set; } /// /// Get the string presentation of the object /// /// String presentation of the object public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append("class Deployments {\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append(" TotalCount: ").Append(TotalCount).Append("\n"); sb.Append(" Pagination: ").Append(Pagination).Append("\n"); sb.Append(" Message: ").Append(Message).Append("\n"); sb.Append("}\n"); return sb.ToString(); } /// /// Get the JSON string presentation of the object /// /// JSON string presentation of the object public string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } } }