ExTwilio v0.2.0 ExTwilio.DependentPhoneNumber

Represents an DependentPhoneNumber resource in the Twilio API.

Examples

Since DependentPhoneNumbers are a nested resource in the Twilio API, you must pass in a parent Address SID to all functions in this module.

ExTwilio.DependentPhoneNumber.all(address: "address_sid")

Summary

Functions

Underscored and lowercased collection name for a given resource. Delegates the real work to ExTwilio.Api.resource_collection_name/1 by default

CamelCase resource name as it would be used in Twilio's API. Delegates the real work to ExTwilio.Api.resource_name/1 by default

Functions

all(options \\ [])

Specs

all(list) :: [map]
children()

Specs

children :: list
new()

Specs

new :: %ExTwilio.DependentPhoneNumber{account_sid: term, city: term, customer_name: term, friendly_name: term, iso_country: term, postal_code: term, region: term, sid: term, street: term}
new(attrs)

Specs

new(list) :: %ExTwilio.DependentPhoneNumber{account_sid: term, city: term, customer_name: term, friendly_name: term, iso_country: term, postal_code: term, region: term, sid: term, street: term}
parents()

Specs

parents :: list
resource_collection_name()

Underscored and lowercased collection name for a given resource. Delegates the real work to ExTwilio.Api.resource_collection_name/1 by default.

Override in your module before use ExTwilio.Resource if you need something different.

resource_name()

CamelCase resource name as it would be used in Twilio's API. Delegates the real work to ExTwilio.Api.resource_name/1 by default.

Override in your module before use ExTwilio.Resource if you need something different.

stream(options \\ [])