Twilio.Schemas.CallRecording (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 to make the recording.
  • call_sid - The SID of the Call the Recording resource is associated with.
  • channels - The number of channels in the final recording file. Can be: 1, or 2. Separating a two leg call into two separate channels of the recording file is supported in Dial and Outbound Rest API record options.
  • 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.
  • 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
  • track - The recorded track. Can be: inbound, outbound, or both.
  • 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.CallRecording{
  __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,
  price: number() | nil,
  price_unit: String.t() | nil,
  sid: String.t() | nil,
  source: Twilio.Schemas.CallRecordingEnumSource.t() | nil,
  start_time: String.t() | nil,
  status: Twilio.Schemas.CallRecordingEnumStatus.t() | nil,
  track: String.t() | nil,
  uri: String.t() | nil
}

Functions

decode(json)

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

Decodes parsed JSON into this struct.