Class MicrosoftGraphQuota
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphQuota
quota.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: quota.deleted()Get the deleted property: Total space consumed by files in the recycle bin, in bytes.Get the remaining property: Total space remaining before reaching the quota limit, in bytes.state()Get the state property: Enumeration value that indicates the state of the storage space.Get the storagePlanInformation property: storagePlanInformation.total()Get the total property: Total allowed storage space, in bytes.used()Get the used property: Total space used, in bytes.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: quota.withDeleted(Long deleted) Set the deleted property: Total space consumed by files in the recycle bin, in bytes.withRemaining(Long remaining) Set the remaining property: Total space remaining before reaching the quota limit, in bytes.Set the state property: Enumeration value that indicates the state of the storage space.withStoragePlanInformation(MicrosoftGraphStoragePlanInformation storagePlanInformation) Set the storagePlanInformation property: storagePlanInformation.Set the total property: Total allowed storage space, in bytes.Set the used property: Total space used, in bytes.
-
Constructor Details
-
MicrosoftGraphQuota
public MicrosoftGraphQuota()Creates an instance of MicrosoftGraphQuota class.
-
-
Method Details
-
deleted
Get the deleted property: Total space consumed by files in the recycle bin, in bytes. Read-only.- Returns:
- the deleted value.
-
withDeleted
Set the deleted property: Total space consumed by files in the recycle bin, in bytes. Read-only.- Parameters:
deleted- the deleted value to set.- Returns:
- the MicrosoftGraphQuota object itself.
-
remaining
Get the remaining property: Total space remaining before reaching the quota limit, in bytes. Read-only.- Returns:
- the remaining value.
-
withRemaining
Set the remaining property: Total space remaining before reaching the quota limit, in bytes. Read-only.- Parameters:
remaining- the remaining value to set.- Returns:
- the MicrosoftGraphQuota object itself.
-
state
Get the state property: Enumeration value that indicates the state of the storage space. Read-only.- Returns:
- the state value.
-
withState
Set the state property: Enumeration value that indicates the state of the storage space. Read-only.- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphQuota object itself.
-
storagePlanInformation
Get the storagePlanInformation property: storagePlanInformation.- Returns:
- the storagePlanInformation value.
-
withStoragePlanInformation
public MicrosoftGraphQuota withStoragePlanInformation(MicrosoftGraphStoragePlanInformation storagePlanInformation) Set the storagePlanInformation property: storagePlanInformation.- Parameters:
storagePlanInformation- the storagePlanInformation value to set.- Returns:
- the MicrosoftGraphQuota object itself.
-
total
Get the total property: Total allowed storage space, in bytes. Read-only.- Returns:
- the total value.
-
withTotal
Set the total property: Total allowed storage space, in bytes. Read-only.- Parameters:
total- the total value to set.- Returns:
- the MicrosoftGraphQuota object itself.
-
used
Get the used property: Total space used, in bytes. Read-only.- Returns:
- the used value.
-
withUsed
Set the used property: Total space used, in bytes. Read-only.- Parameters:
used- the used value to set.- Returns:
- the MicrosoftGraphQuota object itself.
-
additionalProperties
Get the additionalProperties property: quota.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: quota.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphQuota object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-