Share via


TaskListResult Class

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

Implements

public final class TaskListResult
implements JsonSerializable<TaskListResult>

The collection of tasks.

Constructor Summary

Constructor Description
TaskListResult()

Creates an instance of TaskListResult class.

Method Summary

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

Reads an instance of TaskListResult 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<TaskInner> value()

Get the value property: The collection value.

TaskListResult withNextLink(String nextLink)

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

TaskListResult withValue(List<TaskInner> value)

Set the value property: The collection value.

Methods inherited from java.lang.Object

Constructor Details

TaskListResult

public TaskListResult()

Creates an instance of TaskListResult class.

Method Details

fromJson

public static TaskListResult fromJson(JsonReader jsonReader)

Reads an instance of TaskListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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<TaskInner> value()

Get the value property: The collection value.

Returns:

the value value.

withNextLink

public TaskListResult 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 TaskListResult object itself.

withValue

public TaskListResult withValue(List<TaskInner> value)

Set the value property: The collection value.

Parameters:

value - the value value to set.

Returns:

the TaskListResult object itself.

Applies to