Share via


OperationStatusError Class

  • java.lang.Object
    • com.azure.resourcemanager.resourcemover.models.OperationStatusError

Implements

public final class OperationStatusError
implements JsonSerializable<OperationStatusError>

Class for operation status errors.

Constructor Summary

Constructor Description
OperationStatusError()

Creates an instance of OperationStatusError class.

Method Summary

Modifier and Type Method and Description
List<OperationErrorAdditionalInfo> additionalInfo()

Get the additionalInfo property: The additional info.

String code()

Get the code property: The error code.

List<OperationStatusError> details()

Get the details property: The error details.

static OperationStatusError fromJson(JsonReader jsonReader)

Reads an instance of OperationStatusError from the JsonReader.

String message()

Get the message property: The error message.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

OperationStatusError

public OperationStatusError()

Creates an instance of OperationStatusError class.

Method Details

additionalInfo

public List<OperationErrorAdditionalInfo> additionalInfo()

Get the additionalInfo property: The additional info.

Returns:

the additionalInfo value.

code

public String code()

Get the code property: The error code.

Returns:

the code value.

details

public List<OperationStatusError> details()

Get the details property: The error details.

Returns:

the details value.

fromJson

public static OperationStatusError fromJson(JsonReader jsonReader)

Reads an instance of OperationStatusError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: The error message.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to