public class UploadSession
extends java.lang.Object
implements com.microsoft.graph.serializer.IJsonBackedObject, com.microsoft.graph.tasks.IUploadSession
Modifier and Type | Field and Description |
---|---|
java.time.OffsetDateTime |
expirationDateTime
The Expiration Date Time.
|
java.util.List<java.lang.String> |
nextExpectedRanges
The Next Expected Ranges.
|
java.lang.String |
oDataType
the OData type of the object as returned by the service
|
java.lang.String |
uploadUrl
The Upload Url.
|
Constructor and Description |
---|
UploadSession() |
Modifier and Type | Method and Description |
---|---|
com.microsoft.graph.serializer.AdditionalDataManager |
additionalDataManager() |
java.util.List<java.lang.String> |
getNextExpectedRanges()
Gets the Next Expected Ranges.
|
java.lang.String |
getUploadUrl()
Gets the Upload Url.
|
void |
setRawObject(com.microsoft.graph.serializer.ISerializer serializer,
com.google.gson.JsonObject json)
Sets the raw JSON object
|
@SerializedName(value="@odata.type") @Expose @Nullable public java.lang.String oDataType
@SerializedName(value="expirationDateTime", alternate="ExpirationDateTime") @Expose @Nullable public java.time.OffsetDateTime expirationDateTime
@SerializedName(value="nextExpectedRanges", alternate="NextExpectedRanges") @Expose @Nullable public java.util.List<java.lang.String> nextExpectedRanges
@SerializedName(value="uploadUrl", alternate="UploadUrl") @Expose @Nullable public java.lang.String uploadUrl
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
additionalDataManager
in interface com.microsoft.graph.serializer.IJsonBackedObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
setRawObject
in interface com.microsoft.graph.serializer.IJsonBackedObject
serializer
- the serializerjson
- the JSON object to set this object to@Nullable public java.lang.String getUploadUrl()
getUploadUrl
in interface com.microsoft.graph.tasks.IUploadSession
@Nullable public java.util.List<java.lang.String> getNextExpectedRanges()
getNextExpectedRanges
in interface com.microsoft.graph.tasks.IUploadSession