Twilio.Api.V2010.SIP.CredentialListService (twilio_elixir v0.1.1)

Copy Markdown View Source

Lists of SIP credentials

Operations: list, create, fetch, update, delete

Summary

Functions

Delete a Credential List

Get a Credential List

Get All Credential Lists

Stream: Get All Credential Lists (lazy auto-pagination).

Functions

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

@spec create(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Api.V2010.SIP.CredentialList.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Create a Credential List

Operation: CreateSipCredentialList | Tags: Api20100401CredentialList

Required Parameters

ParameterTypeDescription

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

| FriendlyName | string | A human readable descriptive text that describes the CredentialList, up to 64 characters long. |

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

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

Delete a Credential List

Operation: DeleteSipCredentialList | Tags: Api20100401CredentialList

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

@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Api.V2010.SIP.CredentialList.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Get a Credential List

Operation: FetchSipCredentialList | Tags: Api20100401CredentialList

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

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

Get All Credential Lists

Operation: ListSipCredentialList | Tags: Api20100401CredentialList

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

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

Stream: Get All Credential Lists (lazy auto-pagination).

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

@spec update(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Api.V2010.SIP.CredentialList.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Update a Credential List

Operation: UpdateSipCredentialList | Tags: Api20100401CredentialList

Required Parameters

ParameterTypeDescription
FriendlyNamestringA human readable descriptive text for a CredentialList, up to 64 characters long.