# ReportMediaContainer

`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.


## Example Usage

```typescript
import { ReportMediaContainer } from "@lukehagar/plexjs/sdk/models/operations";

let value: ReportMediaContainer = {
  livetv: 7,
  machineIdentifier: "0123456789abcdef0123456789abcdef012345678",
  musicAnalysis: 2,
  myPlexMappingState: "mapped",
  myPlexSigninState: "ok",
  offlineTranscode: 1,
};
```

## Fields

| Field                                                                                                                                    | Type                                                                                                                                     | Required                                                                                                                                 | Description                                                                                                                              | Example                                                                                                                                  |
| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `identifier`                                                                                                                             | *string*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `offset`                                                                                                                                 | *number*                                                                                                                                 | :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`                                                                                                                                   | *number*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `totalSize`                                                                                                                              | *number*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.<br/>                                     |                                                                                                                                          |
| `allowCameraUpload`                                                                                                                      | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `allowChannelAccess`                                                                                                                     | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `allowMediaDeletion`                                                                                                                     | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `allowSharing`                                                                                                                           | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `allowSync`                                                                                                                              | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `allowTuners`                                                                                                                            | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `backgroundProcessing`                                                                                                                   | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `certificate`                                                                                                                            | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `companionProxy`                                                                                                                         | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `countryCode`                                                                                                                            | *string*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `diagnostics`                                                                                                                            | *string*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `eventStream`                                                                                                                            | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `friendlyName`                                                                                                                           | *string*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `hubSearch`                                                                                                                              | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `itemClusters`                                                                                                                           | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `livetv`                                                                                                                                 | *number*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      | 7                                                                                                                                        |
| `machineIdentifier`                                                                                                                      | *any*                                                                                                                                    | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      | 0123456789abcdef0123456789abcdef012345678                                                                                                |
| `mediaProviders`                                                                                                                         | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `multiuser`                                                                                                                              | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `musicAnalysis`                                                                                                                          | *number*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      | 2                                                                                                                                        |
| `myPlex`                                                                                                                                 | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `myPlexMappingState`                                                                                                                     | *any*                                                                                                                                    | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      | mapped                                                                                                                                   |
| `myPlexSigninState`                                                                                                                      | *any*                                                                                                                                    | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      | ok                                                                                                                                       |
| `myPlexSubscription`                                                                                                                     | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `myPlexUsername`                                                                                                                         | *string*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `offlineTranscode`                                                                                                                       | *any*                                                                                                                                    | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      | 1                                                                                                                                        |
| `ownerFeatures`                                                                                                                          | *string*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | A comma-separated list of features which are enabled for the server owner                                                                |                                                                                                                                          |
| `platform`                                                                                                                               | *string*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `platformVersion`                                                                                                                        | *string*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `pluginHost`                                                                                                                             | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `pushNotifications`                                                                                                                      | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `readOnlyLibraries`                                                                                                                      | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `streamingBrainABRVersion`                                                                                                               | *number*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `streamingBrainVersion`                                                                                                                  | *number*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `sync`                                                                                                                                   | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `transcoderActiveVideoSessions`                                                                                                          | *number*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `transcoderAudio`                                                                                                                        | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `transcoderLyrics`                                                                                                                       | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `transcoderPhoto`                                                                                                                        | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `transcoderSubtitles`                                                                                                                    | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `transcoderVideo`                                                                                                                        | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `transcoderVideoBitrates`                                                                                                                | *any*                                                                                                                                    | :heavy_minus_sign:                                                                                                                       | The suggested video quality bitrates to present to the user                                                                              |                                                                                                                                          |
| `transcoderVideoQualities`                                                                                                               | *string*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `transcoderVideoResolutions`                                                                                                             | *any*                                                                                                                                    | :heavy_minus_sign:                                                                                                                       | The suggested video resolutions to the above quality bitrates                                                                            |                                                                                                                                          |
| `updatedAt`                                                                                                                              | *number*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `updater`                                                                                                                                | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `version`                                                                                                                                | *string*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `voiceSearch`                                                                                                                            | *boolean*                                                                                                                                | :heavy_minus_sign:                                                                                                                       | N/A                                                                                                                                      |                                                                                                                                          |
| `bandwidths`                                                                                                                             | [operations.Bandwidths](../../../sdk/models/operations/bandwidths.md)                                                                    | :heavy_minus_sign:                                                                                                                       | A list of media times and bandwidths when trascoding is using with auto adjustment of bandwidth                                          |                                                                                                                                          |
| `terminationCode`                                                                                                                        | *number*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | A code describing why the session was terminated by the server.                                                                          |                                                                                                                                          |
| `terminationText`                                                                                                                        | *string*                                                                                                                                 | :heavy_minus_sign:                                                                                                                       | A user friendly and localized text describing why the session was terminated by the server.                                              |                                                                                                                                          |