Share via


OperationsList Class

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

Implements

public final class OperationsList
implements JsonSerializable<OperationsList>

Lists the operations available.

Constructor Summary

Constructor Description
OperationsList()

Creates an instance of OperationsList class.

Method Summary

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

Reads an instance of OperationsList from the JsonReader.

String nextLink()

Get the nextLink property: Url to follow for getting next page of operations.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<OperationInner> value()

Get the value property: Array of operations.

OperationsList withNextLink(String nextLink)

Set the nextLink property: Url to follow for getting next page of operations.

OperationsList withValue(List<OperationInner> value)

Set the value property: Array of operations.

Methods inherited from java.lang.Object

Constructor Details

OperationsList

public OperationsList()

Creates an instance of OperationsList class.

Method Details

fromJson

public static OperationsList fromJson(JsonReader jsonReader)

Reads an instance of OperationsList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OperationsList if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

nextLink

public String nextLink()

Get the nextLink property: Url to follow for getting next page of operations.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<OperationInner> value()

Get the value property: Array of operations.

Returns:

the value value.

withNextLink

public OperationsList withNextLink(String nextLink)

Set the nextLink property: Url to follow for getting next page of operations.

Parameters:

nextLink - the nextLink value to set.

Returns:

the OperationsList object itself.

withValue

public OperationsList withValue(List<OperationInner> value)

Set the value property: Array of operations.

Parameters:

value - the value value to set.

Returns:

the OperationsList object itself.

Applies to