MicrosoftGraphQuota Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphQuota

public final class MicrosoftGraphQuota

quota.

Constructor Summary

Constructor Description
MicrosoftGraphQuota()

Creates an instance of MicrosoftGraphQuota class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: quota.

Long deleted()

Get the deleted property: Total space consumed by files in the recycle bin, in bytes.

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.

MicrosoftGraphStoragePlanInformation storagePlanInformation()

Get the storagePlanInformation property: storagePlanInformation.

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.

MicrosoftGraphQuota withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: quota.

MicrosoftGraphQuota withDeleted(Long deleted)

Set the deleted property: Total space consumed by files in the recycle bin, in bytes.

MicrosoftGraphQuota withRemaining(Long remaining)

Set the remaining property: Total space remaining before reaching the quota limit, in bytes.

MicrosoftGraphQuota withState(String state)

Set the state property: Enumeration value that indicates the state of the storage space.

MicrosoftGraphQuota withStoragePlanInformation(MicrosoftGraphStoragePlanInformation storagePlanInformation)

Set the storagePlanInformation property: storagePlanInformation.

MicrosoftGraphQuota withTotal(Long total)

Set the total property: Total allowed storage space, in bytes.

MicrosoftGraphQuota 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 additionalProperties()

Get the additionalProperties property: quota.

Returns:

the additionalProperties value.

deleted

public Long deleted()

Get the deleted property: Total space consumed by files in the recycle bin, in bytes. Read-only.

Returns:

the deleted value.

remaining

public Long remaining()

Get the remaining property: Total space remaining before reaching the quota limit, in bytes. Read-only.

Returns:

the remaining value.

state

public String state()

Get the state property: Enumeration value that indicates the state of the storage space. Read-only.

Returns:

the state value.

storagePlanInformation

public MicrosoftGraphStoragePlanInformation storagePlanInformation()

Get the storagePlanInformation property: storagePlanInformation.

Returns:

the storagePlanInformation value.

total

public Long total()

Get the total property: Total allowed storage space, in bytes. Read-only.

Returns:

the total value.

used

public Long used()

Get the used property: Total space used, in bytes. Read-only.

Returns:

the used value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphQuota withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: quota.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphQuota object itself.

withDeleted

public MicrosoftGraphQuota withDeleted(Long deleted)

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.

withRemaining

public MicrosoftGraphQuota withRemaining(Long remaining)

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.

withState

public MicrosoftGraphQuota withState(String state)

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.

withStoragePlanInformation

public MicrosoftGraphQuota withStoragePlanInformation(MicrosoftGraphStoragePlanInformation storagePlanInformation)

Set the storagePlanInformation property: storagePlanInformation.

Parameters:

storagePlanInformation - the storagePlanInformation value to set.

Returns:

the MicrosoftGraphQuota object itself.

withTotal

public MicrosoftGraphQuota withTotal(Long total)

Set the total property: Total allowed storage space, in bytes. Read-only.

Parameters:

total - the total value to set.

Returns:

the MicrosoftGraphQuota object itself.

withUsed

public MicrosoftGraphQuota withUsed(Long used)

Set the used property: Total space used, in bytes. Read-only.

Parameters:

used - the used value to set.

Returns:

the MicrosoftGraphQuota object itself.

Applies to