Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileStorageContainer
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the containerTypeId property value.Gets the createdDateTime property value.Gets the customProperties property value.Gets the description property value.Gets the displayName property value.getDrive()
Gets the drive property value.The deserialization information for the current modelGets the lockState property value.Gets the permissions property value.Gets the recycleBin property value.Gets the settings property value.Gets the status property value.Gets the viewpoint property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setContainerTypeId
(UUID value) Sets the containerTypeId property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
Sets the customProperties property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the drive property value.void
setLockState
(SiteLockState value) Sets the lockState property value.void
setPermissions
(List<Permission> value) Sets the permissions property value.void
setRecycleBin
(RecycleBin value) Sets the recycleBin property value.void
Sets the settings property value.void
Sets the status property value.void
Sets the viewpoint property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
FileStorageContainer
public FileStorageContainer()Instantiates a newFileStorageContainer
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
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
Gets the createdDateTime property value. Date and time of the fileStorageContainer creation. Read-only.- Returns:
- a
OffsetDateTime
-
getCustomProperties
Gets the customProperties property value. Custom property collection for the fileStorageContainer. Read-write.- Returns:
- a
FileStorageContainerCustomPropertyDictionary
-
getDescription
Gets the description property value. Provides a user-visible description of the fileStorageContainer. Read-write.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The display name of the fileStorageContainer. Read-write.- Returns:
- a
String
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
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
Gets the recycleBin property value. Recycle bin of the fileStorageContainer. Read-only.- Returns:
- a
RecycleBin
-
getSettings
Gets the settings property value. The settings property- Returns:
- a
FileStorageContainerSettings
-
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
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 -
setContainerTypeId
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
Sets the createdDateTime property value. Date and time of the fileStorageContainer creation. Read-only.- Parameters:
value
- Value to set for the createdDateTime property.
-
setCustomProperties
Sets the customProperties property value. Custom property collection for the fileStorageContainer. Read-write.- Parameters:
value
- Value to set for the customProperties property.
-
setDescription
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
Sets the displayName property value. The display name of the fileStorageContainer. Read-write.- Parameters:
value
- Value to set for the displayName property.
-
setDrive
Sets the drive property value. The drive of the resource fileStorageContainer. Read-only.- Parameters:
value
- Value to set for the drive property.
-
setLockState
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
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
Sets the recycleBin property value. Recycle bin of the fileStorageContainer. Read-only.- Parameters:
value
- Value to set for the recycleBin property.
-
setSettings
Sets the settings property value. The settings property- Parameters:
value
- Value to set for the settings property.
-
setStatus
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
Sets the viewpoint property value. Data specific to the current user. Read-only.- Parameters:
value
- Value to set for the viewpoint property.
-