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

Copy Markdown View Source

Service for RatePlan API operations.

Operations: list, create, fetch, update, delete

Summary

Functions

Operation: CreateWirelessRatePlan | Tags: PreviewWirelessRatePlan

Operation: DeleteWirelessRatePlan | Tags: PreviewWirelessRatePlan

Operation: FetchWirelessRatePlan | Tags: PreviewWirelessRatePlan

Operation: ListWirelessRatePlan | Tags: PreviewWirelessRatePlan

Stream: (lazy auto-pagination).

Operation: UpdateWirelessRatePlan | Tags: PreviewWirelessRatePlan

Functions

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

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

Operation: CreateWirelessRatePlan | Tags: PreviewWirelessRatePlan

Optional Parameters

ParameterTypeDescription
CommandsEnabledboolean
DataEnabledboolean
DataLimitinteger
DataMeteringstring
FriendlyNamestring
InternationalRoamingarray
MessagingEnabledboolean
NationalRoamingEnabledboolean
UniqueNamestring
VoiceEnabledboolean

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

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

Operation: DeleteWirelessRatePlan | Tags: PreviewWirelessRatePlan

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

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

Operation: FetchWirelessRatePlan | Tags: PreviewWirelessRatePlan

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

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

Operation: ListWirelessRatePlan | Tags: PreviewWirelessRatePlan

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.RatePlan.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Operation: UpdateWirelessRatePlan | Tags: PreviewWirelessRatePlan

Optional Parameters

ParameterTypeDescription
FriendlyNamestring
UniqueNamestring