Twilio.Schemas.Media (twilio v0.2.0)

Copy Markdown

Fields

  • account_sid - The SID of the Account associated with this Media resource.
  • content_type - The default MIME type of the media, for example image/jpeg, image/png, or image/gif.
  • date_created - The date and time in GMT when this Media resource was created, specified in RFC 2822 format.
  • date_updated - The date and time in GMT when this Media resource was last updated, specified in RFC 2822 format.
  • parent_sid - The SID of the Message resource that is associated with this Media resource.
  • sid - The unique string that identifies this Media resource.
  • uri - The URI of this Media resource, relative to https://api.twilio.com.

Summary

Functions

Decodes parsed JSON into this struct.

Types

t()

@type t() :: %Twilio.Schemas.Media{
  __extra__: %{optional(String.t()) => term()},
  __present__: [atom()],
  account_sid: String.t() | nil,
  content_type: String.t() | nil,
  date_created: String.t() | nil,
  date_updated: String.t() | nil,
  parent_sid: String.t() | nil,
  sid: String.t() | nil,
  uri: String.t() | nil
}

Functions

decode(json)

@spec decode(term()) :: t() | term()

Decodes parsed JSON into this struct.