View Source ExNylas.Scheduling.Sessions (ExNylas v0.9.0)
Interface for Nylas scheduling sessions.
Summary
Functions
Create and validate a scheduling session, use create/update to send to Nylas.
Create and validate a scheduling session, use create/update to send to Nylas.
Create a(n) scheduling session.
Create a(n) scheduling session.
Delete a(n) scheduling session.
Delete a(n) scheduling session.
Functions
@spec build(map() | struct()) :: {:ok, struct()} | {:error, Ecto.Changeset.t()}
Create and validate a scheduling session, use create/update to send to Nylas.
Examples
iex> {:ok, result} = ExNylas.Scheduling.Sessions.build(payload)
Create and validate a scheduling session, use create/update to send to Nylas.
Examples
iex> result = ExNylas.Scheduling.Sessions.build!(payload)
@spec create(ExNylas.Connection.t(), map(), Keyword.t() | map()) :: {:ok, ExNylas.Response.t()} | {:error, ExNylas.Response.t()}
Create a(n) scheduling session.
Examples
iex> {:ok, result} = ExNylas.Scheduling.Sessions.create(conn, body, params)
@spec create!(ExNylas.Connection.t(), map(), Keyword.t() | map()) :: ExNylas.Response.t()
Create a(n) scheduling session.
Examples
iex> result = ExNylas.Scheduling.Sessions.create(conn, body, params)
@spec delete(ExNylas.Connection.t(), String.t(), Keyword.t() | map()) :: {:ok, ExNylas.Response.t()} | {:error, ExNylas.Response.t()}
Delete a(n) scheduling session.
Examples
iex> {:ok, result} = ExNylas.Scheduling.Sessions.delete(conn, id, params)
@spec delete!(ExNylas.Connection.t(), String.t(), Keyword.t() | map()) :: ExNylas.Response.t()
Delete a(n) scheduling session.
Examples
iex> result = ExNylas.Scheduling.Sessions.delete!(conn, id, params)