public interface Attachment
| Modifier and Type | Method and Description |
|---|---|
AttachmentSummary |
asSummary()
Return a summary of the current Attachment.
|
String |
getChannel()
Returns the Channel on which the attachment was received.
|
ClassificationSummary |
getClassificationSummary()
Returns the classification summary of the attachment.
|
java.time.Instant |
getCreated()
Returns the time when the attachment was created.
|
Map<String,String> |
getCustomAttributes()
Returns the custom attributes of this attachment.
|
String |
getId()
Returns the current id of the attachment.
|
java.time.Instant |
getModified()
Returns the time when the attachment was last modified.
|
ObjectReference |
getObjectReference()
Returns the
primaryObjectReference of the attachment. |
java.time.Instant |
getReceived()
Returns the time when this attachment was received.
|
String |
getTaskId()
Returns the id of the associated task.
|
void |
setChannel(String channel)
Sets the Channel on which the attachment was received.
|
void |
setClassificationSummary(ClassificationSummary classificationSummary)
Set the classification summary for this attachment.
|
void |
setCustomAttributes(Map<String,String> customAttributes)
Sets the custom attribute Map of the attachment.
|
void |
setObjectReference(ObjectReference objectReference)
Sets the
primaryObjectReference of the attachment. |
void |
setReceived(java.time.Instant received)
Sets the time when the attachment was received.
|
String getId()
String getTaskId()
java.time.Instant getCreated()
Instantjava.time.Instant getModified()
Instant of the attachmentClassificationSummary getClassificationSummary()
ClassificationSummary of this attachmentvoid setClassificationSummary(ClassificationSummary classificationSummary)
classificationSummary - the ClassificationSummary for this attachmentObjectReference getObjectReference()
primaryObjectReference of the attachment.primaryObjectReference of the attachmentvoid setObjectReference(ObjectReference objectReference)
primaryObjectReference of the attachment.objectReference - the primaryObjectReference of the attachmentString getChannel()
void setChannel(String channel)
channel - the channel on which the attachment was receivedjava.time.Instant getReceived()
Instantvoid setReceived(java.time.Instant received)
received - the time as Instant when the attachment was receivedMap<String,String> getCustomAttributes()
Mapvoid setCustomAttributes(Map<String,String> customAttributes)
customAttributes - a Map that contains the custom attributes of the attachment as key, value pairsAttachmentSummary asSummary()
Copyright © 2019. All rights reserved.