mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 20:47:46 +00:00
17 lines
1.0 KiB
Markdown
17 lines
1.0 KiB
Markdown
# StartTaskRequest
|
|
|
|
## Example Usage
|
|
|
|
```typescript
|
|
import { StartTaskRequest, TaskName } from "@lukehagar/plexjs/sdk/models/operations";
|
|
|
|
let value: StartTaskRequest = {
|
|
taskName: TaskName.OptimizeDatabase,
|
|
};
|
|
```
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
|
|
| `taskName` | [operations.TaskName](../../../sdk/models/operations/taskname.md) | :heavy_check_mark: | the name of the task to be started. | |