Class ScheduleList

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

public final class ScheduleList extends Object implements com.azure.json.JsonSerializable<ScheduleList>
The response of a list operation.
  • Constructor Details

    • ScheduleList

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

    • value

      public List<ScheduleInner> value()
      Get the value property: Results of the list operation.
      Returns:
      the value value.
    • withValue

      public ScheduleList withValue(List<ScheduleInner> value)
      Set the value property: Results of the list operation.
      Parameters:
      value - the value value to set.
      Returns:
      the ScheduleList object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: Link for next set of results.
      Returns:
      the nextLink value.
    • withNextLink

      public ScheduleList withNextLink(String nextLink)
      Set the nextLink property: Link for next set of results.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the ScheduleList 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<ScheduleList>
      Throws:
      IOException
    • fromJson

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