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 Details

    • CertificateOperationError

      public CertificateOperationError()
      Creates an instance of CertificateOperationError class.
  • Method Details

    • getCode

      public String getCode()
      Get the code property: The error code.
      Returns:
      the code value.
    • getMessage

      public String getMessage()
      Get the message property: The error message.
      Returns:
      the message value.
    • getInnerError

      public CertificateOperationError getInnerError()
      Get the innerError property: The key vault server error.
      Returns:
      the innerError value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.