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 Details

    • contentType

      @SerializedName(value="contentType", alternate="ContentType") @Expose @Nullable public String contentType
      The Content Type.
    • lastModifiedDateTime

      @SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose @Nullable public OffsetDateTime lastModifiedDateTime
      The Last Modified Date Time.
    • name

      @SerializedName(value="name", alternate="Name") @Expose @Nullable public String name
      The Name.
    • size

      @SerializedName(value="size", alternate="Size") @Expose @Nullable public Integer 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to