# `Twilio.Schemas.Recording`

## Fields

  * `account_sid` - The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource.
  * `api_version` - The API version used during the recording.
  * `call_sid` - The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) 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](https://www.twilio.com/docs/voice/api/recording#download-dual-channel-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](https://www.ietf.org/rfc/rfc2822.txt) format.
  * `date_updated` - The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
  * `duration` - The length of the recording in seconds.
  * `encryption_details` - How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
  * `error_code` - The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). 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](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) 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`.

# `t`

```elixir
@type t() :: %Twilio.Schemas.Recording{
  __extra__: %{optional(String.t()) =&gt; 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
}
```

# `decode`

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

Decodes parsed JSON into this struct.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
