Class Attachment
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
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
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
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
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
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
PermittedActions
A list of actions that are permitted for the current user.
public Attachment_permittedActions? PermittedActions { get; set; }
Property Value
RfiId
The ID of the RFI associated with the attachment.
public string? RfiId { get; set; }
Property Value
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
Url
The URL of the storage location for the attachment.
public string? Url { get; set; }
Property Value
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
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
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static Attachment 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