Share via


TaskRunListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.models.TaskRunListResult

Implements

public final class TaskRunListResult
implements JsonSerializable<TaskRunListResult>

The collection of task runs.

Constructor Summary

Constructor Description
TaskRunListResult()

Creates an instance of TaskRunListResult class.

Method Summary

Modifier and Type Method and Description
static TaskRunListResult fromJson(JsonReader jsonReader)

Reads an instance of TaskRunListResult from the JsonReader.

String nextLink()

Get the nextLink property: The URI that can be used to request the next set of paged results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<TaskRunInner> value()

Get the value property: The collection value.

TaskRunListResult withNextLink(String nextLink)

Set the nextLink property: The URI that can be used to request the next set of paged results.

TaskRunListResult withValue(List<TaskRunInner> value)

Set the value property: The collection value.

Methods inherited from java.lang.Object

Constructor Details

TaskRunListResult

public TaskRunListResult()

Creates an instance of TaskRunListResult class.

Method Details

fromJson

public static TaskRunListResult fromJson(JsonReader jsonReader)

Reads an instance of TaskRunListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TaskRunListResult 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 TaskRunListResult.

nextLink

public String nextLink()

Get the nextLink property: The URI that can be used to request the next set of paged results.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<TaskRunInner> value()

Get the value property: The collection value.

Returns:

the value value.

withNextLink

public TaskRunListResult withNextLink(String nextLink)

Set the nextLink property: The URI that can be used to request the next set of paged results.

Parameters:

nextLink - the nextLink value to set.

Returns:

the TaskRunListResult object itself.

withValue

public TaskRunListResult withValue(List<TaskRunInner> value)

Set the value property: The collection value.

Parameters:

value - the value value to set.

Returns:

the TaskRunListResult object itself.

Applies to