Table of Contents

Class ExternalRelationship

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

Constructors

ExternalRelationship()

Instantiates a new ExternalRelationship and sets the default values.

public ExternalRelationship()

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>

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

LastSyncTime

The date and time when the item was last updated.

public DateTimeOffset? LastSyncTime { get; }

Property Value

DateTimeOffset?

ObjectId

Unique identifier of the object with which the external relationship is associated.

public Guid? ObjectId { get; }

Property Value

Guid?

ObjectType

The type of the object with which the external relationship is associated. For example, Budget, Contract, MainContract, pco, rfq, rco, oco, sco, Payment, BudgetPayment, ForecastAdjustment.

public string? ObjectType { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static ExternalRelationship CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

ExternalRelationship

A ExternalRelationship

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