public class Attachment extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
contentType
The Content Type.
|
java.lang.Boolean |
isInline
The Is Inline.
|
java.time.OffsetDateTime |
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 |
|---|---|
void |
setRawObject(com.microsoft.graph.serializer.ISerializer serializer,
com.google.gson.JsonObject json)
Sets the raw JSON object
|
additionalDataManager@SerializedName(value="contentType",
alternate="ContentType")
@Expose
@Nullable
public java.lang.String contentType
@SerializedName(value="isInline",
alternate="IsInline")
@Expose
@Nullable
public java.lang.Boolean isInline
@SerializedName(value="lastModifiedDateTime",
alternate="LastModifiedDateTime")
@Expose
@Nullable
public java.time.OffsetDateTime lastModifiedDateTime
@SerializedName(value="name",
alternate="Name")
@Expose
@Nullable
public java.lang.String name
@SerializedName(value="size",
alternate="Size")
@Expose
@Nullable
public java.lang.Integer size
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 Entityserializer - the serializerjson - the JSON object to set this object to