Table of Contents

Class Attachment

Namespace
Autodesk.ACC.RFIs.Models
Assembly
Autodesk.ACC.RFIs.dll

The attachment object.

public class Attachment : IParsable
Inheritance
Attachment
Implements
IParsable
Inherited Members

Properties

AttachmentType

The type of attachment.

public Attachment_attachmentType? AttachmentType { get; set; }

Property Value

Attachment_attachmentType?

CreatedAt

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

public DateTimeOffset? CreatedAt { get; set; }

Property Value

DateTimeOffset?

CreatedBy

The Autodesk ID of the user who added the attachment. To check the name of the user, call GET projects/users BIM 360</en/docs/bim360/v1/reference/http/admin-v1-projects-projectId-users-GET>_ ACC</en/docs/acc/v1/reference/http/admin-v1-projects-projectId-users-GET>_.

public string? CreatedBy { get; set; }

Property Value

string

DeletedAt

The timestamp of the date and time the attachment was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. This is only relevant for deleted attachments.

public DateTimeOffset? DeletedAt { get; set; }

Property Value

DateTimeOffset?

DeletedBy

The Autodesk ID of the user who deleted the attachment. To check the name of the user, call GET projects/users BIM 360</en/docs/bim360/v1/reference/http/admin-v1-projects-projectId-users-GET>_ ACC</en/docs/acc/v1/reference/http/admin-v1-projects-projectId-users-GET>_. This is only relevant for deleted attachments.'

public string? DeletedBy { get; set; }

Property Value

string

Id

The ID of the attachment.

public Guid? Id { get; }

Property Value

Guid?

Name

The name of the attachment.

public string? Name { get; set; }

Property Value

string

PermittedActions

A list of actions that are permitted for the current user.

public Attachment_permittedActions? PermittedActions { get; set; }

Property Value

Attachment_permittedActions

RfiId

The ID of the RFI associated with the attachment.

public string? RfiId { get; set; }

Property Value

string

UpdatedAt

The last date and time the attachment attributes were updated, in the following format: YYYY-MM-DDThh:mm:ss.sz.

public DateTimeOffset? UpdatedAt { get; set; }

Property Value

DateTimeOffset?

Url

The URL of the storage location for the attachment.

public string? Url { get; set; }

Property Value

string

Urn

The ID (item ID) of the document associated with the RFI. For more details, see the Upload Attachment tutorial BIM 360</en/docs/bim360/v1/reference/tutorials/attach-BIM-360-files-to-rfi/>_ ACC</en/docs/acc/v1/reference/tutorials/attach-BIM-360-files-to-rfi/>_.

public string? Urn { get; set; }

Property Value

string

UrnType

The type of attachment URN. Possible values:dm - for a BIM 360 Document Management fileoss - for a local file

public Attachment_urnType? UrnType { get; set; }

Property Value

Attachment_urnType?

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static Attachment CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

Attachment

A Attachment

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