All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.network.ErrorResponse Maven / Gradle / Ivy

/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.network;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The error object.
 */
public class ErrorResponse {
    /**
     * Error.
     * The error details object.
     */
    @JsonProperty(value = "error")
    private ErrorDetails error;

    /**
     * Get the error details object.
     *
     * @return the error value
     */
    public ErrorDetails error() {
        return this.error;
    }

    /**
     * Set the error details object.
     *
     * @param error the error value to set
     * @return the ErrorResponse object itself.
     */
    public ErrorResponse withError(ErrorDetails error) {
        this.error = error;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy