Class DocumentPackageItem
- Namespace
- Autodesk.ACC.CostManagement.Models
- Assembly
- Autodesk.ACC.CostManagement.dll
public class DocumentPackageItem : IAdditionalDataHolder, IParsable
- Inheritance
-
DocumentPackageItem
- Implements
-
IAdditionalDataHolderIParsable
- 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
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
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
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
ErrorInfo
Error information if this document package item failed to be generated.
public DocumentPackageItem_errorInfo? ErrorInfo { get; set; }
Property Value
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
Position
The order of the itme in the document package.
public double? Position { get; set; }
Property Value
SourceFileName
The source file name.
public string? SourceFileName { get; set; }
Property Value
Status
Current status of the document. Possible values: Pending
, InProgress
, Complete
, Fail
, PendingSign
, Signed
.
public DocumentPackageItem_status? Status { get; set; }
Property Value
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
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
Urn
The version URN of the document package item in the Autodesk Data Management service.
public string? Urn { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static DocumentPackageItem CreateFromDiscriminatorValue(IParseNode parseNode)
Parameters
parseNode
IParseNodeThe parse node to use to read the discriminator value and create the object
Returns
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
ISerializationWriterSerialization writer to use to serialize this model