Class Quota

java.lang.Object
com.microsoft.graph.models.Quota
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Quota extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Quota.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • deleted

      @SerializedName(value="deleted", alternate="Deleted") @Expose @Nullable public Long deleted
      The Deleted. Total space consumed by files in the recycle bin, in bytes. Read-only.
    • remaining

      @SerializedName(value="remaining", alternate="Remaining") @Expose @Nullable public Long remaining
      The Remaining. Total space remaining before reaching the quota limit, in bytes. Read-only.
    • state

      @SerializedName(value="state", alternate="State") @Expose @Nullable public String state
      The State. Enumeration value that indicates the state of the storage space. Read-only.
    • storagePlanInformation

      @SerializedName(value="storagePlanInformation", alternate="StoragePlanInformation") @Expose @Nullable public StoragePlanInformation storagePlanInformation
      The Storage Plan Information. Information about the drive's storage quota plans. Only in Personal OneDrive.
    • total

      @SerializedName(value="total", alternate="Total") @Expose @Nullable public Long total
      The Total. Total allowed storage space, in bytes. Read-only.
    • used

      @SerializedName(value="used", alternate="Used") @Expose @Nullable public Long used
      The Used. Total space used, in bytes. Read-only.
  • Constructor Details

    • Quota

      public Quota()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to