Smartsheet.Api.Models.Attachment.CreateAttachmentBuilder.CreateAttachmentBuilder C# (CSharp) Method

CreateAttachmentBuilder() public method

Sets the required attributes for creating an Attachment.
public CreateAttachmentBuilder ( string url, AttachmentType attachmentType ) : System
url string Attachment temporary URL (files only)
attachmentType AttachmentType Attachment type (one of FILE, GOOGLE_DRIVE, /// LINK, BOX_COM, DROPBOX, or EVERNOTE)
return System
            public CreateAttachmentBuilder(string url, AttachmentType? attachmentType)
            {
                this.url = url;
                this.attachmentType = attachmentType;
            }