KeyVaultError.java

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.security.keyvault.administration.implementation.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The key vault error exception. */
@Immutable
public final class KeyVaultError {
    /*
     * The key vault server error.
     */
    @JsonProperty(value = "error", access = JsonProperty.Access.WRITE_ONLY)
    private Error error;

    /**
     * Get the error property: The key vault server error.
     *
     * @return the error value.
     */
    public Error getError() {
        return this.error;
    }
}