Table of Contents

Class AssetObject

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

Constructors

AssetObject()

Instantiates a new AssetObject and sets the default values.

public AssetObject()

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>

AssetStatusUid

Id of the request to duplicate project assets.

public Guid? AssetStatusUid { get; set; }

Property Value

Guid?

ShouldCopyIntoProject

true if the asset should be upserted, false if the asset should be deleted.

public bool? ShouldCopyIntoProject { get; set; }

Property Value

bool?

SourceObjectUid

Id of the source asset to copy from.

public Guid? SourceObjectUid { get; set; }

Property Value

Guid?

SourceProjectUid

Id of the source project to copy the asset from.

public Guid? SourceProjectUid { get; set; }

Property Value

Guid?

SubscriptionContext

A generic property bag for additional properties.

public UntypedNode? SubscriptionContext { get; set; }

Property Value

UntypedNode

TargetObjectUid

Id of the target asset to copy to.

public Guid? TargetObjectUid { get; set; }

Property Value

Guid?

TargetProjectUid

Id of the target project to copy the asset to.

public Guid? TargetProjectUid { get; set; }

Property Value

Guid?

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static AssetObject CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

AssetObject

A AssetObject

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