ExTwilio v0.4.0 ExTwilio.Media View Source

Represents an Media resource in the Twilio API.

Examples

Since Media belong to a Message in Twilio’s API, you must pass a Message SID to each function in this module.

ExTwilio.Media.all(message: "message_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.Media{account_sid: term, content_type: term, date_created: term, date_updated: term, parent_sid: term, sid: term, uri: term}, list) :: %ExTwilio.Media{account_sid: term, content_type: term, date_created: term, date_updated: term, parent_sid: term, sid: term, uri: term}
Link to this function new() View Source
new() :: %ExTwilio.Media{account_sid: term, content_type: term, date_created: term, date_updated: term, parent_sid: term, sid: term, uri: term}
Link to this function new(attrs) View Source
new(list) :: %ExTwilio.Media{account_sid: term, content_type: term, date_created: term, date_updated: term, parent_sid: term, sid: term, uri: 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.