Class FileStorageContainer

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.FileStorageContainer
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class FileStorageContainer extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • FileStorageContainer

      public FileStorageContainer()
      Instantiates a new FileStorageContainer and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static FileStorageContainer 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 FileStorageContainer
    • getContainerTypeId

      @Nullable public UUID getContainerTypeId()
      Gets the containerTypeId property value. Container type ID of the fileStorageContainer. For details about container types, see Container Types. Each container must have only one container type. Read-only.
      Returns:
      a UUID
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. Date and time of the fileStorageContainer creation. Read-only.
      Returns:
      a OffsetDateTime
    • getCustomProperties

      @Nullable public FileStorageContainerCustomPropertyDictionary getCustomProperties()
      Gets the customProperties property value. Custom property collection for the fileStorageContainer. Read-write.
      Returns:
      a FileStorageContainerCustomPropertyDictionary
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. Provides a user-visible description of the fileStorageContainer. Read-write.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name of the fileStorageContainer. Read-write.
      Returns:
      a String
    • getDrive

      @Nullable public Drive getDrive()
      Gets the drive property value. The drive of the resource fileStorageContainer. Read-only.
      Returns:
      a Drive
    • 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>>
    • getLockState

      @Nullable public SiteLockState getLockState()
      Gets the lockState property value. Indicates the lock state of the fileStorageContainer. The possible values are unlocked and lockedReadOnly. Read-only.
      Returns:
      a SiteLockState
    • getPermissions

      @Nullable public List<Permission> getPermissions()
      Gets the permissions property value. The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write.
      Returns:
      a List<Permission>
    • getRecycleBin

      @Nullable public RecycleBin getRecycleBin()
      Gets the recycleBin property value. Recycle bin of the fileStorageContainer. Read-only.
      Returns:
      a RecycleBin
    • getSettings

      @Nullable public FileStorageContainerSettings getSettings()
      Gets the settings property value. The settings property
      Returns:
      a FileStorageContainerSettings
    • getStatus

      @Nullable public FileStorageContainerStatus getStatus()
      Gets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only.
      Returns:
      a FileStorageContainerStatus
    • getViewpoint

      @Nullable public FileStorageContainerViewpoint getViewpoint()
      Gets the viewpoint property value. Data specific to the current user. Read-only.
      Returns:
      a FileStorageContainerViewpoint
    • 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
    • setContainerTypeId

      public void setContainerTypeId(@Nullable UUID value)
      Sets the containerTypeId property value. Container type ID of the fileStorageContainer. For details about container types, see Container Types. Each container must have only one container type. Read-only.
      Parameters:
      value - Value to set for the containerTypeId property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. Date and time of the fileStorageContainer creation. Read-only.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setCustomProperties

      public void setCustomProperties(@Nullable FileStorageContainerCustomPropertyDictionary value)
      Sets the customProperties property value. Custom property collection for the fileStorageContainer. Read-write.
      Parameters:
      value - Value to set for the customProperties property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. Provides a user-visible description of the fileStorageContainer. Read-write.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name of the fileStorageContainer. Read-write.
      Parameters:
      value - Value to set for the displayName property.
    • setDrive

      public void setDrive(@Nullable Drive value)
      Sets the drive property value. The drive of the resource fileStorageContainer. Read-only.
      Parameters:
      value - Value to set for the drive property.
    • setLockState

      public void setLockState(@Nullable SiteLockState value)
      Sets the lockState property value. Indicates the lock state of the fileStorageContainer. The possible values are unlocked and lockedReadOnly. Read-only.
      Parameters:
      value - Value to set for the lockState property.
    • setPermissions

      public void setPermissions(@Nullable List<Permission> value)
      Sets the permissions property value. The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write.
      Parameters:
      value - Value to set for the permissions property.
    • setRecycleBin

      public void setRecycleBin(@Nullable RecycleBin value)
      Sets the recycleBin property value. Recycle bin of the fileStorageContainer. Read-only.
      Parameters:
      value - Value to set for the recycleBin property.
    • setSettings

      public void setSettings(@Nullable FileStorageContainerSettings value)
      Sets the settings property value. The settings property
      Parameters:
      value - Value to set for the settings property.
    • setStatus

      public void setStatus(@Nullable FileStorageContainerStatus value)
      Sets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only.
      Parameters:
      value - Value to set for the status property.
    • setViewpoint

      public void setViewpoint(@Nullable FileStorageContainerViewpoint value)
      Sets the viewpoint property value. Data specific to the current user. Read-only.
      Parameters:
      value - Value to set for the viewpoint property.