Class GallerySoftDeletedResourceList

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

public final class GallerySoftDeletedResourceList extends Object implements com.azure.json.JsonSerializable<GallerySoftDeletedResourceList>
The List Soft-deleted Resources operation response.
  • Constructor Details

    • GallerySoftDeletedResourceList

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

    • value

      Get the value property: A list of soft-deleted resources.
      Returns:
      the value value.
    • withValue

      Set the value property: A list of soft-deleted resources.
      Parameters:
      value - the value value to set.
      Returns:
      the GallerySoftDeletedResourceList object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The uri to fetch the next page of soft-deleted resources. Call ListNext() with this to fetch the next page of soft-deleted resources.
      Returns:
      the nextLink value.
    • withNextLink

      public GallerySoftDeletedResourceList withNextLink(String nextLink)
      Set the nextLink property: The uri to fetch the next page of soft-deleted resources. Call ListNext() with this to fetch the next page of soft-deleted resources.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the GallerySoftDeletedResourceList 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<GallerySoftDeletedResourceList>
      Throws:
      IOException
    • fromJson

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