Twilio.Schemas.Recording (twilio v0.2.0)

Copy Markdown

Fields

  • account_sid - The SID of the Account that created the Recording resource.
  • api_version - The API version used during the recording.
  • call_sid - The SID of the Call the Recording resource is associated with. This will always refer to the parent leg of a two-leg call.
  • channels - The number of channels in the recording resource. For information on specifying the number of channels in the downloaded recording file, check out Fetch a Recording’s media file.
  • conference_sid - The Conference SID that identifies the conference associated with the recording, if a conference recording.
  • date_created - The date and time in GMT that the resource was created specified in RFC 2822 format.
  • date_updated - The date and time in GMT that the resource was last updated specified in RFC 2822 format.
  • duration - The length of the recording in seconds.
  • encryption_details - How to decrypt the recording if it was encrypted using Call Recording Encryption feature.
  • error_code - The error code that describes why the recording is absent. The error code is described in our Error Dictionary. This value is null if the recording status is not absent.
  • media_url - The URL of the media file associated with this recording resource. When stored externally, this is the full URL location of the media file.
  • price - The one-time cost of creating the recording in the price_unit currency.
  • price_unit - The currency used in the price property. Example: USD.
  • sid - The unique string that that we created to identify the Recording resource.
  • source
  • start_time - The start time of the recording in GMT and in RFC 2822 format.
  • status
  • subresource_uris - A list of related resources identified by their relative URIs.
  • uri - The URI of the resource, relative to https://api.twilio.com.

Summary

Functions

Decodes parsed JSON into this struct.

Types

t()

@type t() :: %Twilio.Schemas.Recording{
  __extra__: %{optional(String.t()) => term()},
  __present__: [atom()],
  account_sid: String.t() | nil,
  api_version: String.t() | nil,
  call_sid: String.t() | nil,
  channels: integer() | nil,
  conference_sid: String.t() | nil,
  date_created: String.t() | nil,
  date_updated: String.t() | nil,
  duration: String.t() | nil,
  encryption_details: term() | nil,
  error_code: integer() | nil,
  media_url: String.t() | nil,
  price: String.t() | nil,
  price_unit: String.t() | nil,
  sid: String.t() | nil,
  source: Twilio.Schemas.RecordingEnumSource.t() | nil,
  start_time: String.t() | nil,
  status: Twilio.Schemas.RecordingEnumStatus.t() | nil,
  subresource_uris: map() | nil,
  uri: String.t() | nil
}

Functions

decode(json)

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

Decodes parsed JSON into this struct.