Class CertificateOperationError
java.lang.Object
com.azure.security.keyvault.certificates.models.CertificateOperationError
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CertificateOperationError>
public final class CertificateOperationError
extends Object
implements com.azure.json.JsonSerializable<CertificateOperationError>
The CertificateOperationError model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CertificateOperationError class. -
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateOperationErrorfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CertificateOperationError from the JsonReader.getCode()Get the code property: The error code.Get the innerError property: The key vault server error.Get the message property: The error message.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CertificateOperationError
public CertificateOperationError()Creates an instance of CertificateOperationError class.
-
-
Method Details
-
getCode
-
getMessage
-
getInnerError
Get the innerError property: The key vault server error.- Returns:
- the innerError value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CertificateOperationError>- Throws:
IOException
-
fromJson
public static CertificateOperationError fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-