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 MobileAppContentFilecreateFromDiscriminatorValue(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.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAzureStorageUri(String value) Sets the azureStorageUri property value.voidSets the azureStorageUriExpirationDateTime property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidsetIsCommitted(Boolean value) Sets the isCommitted property value.voidsetIsDependency(Boolean value) Sets the isDependency property value.voidsetManifest(byte[] value) Sets the manifest property value.voidSets the name property value.voidSets the size property value.voidsetSizeEncrypted(Long value) Sets the sizeEncrypted property value.voidSets 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 newMobileAppContentFileand 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. Indicates the Azure Storage URI that the file is uploaded to. Created by the service upon receiving a valid mobileAppContentFile. Read-only. This property is read-only.- Returns:
- a
String
-
getAzureStorageUriExpirationDateTime
Gets the azureStorageUriExpirationDateTime property value. Indicates the date and time when the Azure storage URI expires, in ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. This property is read-only.- Returns:
- a
OffsetDateTime
-
getCreatedDateTime
Gets the createdDateTime property value. Indicates created date and time associated with app content file, in ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. This property is read-only.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin 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. A committed app content file has been fully uploaded and validated by the Intune service. TRUE means that app content file is committed, FALSE means that app content file is not committed. Defaults to FALSE. Read-only. This property is read-only.- 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. Indicates the manifest information, containing file metadata.- Returns:
- a
invalid reference
byte[]
-
getName
Gets the name property value. Indicates the name of the file.- Returns:
- a
String
-
getSize
Gets the size property value. Indicates the original size of the file, in bytes.- Returns:
- a
Long
-
getSizeEncrypted
Gets the sizeEncrypted property value. Indicates the size of the file after encryption, in bytes.- 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. Indicates the Azure Storage URI that the file is uploaded to. Created by the service upon receiving a valid mobileAppContentFile. Read-only. This property is read-only.- Parameters:
value- Value to set for the azureStorageUri property.
-
setAzureStorageUriExpirationDateTime
Sets the azureStorageUriExpirationDateTime property value. Indicates the date and time when the Azure storage URI expires, in ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. This property is read-only.- Parameters:
value- Value to set for the azureStorageUriExpirationDateTime property.
-
setCreatedDateTime
Sets the createdDateTime property value. Indicates created date and time associated with app content file, in ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. This property is read-only.- Parameters:
value- Value to set for the createdDateTime property.
-
setIsCommitted
Sets the isCommitted property value. A value indicating whether the file is committed. A committed app content file has been fully uploaded and validated by the Intune service. TRUE means that app content file is committed, FALSE means that app content file is not committed. Defaults to FALSE. Read-only. This property is read-only.- 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. Indicates the manifest information, containing file metadata.- Parameters:
value- Value to set for the manifest property.
-
setName
Sets the name property value. Indicates the name of the file.- Parameters:
value- Value to set for the name property.
-
setSize
Sets the size property value. Indicates the original size of the file, in bytes.- Parameters:
value- Value to set for the size property.
-
setSizeEncrypted
Sets the sizeEncrypted property value. Indicates the size of the file after encryption, in bytes.- 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.
-