Twilio.Api.V2010.IncomingPhoneNumber.AssignedAddOnService
(twilio_elixir v0.1.1)
Copy Markdown
View Source
Service for AssignedAddOn API operations.
Operations: list, create, fetch, delete
Summary
Functions
Assign an Add-on installation to the Number specified.
Remove the assignment of an Add-on installation from the Number specified.
Fetch an instance of an Add-on installation currently assigned to this Number.
Retrieve a list of Add-on installations currently assigned to this Number.
Stream: Retrieve a list of Add-on installations currently assigned to this Number. (lazy auto-pagination).
Functions
@spec create(Twilio.Client.t(), String.t(), map(), keyword()) :: {:ok, Twilio.Resources.Api.V2010.IncomingPhoneNumber.AssignedAddOn.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Assign an Add-on installation to the Number specified.
Operation: CreateIncomingPhoneNumberAssignedAddOn | Tags: Api20100401AssignedAddOn
Required Parameters
| Parameter | Type | Description |
|---|---|---|
InstalledAddOnSid | string | The SID that identifies the Add-on installation. |
@spec delete(Twilio.Client.t(), String.t(), String.t(), keyword()) :: {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Remove the assignment of an Add-on installation from the Number specified.
Operation: DeleteIncomingPhoneNumberAssignedAddOn | Tags: Api20100401AssignedAddOn
@spec fetch(Twilio.Client.t(), String.t(), String.t(), keyword()) :: {:ok, Twilio.Resources.Api.V2010.IncomingPhoneNumber.AssignedAddOn.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Fetch an instance of an Add-on installation currently assigned to this Number.
Operation: FetchIncomingPhoneNumberAssignedAddOn | Tags: Api20100401AssignedAddOn
@spec list(Twilio.Client.t(), String.t(), map(), keyword()) :: {:ok, Twilio.Page.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Retrieve a list of Add-on installations currently assigned to this Number.
Operation: ListIncomingPhoneNumberAssignedAddOn | Tags: Api20100401AssignedAddOn
@spec stream(Twilio.Client.t(), String.t(), map(), keyword()) :: Enumerable.t()
Stream: Retrieve a list of Add-on installations currently assigned to this Number. (lazy auto-pagination).