Class DocumentHistory
Inheritance
DocumentHistory
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class DocumentHistory
Properties
Declaration
[JsonProperty("action", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public DocumentChangeAction Action { get; set; }
Property Value
Declaration
[JsonProperty("audit", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public UserAuditHistory Audit { get; set; }
Property Value
Declaration
[JsonProperty("deleted", Required = Required.Always)]
public bool Deleted { get; set; }
Property Value
Declaration
[JsonProperty("document", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string Document { get; set; }
Property Value
Declaration
[JsonProperty("documentDate", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public DateTime DocumentDate { get; set; }
Property Value
Declaration
[JsonProperty("documentId", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string DocumentId { get; set; }
Property Value
Declaration
[JsonProperty("documentType", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string DocumentType { get; set; }
Property Value
Declaration
[JsonProperty("documentVersion", Required = Required.Always)]
public long DocumentVersion { get; set; }
Property Value
Declaration
[JsonProperty("timestamp", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public DateTime Timestamp { get; set; }
Property Value
Methods
Declaration
public static DocumentHistory FromJson(string data)
Parameters
Returns