using Newtonsoft.Json; using System.Runtime.Serialization; namespace ConsoleApp3.DataContracts { [DataContract] public class ModelContactAddress { /// /// the creation date of the contact /// /// the creation date of the contact [DataMember(Name = "create", EmitDefaultValue = false)] [JsonProperty(PropertyName = "create")] public DateTime? Create { get; set; } /// /// date, the contact was last updated /// /// date, the contact was last updated [DataMember(Name = "update", EmitDefaultValue = false)] [JsonProperty(PropertyName = "update")] public DateTime? Update { get; set; } /// /// the contact the address belongs to /// /// the contact the address belongs to [DataMember(Name = "contact", EmitDefaultValue = false)] [JsonProperty(PropertyName = "contact")] public ModelContact? Contact { get; set; } /// /// /// /// [DataMember(Name = "street", EmitDefaultValue = false)] [JsonProperty(PropertyName = "street")] public string Street { get; set; } = ""; /// /// zip of the city/village /// /// zip of the city/village [DataMember(Name = "zip", EmitDefaultValue = false)] [JsonProperty(PropertyName = "zip")] public string Zip { get; set; } = ""; /// /// /// /// [DataMember(Name = "city", EmitDefaultValue = false)] [JsonProperty(PropertyName = "city")] public string City { get; set; } = ""; /// /// /// /// [DataMember(Name = "country", EmitDefaultValue = false)] [JsonProperty(PropertyName = "country")] public ModelStaticCountry? Country { get; set; } /// /// category of the address /// /// category of the address [DataMember(Name = "category", EmitDefaultValue = false)] [JsonProperty(PropertyName = "category")] public ModelCategory? Category { get; set; } /// /// /// /// [DataMember(Name = "name", EmitDefaultValue = false)] [JsonProperty(PropertyName = "name")] public string Name { get; set; } = ""; /// /// sevClient is the unique id every customer has and is used in nearly all operations /// /// sevClient is the unique id every customer has and is used in nearly all operations [DataMember(Name = "sevClient", EmitDefaultValue = false)] [JsonProperty(PropertyName = "sevClient")] public Object SevClient { get; set; } = new object(); /// /// /// /// [DataMember(Name = "name2", EmitDefaultValue = false)] [JsonProperty(PropertyName = "name2")] public string Name2 { get; set; } = ""; /// /// /// /// [DataMember(Name = "name3", EmitDefaultValue = false)] [JsonProperty(PropertyName = "name3")] public string Name3 { get; set; } = ""; /// /// /// /// [DataMember(Name = "name4", EmitDefaultValue = false)] [JsonProperty(PropertyName = "name4")] public string Name4 { get; set; } = ""; } }