Share via


OperationListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.OperationListResult

Implements

public final class OperationListResult
implements JsonSerializable<OperationListResult>

The operation list response that contains all operations for Azure Container Instance service.

Constructor Summary

Constructor Description
OperationListResult()

Creates an instance of OperationListResult class.

Method Summary

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

Reads an instance of OperationListResult from the JsonReader.

String nextLink()

Get the nextLink property: The URI to fetch the next page of operations.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<Operation> value()

Get the value property: The list of operations.

OperationListResult withNextLink(String nextLink)

Set the nextLink property: The URI to fetch the next page of operations.

OperationListResult withValue(List<Operation> value)

Set the value property: The list of operations.

Methods inherited from java.lang.Object

Constructor Details

OperationListResult

public OperationListResult()

Creates an instance of OperationListResult class.

Method Details

fromJson

public static OperationListResult fromJson(JsonReader jsonReader)

Reads an instance of OperationListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The URI to fetch the 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<Operation> value()

Get the value property: The list of operations.

Returns:

the value value.

withNextLink

public OperationListResult withNextLink(String nextLink)

Set the nextLink property: The URI to fetch the next page of operations.

Parameters:

nextLink - the nextLink value to set.

Returns:

the OperationListResult object itself.

withValue

public OperationListResult withValue(List<Operation> value)

Set the value property: The list of operations.

Parameters:

value - the value value to set.

Returns:

the OperationListResult object itself.

Applies to