NylasApiErrorResponse

public final class NylasApiErrorResponse

Class representing an error response from the Nylas API.

Constructors

Link copied to clipboard
public NylasApiErrorResponse NylasApiErrorResponse(@Json(name = "error") NylasApiError error, @Json(name = "request_id") String requestId)

Properties

Link copied to clipboard
private final NylasApiError error

The error.

Link copied to clipboard
private final String requestId

The request ID.

Functions

Link copied to clipboard
public final NylasApiError getError()

The error.

Link copied to clipboard
public final String getRequestId()

The request ID.