OperationList Class

  • java.lang.Object
    • com.azure.resourcemanager.webpubsub.models.OperationList

Implements

public final class OperationList
implements JsonSerializable<OperationList>

Result of the request to list REST API operations. It contains a list of operations.

Constructor Summary

Constructor Description
OperationList()

Creates an instance of OperationList class.

Method Summary

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

Reads an instance of OperationList from the JsonReader.

String nextLink()

Get the nextLink property: The URL the client should use to fetch the next page (per server side paging).

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<OperationInner> value()

Get the value property: List of operations supported by the resource provider.

OperationList withNextLink(String nextLink)

Set the nextLink property: The URL the client should use to fetch the next page (per server side paging).

OperationList withValue(List<OperationInner> value)

Set the value property: List of operations supported by the resource provider.

Methods inherited from java.lang.Object

Constructor Details

OperationList

public OperationList()

Creates an instance of OperationList class.

Method Details

fromJson

public static OperationList fromJson(JsonReader jsonReader)

Reads an instance of OperationList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The URL the client should use to fetch the next page (per server side paging). It's null for now, added for future use.

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: List of operations supported by the resource provider.

Returns:

the value value.

withNextLink

public OperationList withNextLink(String nextLink)

Set the nextLink property: The URL the client should use to fetch the next page (per server side paging). It's null for now, added for future use.

Parameters:

nextLink - the nextLink value to set.

Returns:

the OperationList object itself.

withValue

public OperationList withValue(List<OperationInner> value)

Set the value property: List of operations supported by the resource provider.

Parameters:

value - the value value to set.

Returns:

the OperationList object itself.

Applies to