public class FileAttachment extends Attachment implements IJsonBackedObject
| Modifier and Type | Field and Description |
|---|---|
byte[] |
contentBytes
The Content Bytes.
|
java.lang.String |
contentId
The Content Id.
|
java.lang.String |
contentLocation
The Content Location.
|
contentType, isInline, lastModifiedDateTime, name, size| Constructor and Description |
|---|
FileAttachment() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
getRawObject()
Gets the raw representation of this class
|
protected ISerializer |
getSerializer()
Gets serializer
|
void |
setRawObject(ISerializer serializer,
com.google.gson.JsonObject json)
Sets the raw JSON object
|
additionalDataManagerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadditionalDataManager@SerializedName(value="contentId") @Expose public java.lang.String contentId
@SerializedName(value="contentLocation") @Expose public java.lang.String contentLocation
@SerializedName(value="contentBytes") @Expose public byte[] contentBytes
public com.google.gson.JsonObject getRawObject()
getRawObject in class Attachmentprotected ISerializer getSerializer()
getSerializer in class Attachmentpublic void setRawObject(ISerializer serializer, com.google.gson.JsonObject json)
setRawObject in interface IJsonBackedObjectsetRawObject in class Attachmentserializer - the serializerjson - the JSON object to set this object to