Package com.microsoft.graph.models
Class AttachmentBase
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AttachmentBase
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
- Direct Known Subclasses:
TaskFileAttachment
public class AttachmentBase
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Attachment Base.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Content Type.The Last Modified Date Time.The Name.The Size. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
contentType
@SerializedName(value="contentType", alternate="ContentType") @Expose @Nullable public String contentTypeThe Content Type. -
lastModifiedDateTime
@SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose @Nullable public OffsetDateTime lastModifiedDateTimeThe Last Modified Date Time. -
name
The Name. -
size
The Size.
-
-
Constructor Details
-
AttachmentBase
public AttachmentBase()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-