Class AppliedReservationList

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

public final class AppliedReservationList extends Object implements com.azure.json.JsonSerializable<AppliedReservationList>
Paginated list of applied reservations.
  • Constructor Details

    • AppliedReservationList

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

    • value

      public List<String> value()
      Get the value property: The value property.
      Returns:
      the value value.
    • withValue

      public AppliedReservationList withValue(List<String> value)
      Set the value property: The value property.
      Parameters:
      value - the value value to set.
      Returns:
      the AppliedReservationList object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: Url to get the next page of reservations.
      Returns:
      the nextLink value.
    • withNextLink

      public AppliedReservationList withNextLink(String nextLink)
      Set the nextLink property: Url to get the next page of reservations.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the AppliedReservationList 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<AppliedReservationList>
      Throws:
      IOException
    • fromJson

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