public class FileAttachment extends Attachment implements com.microsoft.graph.serializer.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 |
|---|---|
void |
setRawObject(com.microsoft.graph.serializer.ISerializer serializer,
com.google.gson.JsonObject json)
Sets the raw JSON object
|
additionalDataManager@SerializedName(value="contentBytes",
alternate="ContentBytes")
@Expose
@Nullable
public byte[] contentBytes
@SerializedName(value="contentId",
alternate="ContentId")
@Expose
@Nullable
public java.lang.String contentId
@SerializedName(value="contentLocation",
alternate="ContentLocation")
@Expose
@Nullable
public java.lang.String contentLocation
public void setRawObject(@Nonnull
com.microsoft.graph.serializer.ISerializer serializer,
@Nonnull
com.google.gson.JsonObject json)
setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObjectsetRawObject in class Attachmentserializer - the serializerjson - the JSON object to set this object to