public class MobileAppContentFile extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
MobileAppContentFile.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
azureStorageUri |
protected OffsetDateTime |
azureStorageUriExpirationDateTime |
protected OffsetDateTime |
createdDateTime |
protected Boolean |
isCommitted |
protected Boolean |
isDependency |
protected Boolean |
isFrameworkFile |
protected byte[] |
manifest |
protected String |
name |
protected Long |
size |
protected Long |
sizeEncrypted |
protected MobileAppContentFileUploadState |
uploadState |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
MobileAppContentFile() |
| Modifier and Type | Method and Description |
|---|---|
static MobileAppContentFile.Builder |
builderMobileAppContentFile()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.ActionRequestNoReturn |
commit(FileEncryptionInfo fileEncryptionInfo) |
Optional<String> |
getAzureStorageUri()
“The Azure Storage URI.”
|
Optional<OffsetDateTime> |
getAzureStorageUriExpirationDateTime()
“The time the Azure storage Uri expires.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“The time the file was created.”
|
Optional<Boolean> |
getIsCommitted()
“A value indicating whether the file is committed.”
|
Optional<Boolean> |
getIsDependency()
“Whether the content file is a dependency for the main content file.”
|
Optional<Boolean> |
getIsFrameworkFile()
“A value indicating whether the file is a framework file.”
|
Optional<byte[]> |
getManifest()
“The manifest information.”
|
Optional<String> |
getName()
“the file name.”
|
Optional<Long> |
getSize()
“The size of the file prior to encryption.”
|
Optional<Long> |
getSizeEncrypted()
“The size of the file after encryption.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<MobileAppContentFileUploadState> |
getUploadState()
“The state of the current upload request.”
|
String |
odataTypeName() |
MobileAppContentFile |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
MobileAppContentFile |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
renewUpload() |
String |
toString() |
MobileAppContentFile |
withAzureStorageUri(String azureStorageUri)
Returns an immutable copy of
this with just the azureStorageUri
field changed. |
MobileAppContentFile |
withAzureStorageUriExpirationDateTime(OffsetDateTime azureStorageUriExpirationDateTime)
Returns an immutable copy of
this with just the azureStorageUriExpirationDateTime field changed. |
MobileAppContentFile |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
MobileAppContentFile |
withIsCommitted(Boolean isCommitted)
Returns an immutable copy of
this with just the isCommitted
field changed. |
MobileAppContentFile |
withIsDependency(Boolean isDependency)
Returns an immutable copy of
this with just the isDependency
field changed. |
MobileAppContentFile |
withIsFrameworkFile(Boolean isFrameworkFile)
Returns an immutable copy of
this with just the isFrameworkFile
field changed. |
MobileAppContentFile |
withManifest(byte[] manifest)
Returns an immutable copy of
this with just the manifest field
changed. |
MobileAppContentFile |
withName(String name)
Returns an immutable copy of
this with just the name field
changed. |
MobileAppContentFile |
withSize(Long size)
Returns an immutable copy of
this with just the size field
changed. |
MobileAppContentFile |
withSizeEncrypted(Long sizeEncrypted)
Returns an immutable copy of
this with just the sizeEncrypted
field changed. |
MobileAppContentFile |
withUploadState(MobileAppContentFileUploadState uploadState)
Returns an immutable copy of
this with just the uploadState
field changed. |
protected String azureStorageUri
protected Boolean isCommitted
protected OffsetDateTime createdDateTime
protected String name
protected Long size
protected Long sizeEncrypted
protected OffsetDateTime azureStorageUriExpirationDateTime
protected byte[] manifest
protected MobileAppContentFileUploadState uploadState
protected Boolean isFrameworkFile
protected Boolean isDependency
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static MobileAppContentFile.Builder builderMobileAppContentFile()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getAzureStorageUri()
public MobileAppContentFile withAzureStorageUri(String azureStorageUri)
this with just the azureStorageUri
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The Azure Storage URI.”
azureStorageUri - new value of azureStorageUri field (as defined in service metadata)this with just the azureStorageUri field changedpublic Optional<Boolean> getIsCommitted()
public MobileAppContentFile withIsCommitted(Boolean isCommitted)
this with just the isCommitted
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“A value indicating whether the file is committed.”
isCommitted - new value of isCommitted field (as defined in service metadata)this with just the isCommitted field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
public MobileAppContentFile withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The time the file was created.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic MobileAppContentFile withName(String name)
this with just the name field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“the file name.”
name - new value of name field (as defined in service metadata)this with just the name field changedpublic Optional<Long> getSize()
public MobileAppContentFile withSize(Long size)
this with just the size field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The size of the file prior to encryption.”
size - new value of size field (as defined in service metadata)this with just the size field changedpublic Optional<Long> getSizeEncrypted()
public MobileAppContentFile withSizeEncrypted(Long sizeEncrypted)
this with just the sizeEncrypted
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The size of the file after encryption.”
sizeEncrypted - new value of sizeEncrypted field (as defined in service metadata)this with just the sizeEncrypted field changedpublic Optional<OffsetDateTime> getAzureStorageUriExpirationDateTime()
public MobileAppContentFile withAzureStorageUriExpirationDateTime(OffsetDateTime azureStorageUriExpirationDateTime)
this with just the azureStorageUriExpirationDateTime field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.patch() is called (if available)on the returned
object only the changed fields are submitted.
“The time the Azure storage Uri expires.”
azureStorageUriExpirationDateTime - new value of azureStorageUriExpirationDateTime field (as defined in service metadata)this with just the azureStorageUriExpirationDateTime field changedpublic Optional<byte[]> getManifest()
public MobileAppContentFile withManifest(byte[] manifest)
this with just the manifest field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The manifest information.”
manifest - new value of manifest field (as defined in service metadata)this with just the manifest field changedpublic Optional<MobileAppContentFileUploadState> getUploadState()
public MobileAppContentFile withUploadState(MobileAppContentFileUploadState uploadState)
this with just the uploadState
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The state of the current upload request.”
uploadState - new value of uploadState field (as defined in service metadata)this with just the uploadState field changedpublic Optional<Boolean> getIsFrameworkFile()
public MobileAppContentFile withIsFrameworkFile(Boolean isFrameworkFile)
this with just the isFrameworkFile
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“A value indicating whether the file is a framework file.”
isFrameworkFile - new value of isFrameworkFile field (as defined in service metadata)this with just the isFrameworkFile field changedpublic Optional<Boolean> getIsDependency()
public MobileAppContentFile withIsDependency(Boolean isDependency)
this with just the isDependency
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Whether the content file is a dependency for the main content file.”
isDependency - new value of isDependency field (as defined in service metadata)this with just the isDependency field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic MobileAppContentFile patch()
this with changed fields reset.public MobileAppContentFile put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn commit(FileEncryptionInfo fileEncryptionInfo)
public com.github.davidmoten.odata.client.ActionRequestNoReturn renewUpload()
Copyright © 2018–2020. All rights reserved.