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

com.azure.communication.chat.implementation.models.CommunicationErrorResponse Maven / Gradle / Ivy

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

package com.azure.communication.chat.implementation.models;

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

/**
 * The Communication Services error.
 */
@Fluent
public final class CommunicationErrorResponse {
    /*
     * The Communication Services error.
     */
    @JsonProperty(value = "error", required = true)
    private CommunicationError error;

    /**
     * Creates an instance of CommunicationErrorResponse class.
     */
    public CommunicationErrorResponse() {
    }

    /**
     * Get the error property: The Communication Services error.
     * 
     * @return the error value.
     */
    public CommunicationError getError() {
        return this.error;
    }

    /**
     * Set the error property: The Communication Services error.
     * 
     * @param error the error value to set.
     * @return the CommunicationErrorResponse object itself.
     */
    public CommunicationErrorResponse setError(CommunicationError error) {
        this.error = error;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy