# MediaContainerWithDecisionMediaContainer
`MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable.
Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination)
The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Identifier` | *string* | :heavy_minus_sign: | N/A |
| `Offset` | *long* | :heavy_minus_sign: | The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
|
| `Size` | *long* | :heavy_minus_sign: | N/A |
| `TotalSize` | *long* | :heavy_minus_sign: | The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
|
| `AvailableBandwidth` | *long* | :heavy_minus_sign: | The maximum available bitrate when the decision was rendered. |
| `DirectPlayDecisionCode` | *long* | :heavy_minus_sign: | N/A |
| `DirectPlayDecisionText` | *string* | :heavy_minus_sign: | N/A |
| `GeneralDecisionCode` | *long* | :heavy_minus_sign: | The overall decision. 1xxx are playback can succeed, 2xxx are a general error (such as insufficient bandwidth), 3xxx are errors in direct play, and 4xxx are errors in transcodes. Same codes are used in all. |
| `GeneralDecisionText` | *string* | :heavy_minus_sign: | N/A |
| `MdeDecisionCode` | *long* | :heavy_minus_sign: | The code indicating the status of evaluation of playback when client indicates `hasMDE=1` |
| `MdeDecisionText` | *string* | :heavy_minus_sign: | Descriptive text for the above code |
| `Metadata` | List<[MediaContainerWithDecisionMetadata](../../Models/Components/MediaContainerWithDecisionMetadata.md)> | :heavy_minus_sign: | N/A |
| `TranscodeDecisionCode` | *long* | :heavy_minus_sign: | N/A |
| `TranscodeDecisionText` | *string* | :heavy_minus_sign: | N/A |