Twilio.Intelligence.V2.Operator.PreBuiltService (twilio_elixir v0.1.1)

Copy Markdown View Source

Service for PreBuilt API operations.

Operations: list, fetch

Summary

Functions

Fetch a specific Pre-built Operator.

Retrieves a list of all Pre-built Operators for an account.

Stream: Retrieves a list of all Pre-built Operators for an account. (lazy auto-pagination).

Functions

fetch(client, sid, opts \\ [])

@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Intelligence.V2.Operator.PreBuilt.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Fetch a specific Pre-built Operator.

Operation: FetchPrebuiltOperator | Tags: IntelligenceV2PrebuiltOperator

list(client, params \\ %{}, opts \\ [])

@spec list(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Page.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Retrieves a list of all Pre-built Operators for an account.

Operation: ListPrebuiltOperator | Tags: IntelligenceV2PrebuiltOperator

Query Parameters

ParameterTypeDescription

credo:disable-for-next-line Credo.Check.Readability.MaxLineLength

AvailabilitystringReturns Pre-built Operators with the provided availability type. Possible values: internal, beta, public, retired.
LanguageCodestringReturns Pre-built Operators that support the provided language code.

stream(client, params \\ %{}, opts \\ [])

@spec stream(Twilio.Client.t(), map(), keyword()) :: Enumerable.t()

Stream: Retrieves a list of all Pre-built Operators for an account. (lazy auto-pagination).