TaskList Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.models.TaskList

Implements

public final class TaskList
implements JsonSerializable<TaskList>

OData page of tasks.

Constructor Summary

Constructor Description
TaskList()

Creates an instance of TaskList class.

Method Summary

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

Reads an instance of TaskList from the JsonReader.

String nextLink()

Get the nextLink property: URL to load the next page of tasks.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ProjectTaskInner> value()

Get the value property: List of tasks.

TaskList withNextLink(String nextLink)

Set the nextLink property: URL to load the next page of tasks.

TaskList withValue(List<ProjectTaskInner> value)

Set the value property: List of tasks.

Methods inherited from java.lang.Object

Constructor Details

TaskList

public TaskList()

Creates an instance of TaskList class.

Method Details

fromJson

public static TaskList fromJson(JsonReader jsonReader)

Reads an instance of TaskList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: URL to load the next page of tasks.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<ProjectTaskInner> value()

Get the value property: List of tasks.

Returns:

the value value.

withNextLink

public TaskList withNextLink(String nextLink)

Set the nextLink property: URL to load the next page of tasks.

Parameters:

nextLink - the nextLink value to set.

Returns:

the TaskList object itself.

withValue

public TaskList withValue(List<ProjectTaskInner> value)

Set the value property: List of tasks.

Parameters:

value - the value value to set.

Returns:

the TaskList object itself.

Applies to