Package com.microsoft.graph.models
Class MobileAppContentFile
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.MobileAppContentFile
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class MobileAppContentFile
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Contains properties for a single installer file that is associated with a given mobileAppContent version.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MobileAppContentFile
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the azureStorageUri property value.Gets the azureStorageUriExpirationDateTime property value.Gets the createdDateTime property value.The deserialization information for the current modelGets the isCommitted property value.Gets the isDependency property value.byte[]
Gets the manifest property value.getName()
Gets the name property value.getSize()
Gets the size property value.Gets the sizeEncrypted property value.Gets the uploadState property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAzureStorageUri
(String value) Sets the azureStorageUri property value.void
Sets the azureStorageUriExpirationDateTime property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setIsCommitted
(Boolean value) Sets the isCommitted property value.void
setIsDependency
(Boolean value) Sets the isDependency property value.void
setManifest
(byte[] value) Sets the manifest property value.void
Sets the name property value.void
Sets the size property value.void
setSizeEncrypted
(Long value) Sets the sizeEncrypted property value.void
Sets the uploadState property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
MobileAppContentFile
public MobileAppContentFile()Instantiates a newMobileAppContentFile
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static MobileAppContentFile createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
MobileAppContentFile
-
getAzureStorageUri
Gets the azureStorageUri property value. The Azure Storage URI.- Returns:
- a
String
-
getAzureStorageUriExpirationDateTime
Gets the azureStorageUriExpirationDateTime property value. The time the Azure storage Uri expires.- Returns:
- a
OffsetDateTime
-
getCreatedDateTime
Gets the createdDateTime property value. The time the file was created.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsCommitted
Gets the isCommitted property value. A value indicating whether the file is committed.- Returns:
- a
Boolean
-
getIsDependency
Gets the isDependency property value. Indicates whether this content file is a dependency for the main content file. TRUE means that the content file is a dependency, FALSE means that the content file is not a dependency and is the main content file. Defaults to FALSE.- Returns:
- a
Boolean
-
getManifest
@Nullable public byte[] getManifest()Gets the manifest property value. The manifest information.- Returns:
- a
invalid reference
byte[]
-
getName
Gets the name property value. the file name.- Returns:
- a
String
-
getSize
Gets the size property value. The size of the file prior to encryption.- Returns:
- a
Long
-
getSizeEncrypted
Gets the sizeEncrypted property value. The size of the file after encryption.- Returns:
- a
Long
-
getUploadState
Gets the uploadState property value. Contains properties for upload request states.- Returns:
- a
MobileAppContentFileUploadState
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAzureStorageUri
Sets the azureStorageUri property value. The Azure Storage URI.- Parameters:
value
- Value to set for the azureStorageUri property.
-
setAzureStorageUriExpirationDateTime
Sets the azureStorageUriExpirationDateTime property value. The time the Azure storage Uri expires.- Parameters:
value
- Value to set for the azureStorageUriExpirationDateTime property.
-
setCreatedDateTime
Sets the createdDateTime property value. The time the file was created.- Parameters:
value
- Value to set for the createdDateTime property.
-
setIsCommitted
Sets the isCommitted property value. A value indicating whether the file is committed.- Parameters:
value
- Value to set for the isCommitted property.
-
setIsDependency
Sets the isDependency property value. Indicates whether this content file is a dependency for the main content file. TRUE means that the content file is a dependency, FALSE means that the content file is not a dependency and is the main content file. Defaults to FALSE.- Parameters:
value
- Value to set for the isDependency property.
-
setManifest
public void setManifest(@Nullable byte[] value) Sets the manifest property value. The manifest information.- Parameters:
value
- Value to set for the manifest property.
-
setName
Sets the name property value. the file name.- Parameters:
value
- Value to set for the name property.
-
setSize
Sets the size property value. The size of the file prior to encryption.- Parameters:
value
- Value to set for the size property.
-
setSizeEncrypted
Sets the sizeEncrypted property value. The size of the file after encryption.- Parameters:
value
- Value to set for the sizeEncrypted property.
-
setUploadState
Sets the uploadState property value. Contains properties for upload request states.- Parameters:
value
- Value to set for the uploadState property.
-