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.
  • Constructor Details

    • MobileAppContentFile

      public MobileAppContentFile()
      Instantiates a new MobileAppContentFile 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

      @Nullable public String 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

      @Nullable public OffsetDateTime 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

      @Nullable public 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsCommitted

      @Nullable public Boolean 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

      @Nullable public 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

      @Nullable public String getName()
      Gets the name property value. Indicates the name of the file.
      Returns:
      a String
    • getSize

      @Nullable public Long getSize()
      Gets the size property value. Indicates the original size of the file, in bytes.
      Returns:
      a Long
    • getSizeEncrypted

      @Nullable public Long getSizeEncrypted()
      Gets the sizeEncrypted property value. Indicates the size of the file after encryption, in bytes.
      Returns:
      a Long
    • getUploadState

      @Nullable public MobileAppContentFileUploadState 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAzureStorageUri

      public void setAzureStorageUri(@Nullable String value)
      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

      public void setAzureStorageUriExpirationDateTime(@Nullable OffsetDateTime value)
      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

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      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

      public void setIsCommitted(@Nullable Boolean value)
      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

      public void setIsDependency(@Nullable Boolean value)
      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

      public void setName(@Nullable String value)
      Sets the name property value. Indicates the name of the file.
      Parameters:
      value - Value to set for the name property.
    • setSize

      public void setSize(@Nullable Long value)
      Sets the size property value. Indicates the original size of the file, in bytes.
      Parameters:
      value - Value to set for the size property.
    • setSizeEncrypted

      public void setSizeEncrypted(@Nullable Long value)
      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

      public void setUploadState(@Nullable MobileAppContentFileUploadState value)
      Sets the uploadState property value. Contains properties for upload request states.
      Parameters:
      value - Value to set for the uploadState property.