MicrosoftGraphQuota Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphQuota
- com.
Implements
public final class MicrosoftGraphQuota
implements JsonSerializable<MicrosoftGraphQuota>
Represents a quota.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphQuota() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
| Long |
deleted()
Get the deleted property: Total space consumed by files in the recycle bin, in bytes. |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
| Long |
remaining()
Get the remaining property: Total space remaining before reaching the quota limit, in bytes. |
| String |
state()
Get the state property: Enumeration value that indicates the state of the storage space. |
|
Microsoft |
storagePlanInformation()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| Long |
total()
Get the total property: Total allowed storage space, in bytes. |
| Long |
used()
Get the used property: Total space used, in bytes. |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withDeleted(Long deleted)
Set the deleted property: Total space consumed by files in the recycle bin, in bytes. |
|
Microsoft |
withRemaining(Long remaining)
Set the remaining property: Total space remaining before reaching the quota limit, in bytes. |
|
Microsoft |
withState(String state)
Set the state property: Enumeration value that indicates the state of the storage space. |
|
Microsoft |
withStoragePlanInformation(MicrosoftGraphStoragePlanInformation storagePlanInformation)
Set the storage |
|
Microsoft |
withTotal(Long total)
Set the total property: Total allowed storage space, in bytes. |
|
Microsoft |
withUsed(Long used)
Set the used property: Total space used, in bytes. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphQuota
public MicrosoftGraphQuota()
Creates an instance of MicrosoftGraphQuota class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: quota.
Returns:
deleted
public Long deleted()
Get the deleted property: Total space consumed by files in the recycle bin, in bytes. Read-only.
Returns:
fromJson
public static MicrosoftGraphQuota fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphQuota from the JsonReader.
Parameters:
Returns:
Throws:
remaining
public Long remaining()
Get the remaining property: Total space remaining before reaching the quota limit, in bytes. Read-only.
Returns:
state
public String state()
Get the state property: Enumeration value that indicates the state of the storage space. Read-only.
Returns:
storagePlanInformation
public MicrosoftGraphStoragePlanInformation storagePlanInformation()
Get the storagePlanInformation property: storagePlanInformation.
Returns:
toJson
total
public Long total()
Get the total property: Total allowed storage space, in bytes. Read-only.
Returns:
used
public Long used()
Get the used property: Total space used, in bytes. Read-only.
Returns:
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphQuota withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: quota.
Parameters:
Returns:
withDeleted
public MicrosoftGraphQuota withDeleted(Long deleted)
Set the deleted property: Total space consumed by files in the recycle bin, in bytes. Read-only.
Parameters:
Returns:
withRemaining
public MicrosoftGraphQuota withRemaining(Long remaining)
Set the remaining property: Total space remaining before reaching the quota limit, in bytes. Read-only.
Parameters:
Returns:
withState
public MicrosoftGraphQuota withState(String state)
Set the state property: Enumeration value that indicates the state of the storage space. Read-only.
Parameters:
Returns:
withStoragePlanInformation
public MicrosoftGraphQuota withStoragePlanInformation(MicrosoftGraphStoragePlanInformation storagePlanInformation)
Set the storagePlanInformation property: storagePlanInformation.
Parameters:
Returns:
withTotal
public MicrosoftGraphQuota withTotal(Long total)
Set the total property: Total allowed storage space, in bytes. Read-only.
Parameters:
Returns:
withUsed
public MicrosoftGraphQuota withUsed(Long used)
Set the used property: Total space used, in bytes. Read-only.
Parameters:
Returns: