Twilio.Voice.V1.SettingsService (twilio_elixir v0.1.1)

Copy Markdown View Source

Service for Settings API operations.

Operations: fetch, update

Summary

Functions

Retrieve voice dialing permissions inheritance for the sub-account

Update voice dialing permissions inheritance for the sub-account

Functions

fetch(client, opts \\ [])

@spec fetch(
  Twilio.Client.t(),
  keyword()
) ::
  {:ok, Twilio.Resources.Voice.V1.Settings.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Retrieve voice dialing permissions inheritance for the sub-account

Operation: FetchDialingPermissionsSettings | Tags: VoiceV1Settings

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

@spec update(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Voice.V1.Settings.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Update voice dialing permissions inheritance for the sub-account

Operation: UpdateDialingPermissionsSettings | Tags: VoiceV1Settings

Optional Parameters

ParameterTypeDescription

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

| DialingPermissionsInheritance | boolean | true for the sub-account to inherit voice dialing permissions from the Master Project; otherwise false. |