Table of Contents

Class ContractSync

Namespace
Autodesk.ACC.CostManagement.Models
Assembly
Autodesk.ACC.CostManagement.dll
public class ContractSync : IAdditionalDataHolder, IParsable
Inheritance
ContractSync
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Constructors

ContractSync()

Instantiates a new ContractSync and sets the default values.

public ContractSync()

Properties

AdditionalData

Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

public IDictionary<string, object> AdditionalData { get; set; }

Property Value

IDictionary<string, object>

Current

A list of contracts to be synced

public ContractSync_current? Current { get; set; }

Property Value

ContractSync_current

Deleted

A list of contracts to be deleted

public ContractSync_deleted? Deleted { get; set; }

Property Value

ContractSync_deleted

MoreData

Whether there are more contracts to sync.

public bool? MoreData { get; set; }

Property Value

bool?

NextSyncToken

The token to send in the next sync request.

public string? NextSyncToken { get; set; }

Property Value

string

Overwrite

An optional param. if overwrite is returned, clients should delete all local copies of data in the project. Further syncing will then start from scratch.

public bool? Overwrite { get; set; }

Property Value

bool?

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static ContractSync CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

ContractSync

A ContractSync

GetFieldDeserializers()

The deserialization information for the current model

public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public virtual void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model