Class SharedGalleryImageVersionList

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

public final class SharedGalleryImageVersionList extends Object implements com.azure.json.JsonSerializable<SharedGalleryImageVersionList>
The List Shared Gallery Image versions operation response.
  • Constructor Details

    • SharedGalleryImageVersionList

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

    • value

      Get the value property: The SharedGalleryImageVersion items on this page.
      Returns:
      the value value.
    • withValue

      Set the value property: The SharedGalleryImageVersion items on this page.
      Parameters:
      value - the value value to set.
      Returns:
      the SharedGalleryImageVersionList object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The link to the next page of items.
      Returns:
      the nextLink value.
    • withNextLink

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

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