@Deprecated public interface AssociatedAttachmentResources
| Modifier and Type | Method and Description |
|---|---|
Attachment |
attachFile(long objectId,
File file,
String contentType)
Deprecated.
As of release 2.0
|
Attachment |
attachFile(long objectId,
InputStream inputStream,
String contentType,
long contentLength,
String attachmentName)
Deprecated.
As of release 2.0
|
Attachment |
attachURL(long objectId,
Attachment attachment)
Deprecated.
As of release 2.0
|
List<Attachment> |
listAttachments(long objectId)
Deprecated.
As of release 2.0
|
@Deprecated List<Attachment> listAttachments(long objectId)
objectId - the ID of the object to which the attachments are associated@Deprecated Attachment attachFile(long objectId, File file, String contentType)
objectId - the id of the objectfile - the file to attachcontentType - the content type of the file@Deprecated Attachment attachFile(long objectId, InputStream inputStream, String contentType, long contentLength, String attachmentName)
objectId - the id of the objectinputStream - the file to attachcontentType - the content type of the filecontentLength - the size of the file in bytes.attachmentName - the name of the file.@Deprecated Attachment attachURL(long objectId, Attachment attachment)
objectId - the object idattachment - the attachment objectCopyright © 2014–2017 Smartsheet. All rights reserved.