次の方法で共有


WorkspaceListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.quantum.models.WorkspaceListResult

Implements

public final class WorkspaceListResult
implements JsonSerializable<WorkspaceListResult>

The response of a list Workspaces operation.

Constructor Summary

Constructor Description
WorkspaceListResult()

Creates an instance of WorkspaceListResult class.

Method Summary

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

Reads an instance of WorkspaceListResult from the JsonReader.

String nextLink()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<QuantumWorkspaceInner> value()

Get the value property: Result of a list Workspaces operation.

WorkspaceListResult withNextLink(String nextLink)

Set the nextLink property: Link to the next set of results.

WorkspaceListResult withValue(List<QuantumWorkspaceInner> value)

Set the value property: Result of a list Workspaces operation.

Methods inherited from java.lang.Object

Constructor Details

WorkspaceListResult

public WorkspaceListResult()

Creates an instance of WorkspaceListResult class.

Method Details

fromJson

public static WorkspaceListResult fromJson(JsonReader jsonReader)

Reads an instance of WorkspaceListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Link to the next set of results. Not empty if Value contains incomplete list of Workspaces.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<QuantumWorkspaceInner> value()

Get the value property: Result of a list Workspaces operation.

Returns:

the value value.

withNextLink

public WorkspaceListResult withNextLink(String nextLink)

Set the nextLink property: Link to the next set of results. Not empty if Value contains incomplete list of Workspaces.

Parameters:

nextLink - the nextLink value to set.

Returns:

the WorkspaceListResult object itself.

withValue

public WorkspaceListResult withValue(List<QuantumWorkspaceInner> value)

Set the value property: Result of a list Workspaces operation.

Parameters:

value - the value value to set.

Returns:

the WorkspaceListResult object itself.

Applies to