Files
plexjs/docs/sdk/models/operations/ratings.md

21 lines
1.4 KiB
Markdown

# Ratings
## Example Usage
```typescript
import { Ratings } from "@lukehagar/plexjs/sdk/models/operations";
let value: Ratings = {
image: "imdb://image.rating",
value: 9,
type: "audience",
};
```
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
| `image` | *string* | :heavy_check_mark: | The image or reference for the rating. | imdb://image.rating |
| `value` | *number* | :heavy_check_mark: | The rating value. | 9 |
| `type` | *string* | :heavy_check_mark: | The type of rating (e.g., audience, critic). | audience |