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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JobListResultV2
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of JobListResultV2 from the JsonReader.nextLink()
Get the nextLink property: The link to the next page.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.value()
Get the value property: List of jobs.withValue
(List<JobCollectionItemInner> value) Set the value property: List of jobs.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
JobListResultV2
public JobListResultV2()Creates an instance of JobListResultV2 class.
-
-
Method Details
-
value
Get the value property: List of jobs.- Returns:
- the value value.
-
withValue
Set the value property: List of jobs.- Parameters:
value
- the value value to set.- Returns:
- the JobListResultV2 object itself.
-
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
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<JobListResultV2>
- Throws:
IOException
-
fromJson
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.
-