Class RegistryUsageListResultInner

java.lang.Object
com.azure.resourcemanager.containerregistry.fluent.models.RegistryUsageListResultInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<RegistryUsageListResultInner>

public final class RegistryUsageListResultInner extends Object implements com.azure.json.JsonSerializable<RegistryUsageListResultInner>
The result of a request to get container registry quota usages.
  • Constructor Details

    • RegistryUsageListResultInner

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

    • value

      public List<RegistryUsage> value()
      Get the value property: The list of container registry quota usages.
      Returns:
      the value value.
    • withValue

      public RegistryUsageListResultInner withValue(List<RegistryUsage> value)
      Set the value property: The list of container registry quota usages.
      Parameters:
      value - the value value to set.
      Returns:
      the RegistryUsageListResultInner 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<RegistryUsageListResultInner>
      Throws:
      IOException
    • fromJson

      public static RegistryUsageListResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of RegistryUsageListResultInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of RegistryUsageListResultInner 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 RegistryUsageListResultInner.