| Package | Description |
|---|---|
| com.smartsheet.api | |
| com.smartsheet.api.models |
| Modifier and Type | Method and Description |
|---|---|
Attachment |
SheetAttachmentResources.attachFile(long sheetId,
File file,
String contentType)
Attach a file to a sheet with simple upload.
|
Attachment |
AssociatedAttachmentResources.attachFile(long objectId,
File file,
String contentType)
Deprecated.
As of release 2.0
|
Attachment |
AssociatedAttachmentResources.attachFile(long objectId,
InputStream inputStream,
String contentType,
long contentLength,
String attachmentName)
Deprecated.
As of release 2.0
|
Attachment |
CommentAttachmentResources.attachFile(long sheetId,
long commentId,
File file,
String contentType)
Attach a file to a comment.
|
Attachment |
RowAttachmentResources.attachFile(long sheetId,
long rowId,
File file,
String contentType)
Attach a file to a row with simple upload.
|
Attachment |
AttachmentResources.attachNewVersion(long attachmentId,
File file,
String contentType)
Deprecated.
As of release 2.0
|
Attachment |
AttachmentResources.attachNewVersion(long attachmentId,
InputStream inputStream,
String contentType,
long contentLength,
String attachmentName)
Deprecated.
As of release 2.0
|
Attachment |
AttachmentVersioningResources.attachNewVersion(long sheetId,
long attachmentId,
File file,
String contentType)
Attach a new version of an attachment.
|
Attachment |
SheetAttachmentResources.attachUrl(long sheetId,
Attachment attachment)
Attach a URL to a sheet.
|
Attachment |
AssociatedAttachmentResources.attachURL(long objectId,
Attachment attachment)
Deprecated.
As of release 2.0
|
Attachment |
CommentAttachmentResources.attachUrl(long sheetId,
long commentId,
Attachment attachment)
Attach a URL to a comment.
|
Attachment |
RowAttachmentResources.attachUrl(long sheetId,
long rowId,
Attachment attachment)
Attach a URL to a comment.
|
Attachment |
SheetAttachmentResources.getAttachment(long sheetId,
long attachmentId)
Get an attachment.
|
| Modifier and Type | Method and Description |
|---|---|
PagedResult<Attachment> |
RowAttachmentResources.getAttachments(long sheetId,
long rowId,
PaginationParameters parameters)
Get row attachment.
|
PagedResult<Attachment> |
DiscussionAttachmentResources.getAttachments(long sheetId,
long discussionId,
PaginationParameters parameters)
Get discussion attachment.
|
PagedResult<Attachment> |
AttachmentVersioningResources.listAllVersions(long sheetId,
long attachmentId,
PaginationParameters parameters)
Get all versions of an attachment.
|
List<Attachment> |
AssociatedAttachmentResources.listAttachments(long objectId)
Deprecated.
As of release 2.0
|
PagedResult<Attachment> |
SheetAttachmentResources.listAttachments(long sheetId,
PaginationParameters parameters)
Gets a list of all Attachments that are on the Sheet, including Sheet, Row, and Discussion level Attachments.
|
| Modifier and Type | Method and Description |
|---|---|
Attachment |
SheetAttachmentResources.attachUrl(long sheetId,
Attachment attachment)
Attach a URL to a sheet.
|
Attachment |
AssociatedAttachmentResources.attachURL(long objectId,
Attachment attachment)
Deprecated.
As of release 2.0
|
Attachment |
CommentAttachmentResources.attachUrl(long sheetId,
long commentId,
Attachment attachment)
Attach a URL to a comment.
|
Attachment |
RowAttachmentResources.attachUrl(long sheetId,
long rowId,
Attachment attachment)
Attach a URL to a comment.
|
| Modifier and Type | Method and Description |
|---|---|
Attachment |
Attachment.CreateAttachmentBuilder.build()
Returns the list of cells.
|
Attachment |
Attachment.setAttachmentSubType(AttachmentSubType attachmentSubType)
Sets the attachment sub type.
|
Attachment |
Attachment.setAttachmentType(AttachmentType attachmentType)
Sets the attachment type.
|
Attachment |
Attachment.setCreatedAt(Date createdAt)
Sets the created at.
|
Attachment |
Attachment.setCreatedBy(User createdBy) |
Attachment |
Attachment.setDescription(String description)
Sets the attachment description.
|
Attachment |
Attachment.setMimeType(String mimeType)
Sets the mime type.
|
Attachment |
Attachment.setParentId(Long parentId)
Sets the parent id.
|
Attachment |
Attachment.setParentType(AttachmentParentType parentType)
Sets the parent type.
|
Attachment |
Attachment.setSizeInKb(Long sizeInKb)
Sets the size in kb.
|
Attachment |
Attachment.setUrl(String url)
Sets the URL.
|
Attachment |
Attachment.setUrlExpiresInMillis(Long urlExpiresInMillis)
Sets the url expires in millis.
|
| Modifier and Type | Method and Description |
|---|---|
List<Attachment> |
AbstractRow.getAttachments()
Gets the attachments.
|
List<Attachment> |
AbstractSheet.getAttachments()
Gets the attachments for the sheet.
|
List<Attachment> |
Comment.getAttachments()
Gets the comment attachments.
|
List<Attachment> |
Discussion.getCommentAttachments()
Gets the comment attachments.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractRow<TColumn,TCell> |
AbstractRow.setAttachments(List<Attachment> attachments)
Sets the attachments.
|
AbstractSheet<TRow,TColumn,TCell> |
AbstractSheet.setAttachments(List<Attachment> attachments)
Sets the attachments for the sheet.
|
Comment |
Comment.setAttachments(List<Attachment> attachments)
Sets the comment attachments.
|
Discussion |
Discussion.setCommentAttachments(List<Attachment> commentAttachments)
Sets the comment attachments.
|
Copyright © 2014–2017 Smartsheet. All rights reserved.