Class QuotaUsageList

java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.QuotaUsageList
All Implemented Interfaces:
com.azure.json.JsonSerializable<QuotaUsageList>

public final class QuotaUsageList extends Object implements com.azure.json.JsonSerializable<QuotaUsageList>
Capability for the PostgreSQL server.
  • Constructor Details

    • QuotaUsageList

      public QuotaUsageList()
      Creates an instance of QuotaUsageList class.
  • Method Details

    • value

      public List<QuotaUsageInner> value()
      Get the value property: A list of quota usages.
      Returns:
      the value value.
    • nextLink

      public String nextLink()
      Get the nextLink property: Link to retrieve next page of results.
      Returns:
      the nextLink value.
    • withNextLink

      public QuotaUsageList withNextLink(String nextLink)
      Set the nextLink property: Link to retrieve next page of results.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the QuotaUsageList object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<QuotaUsageList>
      Throws:
      IOException
    • fromJson

      public static QuotaUsageList fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of QuotaUsageList from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of QuotaUsageList if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the QuotaUsageList.