public class Attachment extends Entity implements IJsonBackedObject
Modifier and Type | Field and Description |
---|---|
java.lang.String |
contentType
The Content Type.
|
java.lang.Boolean |
isInline
The Is Inline.
|
java.util.Calendar |
lastModifiedDateTime
The Last Modified Date Time.
|
java.lang.String |
name
The Name.
|
java.lang.Integer |
size
The Size.
|
Constructor and Description |
---|
Attachment() |
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="contentType", alternate="ContentType") @Expose public java.lang.String contentType
@SerializedName(value="isInline", alternate="IsInline") @Expose public java.lang.Boolean isInline
@SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose public java.util.Calendar lastModifiedDateTime
@SerializedName(value="name", alternate="Name") @Expose public java.lang.String name
@SerializedName(value="size", alternate="Size") @Expose public java.lang.Integer size
public com.google.gson.JsonObject getRawObject()
getRawObject
in class Entity
protected ISerializer getSerializer()
getSerializer
in class Entity
public void setRawObject(ISerializer serializer, com.google.gson.JsonObject json)
setRawObject
in interface IJsonBackedObject
setRawObject
in class Entity
serializer
- the serializerjson
- the JSON object to set this object to