Class MicrosoftGraphQuota


  • public final class MicrosoftGraphQuota
    extends Object
    quota.
    • Constructor Detail

      • MicrosoftGraphQuota

        public MicrosoftGraphQuota()
    • Method Detail

      • 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.
      • 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.
      • remaining

        public Long remaining()
        Get the remaining property: Total space remaining before reaching the quota limit, in bytes. Read-only.
        Returns:
        the remaining value.
      • 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.
      • state

        public String state()
        Get the state property: Enumeration value that indicates the state of the storage space. Read-only.
        Returns:
        the state value.
      • 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.
      • storagePlanInformation

        public MicrosoftGraphStoragePlanInformation 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

        public Long total()
        Get the total property: Total allowed storage space, in bytes. Read-only.
        Returns:
        the total value.
      • 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.
      • used

        public Long used()
        Get the used property: Total space used, in bytes. Read-only.
        Returns:
        the used value.
      • 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.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: quota.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphQuota withAdditionalProperties​(Map<String,​Object> additionalProperties)
        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.