Class AttachmentSession

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AttachmentSession
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class AttachmentSession extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Attachment Session.
  • Field Details

    • expirationDateTime

      @SerializedName(value="expirationDateTime", alternate="ExpirationDateTime") @Expose @Nullable public OffsetDateTime expirationDateTime
      The Expiration Date Time. The date and time in UTC when the upload session will expire. The complete file must be uploaded before this expiration time is reached.
    • nextExpectedRanges

      @SerializedName(value="nextExpectedRanges", alternate="NextExpectedRanges") @Expose @Nullable public List<String> nextExpectedRanges
      The Next Expected Ranges. Indicates a single value {start} that represents the location in the file where the next upload should begin.
  • Constructor Details

    • AttachmentSession

      public AttachmentSession()
  • 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