Umgeschrieben auf Sevdesk
This commit is contained in:
26
ConsoleApp3/DataContracts/ModelSevUser.cs
Normal file
26
ConsoleApp3/DataContracts/ModelSevUser.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Newtonsoft.Json;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace ConsoleApp3.DataContracts
|
||||
{
|
||||
[DataContract]
|
||||
public class ModelSevUser
|
||||
{
|
||||
[DataMember(Name = "id", EmitDefaultValue = false)]
|
||||
[JsonProperty(PropertyName = "id")]
|
||||
public int Id { get; set; } = 995002;
|
||||
|
||||
[DataMember(Name = "objectName", EmitDefaultValue = false)]
|
||||
[JsonProperty(PropertyName = "objectName")]
|
||||
public string objectName { get; set; } = "SevUser";
|
||||
|
||||
/// <summary>
|
||||
/// This information is not visible for you
|
||||
/// </summary>
|
||||
/// <value>This information is not visible for you</value>
|
||||
[DataMember(Name = "hidden", EmitDefaultValue = false)]
|
||||
[JsonProperty(PropertyName = "hidden")]
|
||||
public string Hidden { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user