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 DeploymentLocation { /// /// City of the deployment /// /// City of the deployment [DataMember(Name="city", EmitDefaultValue=false)] [JsonProperty(PropertyName = "city")] public string City { get; set; } /// /// Country of the deployment /// /// Country of the deployment [DataMember(Name="country", EmitDefaultValue=false)] [JsonProperty(PropertyName = "country")] public string Country { get; set; } /// /// Continent of the deployment /// /// Continent of the deployment [DataMember(Name="continent", EmitDefaultValue=false)] [JsonProperty(PropertyName = "continent")] public string Continent { get; set; } /// /// Administrative division of the deployment /// /// Administrative division of the deployment [DataMember(Name="administrative_division", EmitDefaultValue=false)] [JsonProperty(PropertyName = "administrative_division")] public string AdministrativeDivision { get; set; } /// /// Timezone of the deployment /// /// Timezone of the deployment [DataMember(Name="timezone", EmitDefaultValue=false)] [JsonProperty(PropertyName = "timezone")] public string Timezone { get; set; } /// /// Latitude of the deployment /// /// Latitude of the deployment [DataMember(Name="latitude", EmitDefaultValue=false)] [JsonProperty(PropertyName = "latitude")] public decimal? Latitude { get; set; } /// /// Longitude of the deployment /// /// Longitude of the deployment [DataMember(Name="longitude", EmitDefaultValue=false)] [JsonProperty(PropertyName = "longitude")] public decimal? Longitude { 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 DeploymentLocation {\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(" Timezone: ").Append(Timezone).Append("\n"); sb.Append(" Latitude: ").Append(Latitude).Append("\n"); sb.Append(" Longitude: ").Append(Longitude).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); } } }