Twilio.Preview.Wireless.SimService (twilio_elixir v0.1.1)

Copy Markdown View Source

Service for Sim API operations.

Operations: list, fetch, update

Summary

Functions

Operation: FetchWirelessSim | Tags: PreviewWirelessSim

Operation: ListWirelessSim | Tags: PreviewWirelessSim

Stream: (lazy auto-pagination).

Operation: UpdateWirelessSim | Tags: PreviewWirelessSim

Functions

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

@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Preview.Wireless.Sim.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Operation: FetchWirelessSim | Tags: PreviewWirelessSim

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

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

Operation: ListWirelessSim | Tags: PreviewWirelessSim

Query Parameters

ParameterTypeDescription
Statusstring
Iccidstring
RatePlanstring
EIdstring
SimRegistrationCodestring

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

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

Stream: (lazy auto-pagination).

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

@spec update(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Preview.Wireless.Sim.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Operation: UpdateWirelessSim | Tags: PreviewWirelessSim

Optional Parameters

ParameterTypeDescription
CallbackMethodstring
CallbackUrlstring (uri)
CommandsCallbackMethodstring (http-method)Values: GET, POST
CommandsCallbackUrlstring (uri)
FriendlyNamestring
RatePlanstring
SmsFallbackMethodstring (http-method)Values: GET, POST
SmsFallbackUrlstring (uri)
SmsMethodstring (http-method)Values: GET, POST
SmsUrlstring (uri)
Statusstring
UniqueNamestring
VoiceFallbackMethodstring (http-method)Values: GET, POST
VoiceFallbackUrlstring (uri)
VoiceMethodstring (http-method)Values: GET, POST
VoiceUrlstring (uri)