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. The Azure Storage URI.
      Returns:
      a String
    • getAzureStorageUriExpirationDateTime

      @Nullable public OffsetDateTime getAzureStorageUriExpirationDateTime()
      Gets the azureStorageUriExpirationDateTime property value. The time the Azure storage Uri expires.
      Returns:
      a OffsetDateTime
    • getCreatedDateTime

      @Nullable public 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 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.
      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. The manifest information.
      Returns:
      a
      invalid reference
      byte[]
    • getName

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

      @Nullable public Long getSize()
      Gets the size property value. The size of the file prior to encryption.
      Returns:
      a Long
    • getSizeEncrypted

      @Nullable public Long getSizeEncrypted()
      Gets the sizeEncrypted property value. The size of the file after encryption.
      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. The Azure Storage URI.
      Parameters:
      value - Value to set for the azureStorageUri property.
    • setAzureStorageUriExpirationDateTime

      public void setAzureStorageUriExpirationDateTime(@Nullable OffsetDateTime value)
      Sets the azureStorageUriExpirationDateTime property value. The time the Azure storage Uri expires.
      Parameters:
      value - Value to set for the azureStorageUriExpirationDateTime property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The time the file was created.
      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.
      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. The manifest information.
      Parameters:
      value - Value to set for the manifest property.
    • setName

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

      public void setSize(@Nullable Long value)
      Sets the size property value. The size of the file prior to encryption.
      Parameters:
      value - Value to set for the size property.
    • setSizeEncrypted

      public void setSizeEncrypted(@Nullable Long value)
      Sets the sizeEncrypted property value. The size of the file after encryption.
      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.