ExTwilio.Member

Represents an Member resource in the Twilio API.

Examples

Since Members are members of a Queue in the Twilio API, you must pass a Queue SID into each function in this module.

ExTwilio.Member.all(queue: "queue_sid")

Summary

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) :: [%{}]
children()

Specs

children :: list
find(sid, options \\ [])

Specs

new()

Specs

new :: %ExTwilio.Member{call_sid: term, date_enqueued: term, position: term, wait_time: term}
new(attrs)

Specs

new(list) :: %ExTwilio.Member{call_sid: term, date_enqueued: term, position: term, wait_time: 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 \\ [])
update(sid, data, options \\ [])

Specs

update(String.t, list, list) :: ExTwilio.Parser.parsed_response