Class DocComparison
Comparison result between two document versions
Implements
Inherited Members
Namespace: Grist4NET.Kiota.Models
Assembly: Grist4NET.Kiota.dll
Syntax
public class DocComparison : IAdditionalDataHolder, IParsable
Constructors
DocComparison()
Instantiates a new DocComparison and sets the default values.
Declaration
public DocComparison()
Properties
AdditionalData
Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
Declaration
public IDictionary<string, object> AdditionalData { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
Details
Detailed change information (when requested)
Declaration
public DocComparison_details Details { get; set; }
Property Value
| Type | Description |
|---|---|
| DocComparison_details |
Left
Left/local document state
Declaration
public DocComparison_left Left { get; set; }
Property Value
| Type | Description |
|---|---|
| DocComparison_left |
Parent
Most recent common ancestor state
Declaration
public DocComparison_parent Parent { get; set; }
Property Value
| Type | Description |
|---|---|
| DocComparison_parent |
Right
Right/remote document state
Declaration
public DocComparison_right Right { get; set; }
Property Value
| Type | Description |
|---|---|
| DocComparison_right |
Summary
Relationship summary:- same: documents have the same most recent state- left: the left document has actions not yet in the right- right: the right document has actions not yet in the left- both: both documents have changes (possible divergence)- unrelated: no common history found
Declaration
public DocComparison_summary? Summary { get; set; }
Property Value
| Type | Description |
|---|---|
| DocComparison_summary? |
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
Declaration
public static DocComparison CreateFromDiscriminatorValue(IParseNode parseNode)
Parameters
| Type | Name | Description |
|---|---|---|
| IParseNode | parseNode | The parse node to use to read the discriminator value and create the object |
Returns
| Type | Description |
|---|---|
| DocComparison |
GetFieldDeserializers()
The deserialization information for the current model
Declaration
public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
Returns
| Type | Description |
|---|---|
| IDictionary<string, Action<IParseNode>> | A IDictionary<string, Action<IParseNode>> |
Serialize(ISerializationWriter)
Serializes information the current object
Declaration
public virtual void Serialize(ISerializationWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| ISerializationWriter | writer | Serialization writer to use to serialize this model |