123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- using System;
- using System.Text;
- using System.Collections;
- using System.Collections.Generic;
- using System.Runtime.Serialization;
- using Newtonsoft.Json;
- namespace IO.Swagger.Model {
- /// <summary>
- ///
- /// </summary>
- [DataContract]
- public class DeploymentLocation {
- /// <summary>
- /// City of the deployment
- /// </summary>
- /// <value>City of the deployment</value>
- [DataMember(Name="city", EmitDefaultValue=false)]
- [JsonProperty(PropertyName = "city")]
- public string City { get; set; }
- /// <summary>
- /// Country of the deployment
- /// </summary>
- /// <value>Country of the deployment</value>
- [DataMember(Name="country", EmitDefaultValue=false)]
- [JsonProperty(PropertyName = "country")]
- public string Country { get; set; }
- /// <summary>
- /// Continent of the deployment
- /// </summary>
- /// <value>Continent of the deployment</value>
- [DataMember(Name="continent", EmitDefaultValue=false)]
- [JsonProperty(PropertyName = "continent")]
- public string Continent { get; set; }
- /// <summary>
- /// Administrative division of the deployment
- /// </summary>
- /// <value>Administrative division of the deployment</value>
- [DataMember(Name="administrative_division", EmitDefaultValue=false)]
- [JsonProperty(PropertyName = "administrative_division")]
- public string AdministrativeDivision { get; set; }
- /// <summary>
- /// Timezone of the deployment
- /// </summary>
- /// <value>Timezone of the deployment</value>
- [DataMember(Name="timezone", EmitDefaultValue=false)]
- [JsonProperty(PropertyName = "timezone")]
- public string Timezone { get; set; }
- /// <summary>
- /// Latitude of the deployment
- /// </summary>
- /// <value>Latitude of the deployment</value>
- [DataMember(Name="latitude", EmitDefaultValue=false)]
- [JsonProperty(PropertyName = "latitude")]
- public decimal? Latitude { get; set; }
- /// <summary>
- /// Longitude of the deployment
- /// </summary>
- /// <value>Longitude of the deployment</value>
- [DataMember(Name="longitude", EmitDefaultValue=false)]
- [JsonProperty(PropertyName = "longitude")]
- public decimal? Longitude { get; set; }
- /// <summary>
- /// Get the string presentation of the object
- /// </summary>
- /// <returns>String presentation of the object</returns>
- 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();
- }
- /// <summary>
- /// Get the JSON string presentation of the object
- /// </summary>
- /// <returns>JSON string presentation of the object</returns>
- public string ToJson() {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
- }
- }
|