# 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`                                                                                                                                                                                                       | **int64*                                                                                                                                                                                                       | :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`                                                                                                                                                                                                         | **int64*                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |
| `TotalSize`                                                                                                                                                                                                    | **int64*                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                             | The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.<br/>                                                                                                           |
| `AvailableBandwidth`                                                                                                                                                                                           | **int64*                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                             | The maximum available bitrate when the decision was rendered.                                                                                                                                                  |
| `DirectPlayDecisionCode`                                                                                                                                                                                       | **int64*                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |
| `DirectPlayDecisionText`                                                                                                                                                                                       | **string*                                                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |
| `GeneralDecisionCode`                                                                                                                                                                                          | **int64*                                                                                                                                                                                                       | :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`                                                                                                                                                                                              | **int64*                                                                                                                                                                                                       | :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`                                                                                                                                                                                                     | [][components.MediaContainerWithDecisionMetadata](../../models/components/mediacontainerwithdecisionmetadata.md)                                                                                               | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |
| `TranscodeDecisionCode`                                                                                                                                                                                        | **int64*                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |
| `TranscodeDecisionText`                                                                                                                                                                                        | **string*                                                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                             | N/A                                                                                                                                                                                                            |