Table of Contents

Class DocumentPackageItem

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

Constructors

DocumentPackageItem()

Instantiates a new DocumentPackageItem and sets the default values.

public DocumentPackageItem()

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>

AttachmentUrn

Object version URN of the attachment in the Autodesk Data Management service. Valid for Upload, DocsFile and Attachment type.

public string? AttachmentUrn { get; set; }

Property Value

string

CreatedAt

The timestamp of the date and time the item was created, in the following format: YYYY-MM-DDThh:mm:ss.sz.

public DateTimeOffset? CreatedAt { get; }

Property Value

DateTimeOffset?

DocumentPacakgeId

Unique auto-generated identifier of the document package.

public Guid? DocumentPacakgeId { get; }

Property Value

Guid?

DocxUrn

The version URN of the document package item in docx format in the Autodesk Data Management service. Valid for Document type.

public string? DocxUrn { get; set; }

Property Value

string

ErrorInfo

Error information if this document package item failed to be generated.

public DocumentPackageItem_errorInfo? ErrorInfo { get; set; }

Property Value

DocumentPackageItem_errorInfo

FolderId

Folder ID retrieved from the attachment’s containing folder /attachment-folder. Valid for Upload type.

public Guid? FolderId { get; set; }

Property Value

Guid?

Id

Unique auto-generated identifier of the document package item.

public Guid? Id { get; }

Property Value

Guid?

Name

Name of the item generated in document package.

public string? Name { get; set; }

Property Value

string

Position

The order of the itme in the document package.

public double? Position { get; set; }

Property Value

double?

SourceFileName

The source file name.

public string? SourceFileName { get; set; }

Property Value

string

Status

Current status of the document. Possible values: Pending, InProgress, Complete, Fail, PendingSign, Signed.

public DocumentPackageItem_status? Status { get; set; }

Property Value

DocumentPackageItem_status?

TemplateId

UUID of the document template. Valid for Document type.

public Guid? TemplateId { get; set; }

Property Value

Guid?

Type

Document: a document generated from a DocumentTemplate; Upload: upload from a local file; DocsFile: a file attached from BIM 360 Docs; Attachment: move an attachment from Attachments to Document Pacakge

public DocumentPackageItem_type? Type { get; set; }

Property Value

DocumentPackageItem_type?

UpdatedAt

The timestamp of the date and time the item was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz.

public DateTimeOffset? UpdatedAt { get; }

Property Value

DateTimeOffset?

Urn

The version URN of the document package item in the Autodesk Data Management service.

public string? Urn { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static DocumentPackageItem CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

DocumentPackageItem

A DocumentPackageItem

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