ErrorResponse Class

  • java.lang.Object
    • com.azure.communication.administration.models.ErrorResponse

public final class ErrorResponse

The ErrorResponse model.

Constructor Summary

Constructor Description
ErrorResponse()

Method Summary

Modifier and Type Method and Description
ErrorBody getError()

Get the error property: Represents a service error response body.

ErrorResponse setError(ErrorBody error)

Set the error property: Represents a service error response body.

Methods inherited from java.lang.Object

Constructor Details

ErrorResponse

public ErrorResponse()

Method Details

getError

public ErrorBody getError()

Get the error property: Represents a service error response body.

Returns:

the error value.

setError

public ErrorResponse setError(ErrorBody error)

Set the error property: Represents a service error response body.

Parameters:

error - the error value to set.

Returns:

the ErrorResponse object itself.

Applies to