public class AttachmentList extends Object
The object that represents attachments in the REST API. Attachments contain both the binary data and the metadata surrounding them. See the REST API documentation for further information as to how to use attachments.
Attachments have different functionality depending on whether they are being created, updated, read or deleted.
| Modifier and Type | Class and Description |
|---|---|
class |
AttachmentList.Attachments
This class hold the Attachments objects (handle a unique Attachment model )
|
| Constructor and Description |
|---|
AttachmentList(Octane.OctaneInternalConfiguration octaneInternalConfiguration,
String baseDomain)
Creates a new attachmentList object
|
| Modifier and Type | Method and Description |
|---|---|
AttachmentList.Attachments |
at(String entityId)
getter of specific attachment ( An Attachments object with specific id )
|
CreateAttachment |
create()
getter of attachmentList create object
|
DeleteEntities |
delete()
getter of attachmentList DeleteEntities object ( same functionality as EntityList.DeleteEntities )
|
GetEntities |
get()
getter of attachmentList GetEntities object
|
UpdateEntities |
update()
getter of attachmentList UpdateEntities object ( same functionality as EntityList.UpdateEntities )
|
public AttachmentList(Octane.OctaneInternalConfiguration octaneInternalConfiguration, String baseDomain)
octaneInternalConfiguration - - Octane internal configurationbaseDomain - - domain of attachmentListpublic GetEntities get()
public UpdateEntities update()
public CreateAttachment create()
public DeleteEntities delete()
public AttachmentList.Attachments at(String entityId)
entityId - - An Attachments object with specific idCopyright © 2021 Micro Focus. All rights reserved.