# MediaContainerWithDecisionMedia

`Media` represents an one or more media files (parts) and is a child of a metadata item. There aren't necessarily any guaranteed attributes on media elements since the attributes will vary based on the type. The possible attributes are not documented here, but they typically have self-evident names. High-level media information that can be used for badging and flagging, such as `videoResolution` and codecs, is included on the media element.



## Fields

| Field                                                                                                    | Type                                                                                                     | Required                                                                                                 | Description                                                                                              | Example                                                                                                  |
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| `AspectRatio`                                                                                            | **float32*                                                                                               | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | 2.35                                                                                                     |
| `AudioChannels`                                                                                          | **int*                                                                                                   | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | 2                                                                                                        |
| `AudioCodec`                                                                                             | **string*                                                                                                | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | aac                                                                                                      |
| `AudioProfile`                                                                                           | **string*                                                                                                | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | lc                                                                                                       |
| `Bitrate`                                                                                                | **int*                                                                                                   | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | 5612                                                                                                     |
| `Container`                                                                                              | **string*                                                                                                | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | mov                                                                                                      |
| `Duration`                                                                                               | **int*                                                                                                   | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | 150192                                                                                                   |
| `Has64bitOffsets`                                                                                        | **bool*                                                                                                  | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | false                                                                                                    |
| `HasVoiceActivity`                                                                                       | **bool*                                                                                                  | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | true                                                                                                     |
| `Height`                                                                                                 | **int*                                                                                                   | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | 544                                                                                                      |
| `ID`                                                                                                     | *int64*                                                                                                  | :heavy_check_mark:                                                                                       | N/A                                                                                                      | 1                                                                                                        |
| `OptimizedForStreaming`                                                                                  | **bool*                                                                                                  | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | false                                                                                                    |
| `Part`                                                                                                   | [][components.MediaContainerWithDecisionPart](../../models/components/mediacontainerwithdecisionpart.md) | :heavy_minus_sign:                                                                                       | N/A                                                                                                      |                                                                                                          |
| `VideoCodec`                                                                                             | **string*                                                                                                | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | h264                                                                                                     |
| `VideoFrameRate`                                                                                         | **string*                                                                                                | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | 24p                                                                                                      |
| `VideoProfile`                                                                                           | **string*                                                                                                | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | main                                                                                                     |
| `VideoResolution`                                                                                        | **string*                                                                                                | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | 720                                                                                                      |
| `Width`                                                                                                  | **int*                                                                                                   | :heavy_minus_sign:                                                                                       | N/A                                                                                                      | 1280                                                                                                     |
| `Abr`                                                                                                    | **bool*                                                                                                  | :heavy_minus_sign:                                                                                       | N/A                                                                                                      |                                                                                                          |
| `ResourceSession`                                                                                        | **string*                                                                                                | :heavy_minus_sign:                                                                                       | N/A                                                                                                      |                                                                                                          |
| `Selected`                                                                                               | **bool*                                                                                                  | :heavy_minus_sign:                                                                                       | N/A                                                                                                      |                                                                                                          |
| `AdditionalProperties`                                                                                   | map[string]*any*                                                                                         | :heavy_minus_sign:                                                                                       | N/A                                                                                                      |                                                                                                          |