CreateTaskChildRequest is the shared child-task create payload.
| 698 | |
| 699 | // CreateTaskChildRequest is the shared child-task create payload. |
| 700 | type CreateTaskChildRequest struct { |
| 701 | ID string `json:"id,omitempty"` |
| 702 | Identifier string `json:"identifier,omitempty"` |
| 703 | Scope taskpkg.Scope `json:"scope"` |
| 704 | Workspace string `json:"workspace,omitempty"` |
| 705 | NetworkChannel string `json:"network_channel,omitempty"` |
| 706 | Title string `json:"title"` |
| 707 | Description string `json:"description,omitempty"` |
| 708 | Priority taskpkg.Priority `json:"priority,omitempty"` |
| 709 | MaxAttempts *int `json:"max_attempts,omitempty"` |
| 710 | AutoEnqueueOnReady bool `json:"auto_enqueue_on_ready,omitempty"` |
| 711 | Draft bool `json:"draft,omitempty"` |
| 712 | ApprovalPolicy taskpkg.ApprovalPolicy `json:"approval_policy,omitempty"` |
| 713 | Owner *taskpkg.Ownership `json:"owner,omitempty"` |
| 714 | WakeCreator *bool `json:"wake_creator,omitempty"` |
| 715 | Metadata json.RawMessage `json:"metadata,omitempty"` |
| 716 | } |
| 717 | |
| 718 | // UpdateTaskRequest is the shared task patch payload. |
| 719 | type UpdateTaskRequest struct { |
no outgoing calls
no test coverage detected