using Simple.OData.Client; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Text.Json; using System.Threading.Tasks; namespace JSONParser.Structure { public class Entity { public string Type { get; set; } public string Sid { get; set; } public long? DirectumId { get; set; } public virtual string Serialize() { return JsonSerializer.Serialize(this); } public virtual Task Create(ODataClient client) { throw new NotImplementedException(); } public virtual Task Update(ODataClient client, long id) { throw new NotImplementedException(); } } }