Class GalleryScriptVersionList

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

public final class GalleryScriptVersionList extends Object implements com.azure.json.JsonSerializable<GalleryScriptVersionList>
Paged collection of GalleryScriptVersion items.
  • Constructor Details

    • GalleryScriptVersionList

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

    • value

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

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

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

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

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