Table of Contents

Class MainContract

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

Constructors

MainContract()

Instantiates a new MainContract and sets the default values.

public MainContract()

Properties

ActualCompletionDate

The actual completion date of the mainContract.

public Date? ActualCompletionDate { get; set; }

Property Value

Date?

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>

Amount

The total amount of the mainContract.

public string? Amount { get; }

Property Value

string

ChangedBy

The user who made the last change to the mainContract. This is the ID of a user managed by BIM360/ACC Admin.

public string? ChangedBy { get; }

Property Value

string

CloseDate

The close date of the mainContract.

public Date? CloseDate { get; set; }

Property Value

Date?

Code

The code of the mainContract.

public string? Code { get; set; }

Property Value

string

ContactId

Default contact of the supplier. This is the ID of a user managed by BIM360/ACC Admin.

public string? ContactId { get; set; }

Property Value

string

ContractorCompanyId

The general contractor company id. This is the ID of a company managed by BIM360/ACC Admin.

public string? ContractorCompanyId { get; set; }

Property Value

string

CreatedAt

The date and time when the mainContract was created.

public DateTimeOffset? CreatedAt { get; }

Property Value

DateTimeOffset?

CreatorId

The user who created the mainContract. This is the ID of a user managed by BIM360/ACC Admin.

public string? CreatorId { get; }

Property Value

string

Description

Detailed description of a mainContract.

public string? Description { get; set; }

Property Value

string

ExecutedDate

The executed date of the mainContract.

public Date? ExecutedDate { get; set; }

Property Value

Date?

ExternalId

The ID of the item in its original external system. You can use this ID to track the source of truth or to look up the data in an integrated system.

public string? ExternalId { get; set; }

Property Value

string

ExternalMessage

A description about the integration: success, failure or error message.

public string? ExternalMessage { get; set; }

Property Value

string

ExternalSystem

The name of the external system. You can use this name to track the source of truth or to search in an integrated system.

public string? ExternalSystem { get; set; }

Property Value

string

Id

Unique identifier of the mainContract. If not present, the system will generate one automatically.

public string? Id { get; }

Property Value

string

IsDefault

Indicate whether mainContract is default or not.

public bool? IsDefault { get; set; }

Property Value

bool?

LastSyncTime

The date and time when the item was last updated.

public DateTimeOffset? LastSyncTime { get; }

Property Value

DateTimeOffset?

Name

The name of the mainContract.

public string? Name { get; set; }

Property Value

string

Note

Note to the mainContract. This is a Draftjs formatted rich text (https://draftjs.org/).

public string? Note { get; set; }

Property Value

string

OwnerCompanyId

The owner company id. This is the ID of a company managed by BIM360/ACC Admin.

public string? OwnerCompanyId { get; set; }

Property Value

string

Paid

The total amount of mainContract that has been paid previously.

public string? Paid { get; }

Property Value

string

PaymentDue

The payment due days of the main contract.

public int? PaymentDue { get; set; }

Property Value

int?

PaymentDueType

The payment due days relative to date of the main contract.

public MainContract_paymentDueType? PaymentDueType { get; set; }

Property Value

MainContract_paymentDueType?

PlannedCompletionDate

The planned completion date of the mainContract.

public Date? PlannedCompletionDate { get; set; }

Property Value

Date?

RetentionCap

Total retention percentage of the main contract amount.

public double? RetentionCap { get; set; }

Property Value

double?

ScopeOfWork

Scope signed by all parties of the mainContract. This is a Draftjs formatted rich text (https://draftjs.org/).

public string? ScopeOfWork { get; set; }

Property Value

string

SignedBy

The user who signed the mainContract. This is the ID of a user managed by BIM360/ACC Admin.

public string? SignedBy { get; set; }

Property Value

string

StartDate

The start date of the mainContract.

public Date? StartDate { get; set; }

Property Value

Date?

Status

The status of this mainContract.

public string? Status { get; set; }

Property Value

string

Type

Type of the mainContract. For example, Fixed Price or Unit Price. Type is customizable by the project admin.

public MainContract_type? Type { get; set; }

Property Value

MainContract_type?

UnReceived

The total of the amount that are approved but not paid.

public int? UnReceived { get; set; }

Property Value

int?

UpdatedAt

The date and time when the mainContract was last updated.

public DateTimeOffset? UpdatedAt { get; }

Property Value

DateTimeOffset?

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static MainContract CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

MainContract

A MainContract

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