mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
24 lines
3.1 KiB
Markdown
24 lines
3.1 KiB
Markdown
# GetServerActivitiesResponse
|
|
|
|
## Example Usage
|
|
|
|
```typescript
|
|
import { GetServerActivitiesResponse } from "@lukehagar/plexjs/sdk/models/operations";
|
|
|
|
let value: GetServerActivitiesResponse = {
|
|
contentType: "<value>",
|
|
statusCode: 300,
|
|
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 |
|
|
| `object` | [operations.GetServerActivitiesResponseBody](../../../sdk/models/operations/getserveractivitiesresponsebody.md) | :heavy_minus_sign: | The Server Activities | |