RequestOverrides

public final class RequestOverrides

Overrides to use for an outgoing request to the Nylas API.

Constructors

Link copied to clipboard
public RequestOverrides RequestOverrides(String apiKey, String apiUri, Long timeout, Map<String, String> headers)

Types

Link copied to clipboard
public final class Builder

Builder for RequestOverrides.

Properties

Link copied to clipboard
private final String apiKey

The API key to use for the request.

Link copied to clipboard
private final String apiUri

The API URI to use for the request.

Link copied to clipboard
private final Map<String, String> headers

Additional headers to include in the request.

Link copied to clipboard
private final Long timeout

The timeout to use for the request.

Functions

Link copied to clipboard
public final String getApiKey()

The API key to use for the request.

Link copied to clipboard
public final String getApiUri()

The API URI to use for the request.

Link copied to clipboard
public final Map<String, String> getHeaders()

Additional headers to include in the request.

Link copied to clipboard
public final Long getTimeout()

The timeout to use for the request.