次の方法で共有


WorkspaceList Class

  • java.lang.Object
    • com.azure.resourcemanager.desktopvirtualization.models.WorkspaceList

Implements

public final class WorkspaceList
implements JsonSerializable<WorkspaceList>

WorkspaceList List of Workspace definitions.

Constructor Summary

Constructor Description
WorkspaceList()

Creates an instance of WorkspaceList class.

Method Summary

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

Reads an instance of WorkspaceList from the JsonReader.

String nextLink()

Get the nextLink property: Link to the next page of results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<WorkspaceInner> value()

Get the value property: List of Workspace definitions.

WorkspaceList withValue(List<WorkspaceInner> value)

Set the value property: List of Workspace definitions.

Methods inherited from java.lang.Object

Constructor Details

WorkspaceList

public WorkspaceList()

Creates an instance of WorkspaceList class.

Method Details

fromJson

public static WorkspaceList fromJson(JsonReader jsonReader)

Reads an instance of WorkspaceList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Link to the next page of results.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<WorkspaceInner> value()

Get the value property: List of Workspace definitions.

Returns:

the value value.

withValue

public WorkspaceList withValue(List<WorkspaceInner> value)

Set the value property: List of Workspace definitions.

Parameters:

value - the value value to set.

Returns:

the WorkspaceList object itself.

Applies to