This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cardmarketbot/ConsoleApp3/DataContracts/ModelContactAddress.cs

114 lines
3.7 KiB
C#

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