public class Attachment
extends java.lang.Object
ChatLog
that will be created by LivechatAgentsPath
.
It is used to define attachments in a chat log event.
This class is a model that will be serialised to JSON and deserialised from JSON to this model. As such it does not follow the m naming prefix for fields.
Constructor and Description |
---|
Attachment() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMimeType()
Gets mime type of the attachment
|
java.lang.String |
getName()
Gets name of the attachment file
|
java.lang.Long |
getSize()
Gets file size of the attachment
|
java.net.URL |
getThumbnail()
Gets thumbnail image of the attachment
|
java.lang.String |
getType()
Gets type of the attachment like document or image
|
java.net.URL |
getUrl()
Get resource url of the attachment
|
@Nullable public java.lang.String getType()
@Nullable public java.lang.String getMimeType()
@Nullable public java.lang.String getName()
@Nullable public java.lang.Long getSize()
@Nullable public java.net.URL getThumbnail()
@Nullable public java.net.URL getUrl()