ExTwilio v0.4.0 ExTwilio.DependentPhoneNumber View Source

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")

Link to this section 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

Link to this section Functions

Link to this function all(options \\ []) View Source
all(list) :: [map]
Link to this function children() View Source
children() :: list
Link to this function do_new(struct, list) View Source
do_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}, 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}
Link to this function new() View Source
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}
Link to this function new(attrs) View Source
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}
Link to this function parents() View Source
parents() :: list
Link to this function resource_collection_name() View Source

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.

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.