Class CachedImagesListResult

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

public final class CachedImagesListResult extends Object implements com.azure.json.JsonSerializable<CachedImagesListResult>
The response containing cached images.
  • Constructor Details

    • CachedImagesListResult

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

    • value

      public List<CachedImages> value()
      Get the value property: The list of cached images.
      Returns:
      the value value.
    • withValue

      public CachedImagesListResult withValue(List<CachedImages> value)
      Set the value property: The list of cached images.
      Parameters:
      value - the value value to set.
      Returns:
      the CachedImagesListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The URI to fetch the next page of cached images.
      Returns:
      the nextLink value.
    • withNextLink

      public CachedImagesListResult withNextLink(String nextLink)
      Set the nextLink property: The URI to fetch the next page of cached images.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the CachedImagesListResult 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<CachedImagesListResult>
      Throws:
      IOException
    • fromJson

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