public class UploadSession extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
UploadSession.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected OffsetDateTime |
expirationDateTime |
protected List<String> |
nextExpectedRanges |
protected String |
nextExpectedRangesNextLink |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
uploadUrl |
| Modifier | Constructor and Description |
|---|---|
protected |
UploadSession() |
| Modifier and Type | Method and Description |
|---|---|
static UploadSession.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<OffsetDateTime> |
getExpirationDateTime() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getNextExpectedRanges() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getNextExpectedRanges(com.github.davidmoten.odata.client.HttpRequestOptions options) |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUploadUrl() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
UploadSession |
withExpirationDateTime(OffsetDateTime expirationDateTime) |
UploadSession |
withUploadUrl(String uploadUrl) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String uploadUrl
protected OffsetDateTime expirationDateTime
protected String nextExpectedRangesNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic UploadSession withUploadUrl(String uploadUrl)
public Optional<OffsetDateTime> getExpirationDateTime()
public UploadSession withExpirationDateTime(OffsetDateTime expirationDateTime)
public com.github.davidmoten.odata.client.CollectionPage<String> getNextExpectedRanges()
public com.github.davidmoten.odata.client.CollectionPage<String> getNextExpectedRanges(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static UploadSession.Builder builder()
Copyright © 2018–2020. All rights reserved.