Class JobListResultV2

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

public final class JobListResultV2 extends Object implements com.azure.json.JsonSerializable<JobListResultV2>
The response model for the list job operation.
  • Constructor Details

    • JobListResultV2

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

    • value

      public List<JobCollectionItemInner> value()
      Get the value property: List of jobs.
      Returns:
      the value value.
    • withValue

      public JobListResultV2 withValue(List<JobCollectionItemInner> value)
      Set the value property: List of jobs.
      Parameters:
      value - the value value to set.
      Returns:
      the JobListResultV2 object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The link to the next page.
      Returns:
      the nextLink value.
    • 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<JobListResultV2>
      Throws:
      IOException
    • fromJson

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