GetOperationErrorsRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.computeschedule.models.GetOperationErrorsRequest

Implements

public final class GetOperationErrorsRequest
implements JsonSerializable<GetOperationErrorsRequest>

This is the request to get errors per vm operations.

Constructor Summary

Constructor Description
GetOperationErrorsRequest()

Creates an instance of GetOperationErrorsRequest class.

Method Summary

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

Reads an instance of GetOperationErrorsRequest from the JsonReader.

List<String> operationIds()

Get the operationIds property: The list of operation ids to query errors of.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GetOperationErrorsRequest withOperationIds(List<String> operationIds)

Set the operationIds property: The list of operation ids to query errors of.

Methods inherited from java.lang.Object

Constructor Details

GetOperationErrorsRequest

public GetOperationErrorsRequest()

Creates an instance of GetOperationErrorsRequest class.

Method Details

fromJson

public static GetOperationErrorsRequest fromJson(JsonReader jsonReader)

Reads an instance of GetOperationErrorsRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operationIds

public List<String> operationIds()

Get the operationIds property: The list of operation ids to query errors of.

Returns:

the operationIds value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withOperationIds

public GetOperationErrorsRequest withOperationIds(List<String> operationIds)

Set the operationIds property: The list of operation ids to query errors of.

Parameters:

operationIds - the operationIds value to set.

Returns:

the GetOperationErrorsRequest object itself.

Applies to