# 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`                                                                                                                                                                                                   | *Optional\<String>*                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |
| `offset`                                                                                                                                                                                                       | *Optional\<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.<br/>                                                                   |
| `size`                                                                                                                                                                                                         | *Optional\<Long>*                                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |
| `totalSize`                                                                                                                                                                                                    | *Optional\<Long>*                                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                             | The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.<br/>                                                                                                           |
| `availableBandwidth`                                                                                                                                                                                           | *Optional\<Long>*                                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                             | The maximum available bitrate when the decision was rendered.                                                                                                                                                  |
| `directPlayDecisionCode`                                                                                                                                                                                       | *Optional\<Long>*                                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |
| `directPlayDecisionText`                                                                                                                                                                                       | *Optional\<String>*                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |
| `generalDecisionCode`                                                                                                                                                                                          | *Optional\<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`                                                                                                                                                                                          | *Optional\<String>*                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |
| `mdeDecisionCode`                                                                                                                                                                                              | *Optional\<Long>*                                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                             | The code indicating the status of evaluation of playback when client indicates `hasMDE=1`                                                                                                                      |
| `mdeDecisionText`                                                                                                                                                                                              | *Optional\<String>*                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                             | Descriptive text for the above code                                                                                                                                                                            |
| `metadata`                                                                                                                                                                                                     | List\<[MediaContainerWithDecisionMetadata](../../models/shared/MediaContainerWithDecisionMetadata.md)>                                                                                                         | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |
| `transcodeDecisionCode`                                                                                                                                                                                        | *Optional\<Long>*                                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |
| `transcodeDecisionText`                                                                                                                                                                                        | *Optional\<String>*                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |