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 Request { /// /// The Unique Identifier of the request /// /// The Unique Identifier of the request [DataMember(Name="request_id", EmitDefaultValue=false)] [JsonProperty(PropertyName = "request_id")] public string RequestId { get; set; } /// /// The URL to connect to the instance /// /// The URL to connect to the instance [DataMember(Name="request_dns", EmitDefaultValue=false)] [JsonProperty(PropertyName = "request_dns")] public string RequestDns { get; set; } /// /// The Name of the App you requested /// /// The Name of the App you requested [DataMember(Name="request_app", EmitDefaultValue=false)] [JsonProperty(PropertyName = "request_app")] public string RequestApp { get; set; } /// /// The name of the App Version you requested /// /// The name of the App Version you requested [DataMember(Name="request_version", EmitDefaultValue=false)] [JsonProperty(PropertyName = "request_version")] public string RequestVersion { get; set; } /// /// How Many Users your request contain /// /// How Many Users your request contain [DataMember(Name="request_user_count", EmitDefaultValue=false)] [JsonProperty(PropertyName = "request_user_count")] public int? RequestUserCount { get; set; } /// /// The city where the deployment is located /// /// The city where the deployment is located [DataMember(Name="city", EmitDefaultValue=false)] [JsonProperty(PropertyName = "city")] public string City { get; set; } /// /// The country where the deployment is located /// /// The country where the deployment is located [DataMember(Name="country", EmitDefaultValue=false)] [JsonProperty(PropertyName = "country")] public string Country { get; set; } /// /// The continent where the deployment is located /// /// The continent where the deployment is located [DataMember(Name="continent", EmitDefaultValue=false)] [JsonProperty(PropertyName = "continent")] public string Continent { get; set; } /// /// The administrative division where the deployment is located /// /// The administrative division where the deployment is located [DataMember(Name="administrative_division", EmitDefaultValue=false)] [JsonProperty(PropertyName = "administrative_division")] public string AdministrativeDivision { get; set; } /// /// List of tags associated with the deployment /// /// List of tags associated with the deployment [DataMember(Name="tags", EmitDefaultValue=false)] [JsonProperty(PropertyName = "tags")] public List Tags { get; set; } /// /// The container log storage options for the deployment /// /// The container log storage options for the deployment [DataMember(Name="container_log_storage", EmitDefaultValue=false)] [JsonProperty(PropertyName = "container_log_storage")] public ContainerLogStorageModel ContainerLogStorage { 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 Request {\n"); sb.Append(" RequestId: ").Append(RequestId).Append("\n"); sb.Append(" RequestDns: ").Append(RequestDns).Append("\n"); sb.Append(" RequestApp: ").Append(RequestApp).Append("\n"); sb.Append(" RequestVersion: ").Append(RequestVersion).Append("\n"); sb.Append(" RequestUserCount: ").Append(RequestUserCount).Append("\n"); sb.Append(" City: ").Append(City).Append("\n"); sb.Append(" Country: ").Append(Country).Append("\n"); sb.Append(" Continent: ").Append(Continent).Append("\n"); sb.Append(" AdministrativeDivision: ").Append(AdministrativeDivision).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); sb.Append(" ContainerLogStorage: ").Append(ContainerLogStorage).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); } } }