Class Attachment
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
Represents the Attachment object.
public class Attachment : NamedModel
- Inheritance
-
Attachment
- Inherited Members
Properties
AttachmentSubType
Gets the attachment sub Type.
public AttachmentSubType? AttachmentSubType { get; set; }
Property Value
- AttachmentSubType?
the attachment sub Type
AttachmentType
Gets the attachment Type.
public AttachmentType? AttachmentType { get; set; }
Property Value
- AttachmentType?
the attachment Type
CreatedAt
Gets the created at.
public DateTime? CreatedAt { get; set; }
Property Value
- DateTime?
the created at
CreatedBy
User object containing name and email of the creator of this attachment
public User CreatedBy { get; set; }
Property Value
Description
Applicable when attaching to sheet or row only
public string Description { get; set; }
Property Value
MimeType
Gets the mime Type.
public string MimeType { get; set; }
Property Value
- string
the mime Type
ParentId
Gets the parent Id.
public long? ParentId { get; set; }
Property Value
- long?
the parent Id
ParentType
Gets the parent Type.
public AttachmentParentType? ParentType { get; set; }
Property Value
- AttachmentParentType?
the parent Type
SizeInKb
Gets the size in kb.
public long? SizeInKb { get; set; }
Property Value
- long?
the size in kb
Url
Gets the URL.
public string Url { get; set; }
Property Value
- string
The Url.
UrlExpiresInMillis
Gets the Url expires in millis.
public long? UrlExpiresInMillis { get; set; }
Property Value
- long?
the Url expires in millis