Renaming
start.bat added
This commit is contained in:
114
CardMarketBot/DataContracts/ModelContactAddress.cs
Normal file
114
CardMarketBot/DataContracts/ModelContactAddress.cs
Normal file
@@ -0,0 +1,114 @@
|
||||
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; } = new object();
|
||||
|
||||
/// <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; } = "";
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user