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
|
additionalDataManager
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
additionalDataManager
@SerializedName(value="contentBytes", alternate="ContentBytes") @Expose public byte[] contentBytes
@SerializedName(value="contentId", alternate="ContentId") @Expose public java.lang.String contentId
@SerializedName(value="contentLocation", alternate="ContentLocation") @Expose public java.lang.String contentLocation
public com.google.gson.JsonObject getRawObject()
getRawObject
in class Attachment
protected ISerializer getSerializer()
getSerializer
in class Attachment
public void setRawObject(ISerializer serializer, com.google.gson.JsonObject json)
setRawObject
in interface IJsonBackedObject
setRawObject
in class Attachment
serializer
- the serializerjson
- the JSON object to set this object to