Twilio.Numbers.V2.RegulatoryCompliance.EndUserTypeService (twilio_elixir v0.1.1)

Copy Markdown View Source

Service for EndUserType API operations.

Operations: list, fetch

Summary

Functions

Fetch a specific End-User Type Instance.

Retrieve a list of all End-User Types.

Stream: Retrieve a list of all End-User Types. (lazy auto-pagination).

Functions

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

@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Numbers.V2.RegulatoryCompliance.EndUserType.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Fetch a specific End-User Type Instance.

Operation: FetchEndUserType | Tags: NumbersV2EndUserType

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

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

Retrieve a list of all End-User Types.

Operation: ListEndUserType | Tags: NumbersV2EndUserType

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

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

Stream: Retrieve a list of all End-User Types. (lazy auto-pagination).