View Source ExNylas.Connection (ExNylas v0.9.0)

A struct representing a Nylas API connection.

The client_id, api_key and grant_id are all optional when creating the connection struct. The API credentials that are required by the Nylas API varies, though for most calls to the Nylas API the api_key and grant_id are needed.

Summary

Types

@type t() :: %ExNylas.Connection{
  access_token: String.t() | nil,
  api_key: String.t() | nil,
  api_server: String.t(),
  client_id: String.t() | nil,
  grant_id: String.t() | nil,
  options: Keyword.t(),
  telemetry: boolean()
}