mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
23 lines
1.8 KiB
Markdown
23 lines
1.8 KiB
Markdown
# MarkUnplayedResponse
|
|
|
|
## Example Usage
|
|
|
|
```typescript
|
|
import { MarkUnplayedResponse } from "@lukehagar/plexjs/sdk/models/operations";
|
|
|
|
let value: MarkUnplayedResponse = {
|
|
contentType: "<value>",
|
|
statusCode: 963663,
|
|
rawResponse: new Response("{\"message\": \"hello world\"}", {
|
|
headers: { "Content-Type": "application/json" },
|
|
}),
|
|
};
|
|
```
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | |