WorkspaceInfoListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.models.WorkspaceInfoListResult

Implements

public final class WorkspaceInfoListResult
implements JsonSerializable<WorkspaceInfoListResult>

List of workspaces.

Constructor Summary

Constructor Description
WorkspaceInfoListResult()

Creates an instance of WorkspaceInfoListResult class.

Method Summary

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

Reads an instance of WorkspaceInfoListResult 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 workspaces.

WorkspaceInfoListResult withNextLink(String nextLink)

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

WorkspaceInfoListResult withValue(List<WorkspaceInner> value)

Set the value property: List of workspaces.

Methods inherited from java.lang.Object

Constructor Details

WorkspaceInfoListResult

public WorkspaceInfoListResult()

Creates an instance of WorkspaceInfoListResult class.

Method Details

fromJson

public static WorkspaceInfoListResult fromJson(JsonReader jsonReader)

Reads an instance of WorkspaceInfoListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 workspaces.

Returns:

the value value.

withNextLink

public WorkspaceInfoListResult withNextLink(String nextLink)

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

Parameters:

nextLink - the nextLink value to set.

Returns:

the WorkspaceInfoListResult object itself.

withValue

public WorkspaceInfoListResult withValue(List<WorkspaceInner> value)

Set the value property: List of workspaces.

Parameters:

value - the value value to set.

Returns:

the WorkspaceInfoListResult object itself.

Applies to