Twilio.Intelligence.V3.OperatorResultService (twilio_elixir v0.1.3)

Copy Markdown View Source

Service for OperatorResult API operations.

Operations: list, fetch, delete

Summary

Functions

Delete a OperatorResult.

Fetch a OperatorResult.

List OperatorResult resources.

Stream all resources with lazy auto-pagination.

Functions

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

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

Delete a OperatorResult.

Operation: DeleteOperatorResult | Tags: OperatorResults

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

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

Fetch a OperatorResult.

Operation: FetchOperatorResult | Tags: OperatorResults

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

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

List OperatorResult resources.

Operation: ListOperatorResults | Tags: OperatorResults

Query Parameters

ParameterTypeDescription
conversationIdstringFilter Operator Results by attached Conversation id.

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

intelligenceConfigurationIdstringFilter Operator Results by Intelligence Configuration id used to generate them.
operatorIdstringFilter Operator Results by Language Operator id.
pageSizeintegerThe maximum number of resources to return
pageTokenstringToken for pagination

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

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

Stream all resources with lazy auto-pagination.