CertificateOperationError Class

  • java.lang.Object
    • com.azure.security.keyvault.certificates.models.CertificateOperationError

Implements

public final class CertificateOperationError
implements JsonSerializable<CertificateOperationError>

The CertificateOperationError model.

Constructor Summary

Constructor Description
CertificateOperationError()

Creates an instance of CertificateOperationError class.

Method Summary

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

Reads an instance of CertificateOperationError from the JsonReader.

String getCode()

Get the code property: The error code.

CertificateOperationError getInnerError()

Get the innerError property: The key vault server error.

String getMessage()

Get the message property: The error message.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

CertificateOperationError

public CertificateOperationError()

Creates an instance of CertificateOperationError class.

Method Details

fromJson

public static CertificateOperationError fromJson(JsonReader jsonReader)

Reads an instance of CertificateOperationError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getCode

public String getCode()

Get the code property: The error code.

Returns:

the code value.

getInnerError

public CertificateOperationError getInnerError()

Get the innerError property: The key vault server error.

Returns:

the innerError value.

getMessage

public String getMessage()

Get the message property: The error message.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to