Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteV1ChecklistTemplatesID(params *DeleteV1ChecklistTemplatesIDParams, ...) (*DeleteV1ChecklistTemplatesIDOK, error)
- func (a *Client) DeleteV1IncidentsIncidentIDTasksTaskID(params *DeleteV1IncidentsIncidentIDTasksTaskIDParams, ...) (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent, error)
- func (a *Client) DeleteV1TaskListsTaskListID(params *DeleteV1TaskListsTaskListIDParams, ...) (*DeleteV1TaskListsTaskListIDOK, error)
- func (a *Client) GetV1ChecklistTemplates(params *GetV1ChecklistTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1ChecklistTemplatesOK, error)
- func (a *Client) GetV1ChecklistTemplatesID(params *GetV1ChecklistTemplatesIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1ChecklistTemplatesIDOK, error)
- func (a *Client) GetV1IncidentsIncidentIDTasks(params *GetV1IncidentsIncidentIDTasksParams, ...) (*GetV1IncidentsIncidentIDTasksOK, error)
- func (a *Client) GetV1IncidentsIncidentIDTasksTaskID(params *GetV1IncidentsIncidentIDTasksTaskIDParams, ...) (*GetV1IncidentsIncidentIDTasksTaskIDOK, error)
- func (a *Client) GetV1TaskLists(params *GetV1TaskListsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1TaskListsOK, error)
- func (a *Client) GetV1TaskListsTaskListID(params *GetV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1TaskListsTaskListIDOK, error)
- func (a *Client) PatchV1ChecklistTemplatesID(params *PatchV1ChecklistTemplatesIDParams, ...) (*PatchV1ChecklistTemplatesIDOK, error)
- func (a *Client) PatchV1IncidentsIncidentIDTasksTaskID(params *PatchV1IncidentsIncidentIDTasksTaskIDParams, ...) (*PatchV1IncidentsIncidentIDTasksTaskIDOK, error)
- func (a *Client) PatchV1TaskListsTaskListID(params *PatchV1TaskListsTaskListIDParams, ...) (*PatchV1TaskListsTaskListIDOK, error)
- func (a *Client) PostV1ChecklistTemplates(params *PostV1ChecklistTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostV1ChecklistTemplatesCreated, error)
- func (a *Client) PostV1IncidentsIncidentIDTaskLists(params *PostV1IncidentsIncidentIDTaskListsParams, ...) (*PostV1IncidentsIncidentIDTaskListsCreated, error)
- func (a *Client) PostV1IncidentsIncidentIDTasks(params *PostV1IncidentsIncidentIDTasksParams, ...) (*PostV1IncidentsIncidentIDTasksCreated, error)
- func (a *Client) PostV1IncidentsIncidentIDTasksTaskIDConvert(params *PostV1IncidentsIncidentIDTasksTaskIDConvertParams, ...) (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated, error)
- func (a *Client) PostV1TaskLists(params *PostV1TaskListsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostV1TaskListsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteV1ChecklistTemplatesIDOK
- func (o *DeleteV1ChecklistTemplatesIDOK) Error() string
- func (o *DeleteV1ChecklistTemplatesIDOK) GetPayload() *models.ChecklistTemplateEntity
- func (o *DeleteV1ChecklistTemplatesIDOK) IsClientError() bool
- func (o *DeleteV1ChecklistTemplatesIDOK) IsCode(code int) bool
- func (o *DeleteV1ChecklistTemplatesIDOK) IsRedirect() bool
- func (o *DeleteV1ChecklistTemplatesIDOK) IsServerError() bool
- func (o *DeleteV1ChecklistTemplatesIDOK) IsSuccess() bool
- func (o *DeleteV1ChecklistTemplatesIDOK) String() string
- type DeleteV1ChecklistTemplatesIDParams
- func NewDeleteV1ChecklistTemplatesIDParams() *DeleteV1ChecklistTemplatesIDParams
- func NewDeleteV1ChecklistTemplatesIDParamsWithContext(ctx context.Context) *DeleteV1ChecklistTemplatesIDParams
- func NewDeleteV1ChecklistTemplatesIDParamsWithHTTPClient(client *http.Client) *DeleteV1ChecklistTemplatesIDParams
- func NewDeleteV1ChecklistTemplatesIDParamsWithTimeout(timeout time.Duration) *DeleteV1ChecklistTemplatesIDParams
- func (o *DeleteV1ChecklistTemplatesIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1ChecklistTemplatesIDParams) SetDefaults()
- func (o *DeleteV1ChecklistTemplatesIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1ChecklistTemplatesIDParams) SetID(id string)
- func (o *DeleteV1ChecklistTemplatesIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1ChecklistTemplatesIDParams) WithContext(ctx context.Context) *DeleteV1ChecklistTemplatesIDParams
- func (o *DeleteV1ChecklistTemplatesIDParams) WithDefaults() *DeleteV1ChecklistTemplatesIDParams
- func (o *DeleteV1ChecklistTemplatesIDParams) WithHTTPClient(client *http.Client) *DeleteV1ChecklistTemplatesIDParams
- func (o *DeleteV1ChecklistTemplatesIDParams) WithID(id string) *DeleteV1ChecklistTemplatesIDParams
- func (o *DeleteV1ChecklistTemplatesIDParams) WithTimeout(timeout time.Duration) *DeleteV1ChecklistTemplatesIDParams
- func (o *DeleteV1ChecklistTemplatesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1ChecklistTemplatesIDReader
- type DeleteV1IncidentsIncidentIDTasksTaskIDNoContent
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) Error() string
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsClientError() bool
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsCode(code int) bool
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsRedirect() bool
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsServerError() bool
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsSuccess() bool
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) String() string
- type DeleteV1IncidentsIncidentIDTasksTaskIDParams
- func NewDeleteV1IncidentsIncidentIDTasksTaskIDParams() *DeleteV1IncidentsIncidentIDTasksTaskIDParams
- func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
- func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
- func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetDefaults()
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID(incidentID string)
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetTaskID(taskID string)
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults() *DeleteV1IncidentsIncidentIDTasksTaskIDParams
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID(incidentID string) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID(taskID string) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
- func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1IncidentsIncidentIDTasksTaskIDReader
- type DeleteV1TaskListsTaskListIDOK
- func (o *DeleteV1TaskListsTaskListIDOK) Error() string
- func (o *DeleteV1TaskListsTaskListIDOK) GetPayload() *models.TaskListEntity
- func (o *DeleteV1TaskListsTaskListIDOK) IsClientError() bool
- func (o *DeleteV1TaskListsTaskListIDOK) IsCode(code int) bool
- func (o *DeleteV1TaskListsTaskListIDOK) IsRedirect() bool
- func (o *DeleteV1TaskListsTaskListIDOK) IsServerError() bool
- func (o *DeleteV1TaskListsTaskListIDOK) IsSuccess() bool
- func (o *DeleteV1TaskListsTaskListIDOK) String() string
- type DeleteV1TaskListsTaskListIDParams
- func NewDeleteV1TaskListsTaskListIDParams() *DeleteV1TaskListsTaskListIDParams
- func NewDeleteV1TaskListsTaskListIDParamsWithContext(ctx context.Context) *DeleteV1TaskListsTaskListIDParams
- func NewDeleteV1TaskListsTaskListIDParamsWithHTTPClient(client *http.Client) *DeleteV1TaskListsTaskListIDParams
- func NewDeleteV1TaskListsTaskListIDParamsWithTimeout(timeout time.Duration) *DeleteV1TaskListsTaskListIDParams
- func (o *DeleteV1TaskListsTaskListIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1TaskListsTaskListIDParams) SetDefaults()
- func (o *DeleteV1TaskListsTaskListIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1TaskListsTaskListIDParams) SetTaskListID(taskListID string)
- func (o *DeleteV1TaskListsTaskListIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1TaskListsTaskListIDParams) WithContext(ctx context.Context) *DeleteV1TaskListsTaskListIDParams
- func (o *DeleteV1TaskListsTaskListIDParams) WithDefaults() *DeleteV1TaskListsTaskListIDParams
- func (o *DeleteV1TaskListsTaskListIDParams) WithHTTPClient(client *http.Client) *DeleteV1TaskListsTaskListIDParams
- func (o *DeleteV1TaskListsTaskListIDParams) WithTaskListID(taskListID string) *DeleteV1TaskListsTaskListIDParams
- func (o *DeleteV1TaskListsTaskListIDParams) WithTimeout(timeout time.Duration) *DeleteV1TaskListsTaskListIDParams
- func (o *DeleteV1TaskListsTaskListIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1TaskListsTaskListIDReader
- type GetV1ChecklistTemplatesIDOK
- func (o *GetV1ChecklistTemplatesIDOK) Error() string
- func (o *GetV1ChecklistTemplatesIDOK) GetPayload() *models.ChecklistTemplateEntity
- func (o *GetV1ChecklistTemplatesIDOK) IsClientError() bool
- func (o *GetV1ChecklistTemplatesIDOK) IsCode(code int) bool
- func (o *GetV1ChecklistTemplatesIDOK) IsRedirect() bool
- func (o *GetV1ChecklistTemplatesIDOK) IsServerError() bool
- func (o *GetV1ChecklistTemplatesIDOK) IsSuccess() bool
- func (o *GetV1ChecklistTemplatesIDOK) String() string
- type GetV1ChecklistTemplatesIDParams
- func NewGetV1ChecklistTemplatesIDParams() *GetV1ChecklistTemplatesIDParams
- func NewGetV1ChecklistTemplatesIDParamsWithContext(ctx context.Context) *GetV1ChecklistTemplatesIDParams
- func NewGetV1ChecklistTemplatesIDParamsWithHTTPClient(client *http.Client) *GetV1ChecklistTemplatesIDParams
- func NewGetV1ChecklistTemplatesIDParamsWithTimeout(timeout time.Duration) *GetV1ChecklistTemplatesIDParams
- func (o *GetV1ChecklistTemplatesIDParams) SetContext(ctx context.Context)
- func (o *GetV1ChecklistTemplatesIDParams) SetDefaults()
- func (o *GetV1ChecklistTemplatesIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1ChecklistTemplatesIDParams) SetID(id string)
- func (o *GetV1ChecklistTemplatesIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1ChecklistTemplatesIDParams) WithContext(ctx context.Context) *GetV1ChecklistTemplatesIDParams
- func (o *GetV1ChecklistTemplatesIDParams) WithDefaults() *GetV1ChecklistTemplatesIDParams
- func (o *GetV1ChecklistTemplatesIDParams) WithHTTPClient(client *http.Client) *GetV1ChecklistTemplatesIDParams
- func (o *GetV1ChecklistTemplatesIDParams) WithID(id string) *GetV1ChecklistTemplatesIDParams
- func (o *GetV1ChecklistTemplatesIDParams) WithTimeout(timeout time.Duration) *GetV1ChecklistTemplatesIDParams
- func (o *GetV1ChecklistTemplatesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1ChecklistTemplatesIDReader
- type GetV1ChecklistTemplatesOK
- func (o *GetV1ChecklistTemplatesOK) Error() string
- func (o *GetV1ChecklistTemplatesOK) GetPayload() *models.ChecklistTemplateEntityPaginated
- func (o *GetV1ChecklistTemplatesOK) IsClientError() bool
- func (o *GetV1ChecklistTemplatesOK) IsCode(code int) bool
- func (o *GetV1ChecklistTemplatesOK) IsRedirect() bool
- func (o *GetV1ChecklistTemplatesOK) IsServerError() bool
- func (o *GetV1ChecklistTemplatesOK) IsSuccess() bool
- func (o *GetV1ChecklistTemplatesOK) String() string
- type GetV1ChecklistTemplatesParams
- func NewGetV1ChecklistTemplatesParams() *GetV1ChecklistTemplatesParams
- func NewGetV1ChecklistTemplatesParamsWithContext(ctx context.Context) *GetV1ChecklistTemplatesParams
- func NewGetV1ChecklistTemplatesParamsWithHTTPClient(client *http.Client) *GetV1ChecklistTemplatesParams
- func NewGetV1ChecklistTemplatesParamsWithTimeout(timeout time.Duration) *GetV1ChecklistTemplatesParams
- func (o *GetV1ChecklistTemplatesParams) SetContext(ctx context.Context)
- func (o *GetV1ChecklistTemplatesParams) SetDefaults()
- func (o *GetV1ChecklistTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *GetV1ChecklistTemplatesParams) SetPage(page *int32)
- func (o *GetV1ChecklistTemplatesParams) SetPerPage(perPage *int32)
- func (o *GetV1ChecklistTemplatesParams) SetQuery(query *string)
- func (o *GetV1ChecklistTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *GetV1ChecklistTemplatesParams) WithContext(ctx context.Context) *GetV1ChecklistTemplatesParams
- func (o *GetV1ChecklistTemplatesParams) WithDefaults() *GetV1ChecklistTemplatesParams
- func (o *GetV1ChecklistTemplatesParams) WithHTTPClient(client *http.Client) *GetV1ChecklistTemplatesParams
- func (o *GetV1ChecklistTemplatesParams) WithPage(page *int32) *GetV1ChecklistTemplatesParams
- func (o *GetV1ChecklistTemplatesParams) WithPerPage(perPage *int32) *GetV1ChecklistTemplatesParams
- func (o *GetV1ChecklistTemplatesParams) WithQuery(query *string) *GetV1ChecklistTemplatesParams
- func (o *GetV1ChecklistTemplatesParams) WithTimeout(timeout time.Duration) *GetV1ChecklistTemplatesParams
- func (o *GetV1ChecklistTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1ChecklistTemplatesReader
- type GetV1IncidentsIncidentIDTasksOK
- func (o *GetV1IncidentsIncidentIDTasksOK) Error() string
- func (o *GetV1IncidentsIncidentIDTasksOK) GetPayload() *models.TaskEntityPaginated
- func (o *GetV1IncidentsIncidentIDTasksOK) IsClientError() bool
- func (o *GetV1IncidentsIncidentIDTasksOK) IsCode(code int) bool
- func (o *GetV1IncidentsIncidentIDTasksOK) IsRedirect() bool
- func (o *GetV1IncidentsIncidentIDTasksOK) IsServerError() bool
- func (o *GetV1IncidentsIncidentIDTasksOK) IsSuccess() bool
- func (o *GetV1IncidentsIncidentIDTasksOK) String() string
- type GetV1IncidentsIncidentIDTasksParams
- func NewGetV1IncidentsIncidentIDTasksParams() *GetV1IncidentsIncidentIDTasksParams
- func NewGetV1IncidentsIncidentIDTasksParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDTasksParams
- func NewGetV1IncidentsIncidentIDTasksParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDTasksParams
- func NewGetV1IncidentsIncidentIDTasksParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDTasksParams
- func (o *GetV1IncidentsIncidentIDTasksParams) SetContext(ctx context.Context)
- func (o *GetV1IncidentsIncidentIDTasksParams) SetDefaults()
- func (o *GetV1IncidentsIncidentIDTasksParams) SetHTTPClient(client *http.Client)
- func (o *GetV1IncidentsIncidentIDTasksParams) SetIncidentID(incidentID string)
- func (o *GetV1IncidentsIncidentIDTasksParams) SetPage(page *int32)
- func (o *GetV1IncidentsIncidentIDTasksParams) SetPerPage(perPage *int32)
- func (o *GetV1IncidentsIncidentIDTasksParams) SetTimeout(timeout time.Duration)
- func (o *GetV1IncidentsIncidentIDTasksParams) WithContext(ctx context.Context) *GetV1IncidentsIncidentIDTasksParams
- func (o *GetV1IncidentsIncidentIDTasksParams) WithDefaults() *GetV1IncidentsIncidentIDTasksParams
- func (o *GetV1IncidentsIncidentIDTasksParams) WithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDTasksParams
- func (o *GetV1IncidentsIncidentIDTasksParams) WithIncidentID(incidentID string) *GetV1IncidentsIncidentIDTasksParams
- func (o *GetV1IncidentsIncidentIDTasksParams) WithPage(page *int32) *GetV1IncidentsIncidentIDTasksParams
- func (o *GetV1IncidentsIncidentIDTasksParams) WithPerPage(perPage *int32) *GetV1IncidentsIncidentIDTasksParams
- func (o *GetV1IncidentsIncidentIDTasksParams) WithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDTasksParams
- func (o *GetV1IncidentsIncidentIDTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1IncidentsIncidentIDTasksReader
- type GetV1IncidentsIncidentIDTasksTaskIDOK
- func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) Error() string
- func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) IsClientError() bool
- func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) IsCode(code int) bool
- func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) IsRedirect() bool
- func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) IsServerError() bool
- func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) IsSuccess() bool
- func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) String() string
- type GetV1IncidentsIncidentIDTasksTaskIDParams
- func NewGetV1IncidentsIncidentIDTasksTaskIDParams() *GetV1IncidentsIncidentIDTasksTaskIDParams
- func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDTasksTaskIDParams
- func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDTasksTaskIDParams
- func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDTasksTaskIDParams
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetContext(ctx context.Context)
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetDefaults()
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID(incidentID string)
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetTaskID(taskID string)
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WithContext(ctx context.Context) *GetV1IncidentsIncidentIDTasksTaskIDParams
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults() *GetV1IncidentsIncidentIDTasksTaskIDParams
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDTasksTaskIDParams
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID(incidentID string) *GetV1IncidentsIncidentIDTasksTaskIDParams
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID(taskID string) *GetV1IncidentsIncidentIDTasksTaskIDParams
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDTasksTaskIDParams
- func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1IncidentsIncidentIDTasksTaskIDReader
- type GetV1TaskListsOK
- func (o *GetV1TaskListsOK) Error() string
- func (o *GetV1TaskListsOK) GetPayload() *models.TaskListEntity
- func (o *GetV1TaskListsOK) IsClientError() bool
- func (o *GetV1TaskListsOK) IsCode(code int) bool
- func (o *GetV1TaskListsOK) IsRedirect() bool
- func (o *GetV1TaskListsOK) IsServerError() bool
- func (o *GetV1TaskListsOK) IsSuccess() bool
- func (o *GetV1TaskListsOK) String() string
- type GetV1TaskListsParams
- func NewGetV1TaskListsParams() *GetV1TaskListsParams
- func NewGetV1TaskListsParamsWithContext(ctx context.Context) *GetV1TaskListsParams
- func NewGetV1TaskListsParamsWithHTTPClient(client *http.Client) *GetV1TaskListsParams
- func NewGetV1TaskListsParamsWithTimeout(timeout time.Duration) *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) SetContext(ctx context.Context)
- func (o *GetV1TaskListsParams) SetDefaults()
- func (o *GetV1TaskListsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1TaskListsParams) SetPage(page *int32)
- func (o *GetV1TaskListsParams) SetPerPage(perPage *int32)
- func (o *GetV1TaskListsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1TaskListsParams) WithContext(ctx context.Context) *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) WithDefaults() *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) WithHTTPClient(client *http.Client) *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) WithPage(page *int32) *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) WithPerPage(perPage *int32) *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) WithTimeout(timeout time.Duration) *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1TaskListsReader
- type GetV1TaskListsTaskListIDOK
- func (o *GetV1TaskListsTaskListIDOK) Error() string
- func (o *GetV1TaskListsTaskListIDOK) GetPayload() *models.TaskListEntity
- func (o *GetV1TaskListsTaskListIDOK) IsClientError() bool
- func (o *GetV1TaskListsTaskListIDOK) IsCode(code int) bool
- func (o *GetV1TaskListsTaskListIDOK) IsRedirect() bool
- func (o *GetV1TaskListsTaskListIDOK) IsServerError() bool
- func (o *GetV1TaskListsTaskListIDOK) IsSuccess() bool
- func (o *GetV1TaskListsTaskListIDOK) String() string
- type GetV1TaskListsTaskListIDParams
- func NewGetV1TaskListsTaskListIDParams() *GetV1TaskListsTaskListIDParams
- func NewGetV1TaskListsTaskListIDParamsWithContext(ctx context.Context) *GetV1TaskListsTaskListIDParams
- func NewGetV1TaskListsTaskListIDParamsWithHTTPClient(client *http.Client) *GetV1TaskListsTaskListIDParams
- func NewGetV1TaskListsTaskListIDParamsWithTimeout(timeout time.Duration) *GetV1TaskListsTaskListIDParams
- func (o *GetV1TaskListsTaskListIDParams) SetContext(ctx context.Context)
- func (o *GetV1TaskListsTaskListIDParams) SetDefaults()
- func (o *GetV1TaskListsTaskListIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1TaskListsTaskListIDParams) SetTaskListID(taskListID string)
- func (o *GetV1TaskListsTaskListIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1TaskListsTaskListIDParams) WithContext(ctx context.Context) *GetV1TaskListsTaskListIDParams
- func (o *GetV1TaskListsTaskListIDParams) WithDefaults() *GetV1TaskListsTaskListIDParams
- func (o *GetV1TaskListsTaskListIDParams) WithHTTPClient(client *http.Client) *GetV1TaskListsTaskListIDParams
- func (o *GetV1TaskListsTaskListIDParams) WithTaskListID(taskListID string) *GetV1TaskListsTaskListIDParams
- func (o *GetV1TaskListsTaskListIDParams) WithTimeout(timeout time.Duration) *GetV1TaskListsTaskListIDParams
- func (o *GetV1TaskListsTaskListIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1TaskListsTaskListIDReader
- type PatchV1ChecklistTemplatesIDOK
- func (o *PatchV1ChecklistTemplatesIDOK) Error() string
- func (o *PatchV1ChecklistTemplatesIDOK) GetPayload() *models.ChecklistTemplateEntity
- func (o *PatchV1ChecklistTemplatesIDOK) IsClientError() bool
- func (o *PatchV1ChecklistTemplatesIDOK) IsCode(code int) bool
- func (o *PatchV1ChecklistTemplatesIDOK) IsRedirect() bool
- func (o *PatchV1ChecklistTemplatesIDOK) IsServerError() bool
- func (o *PatchV1ChecklistTemplatesIDOK) IsSuccess() bool
- func (o *PatchV1ChecklistTemplatesIDOK) String() string
- type PatchV1ChecklistTemplatesIDParams
- func NewPatchV1ChecklistTemplatesIDParams() *PatchV1ChecklistTemplatesIDParams
- func NewPatchV1ChecklistTemplatesIDParamsWithContext(ctx context.Context) *PatchV1ChecklistTemplatesIDParams
- func NewPatchV1ChecklistTemplatesIDParamsWithHTTPClient(client *http.Client) *PatchV1ChecklistTemplatesIDParams
- func NewPatchV1ChecklistTemplatesIDParamsWithTimeout(timeout time.Duration) *PatchV1ChecklistTemplatesIDParams
- func (o *PatchV1ChecklistTemplatesIDParams) SetContext(ctx context.Context)
- func (o *PatchV1ChecklistTemplatesIDParams) SetDefaults()
- func (o *PatchV1ChecklistTemplatesIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchV1ChecklistTemplatesIDParams) SetID(id string)
- func (o *PatchV1ChecklistTemplatesIDParams) SetPatchV1ChecklistTemplatesID(patchV1ChecklistTemplatesID *models.PatchV1ChecklistTemplatesID)
- func (o *PatchV1ChecklistTemplatesIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchV1ChecklistTemplatesIDParams) WithContext(ctx context.Context) *PatchV1ChecklistTemplatesIDParams
- func (o *PatchV1ChecklistTemplatesIDParams) WithDefaults() *PatchV1ChecklistTemplatesIDParams
- func (o *PatchV1ChecklistTemplatesIDParams) WithHTTPClient(client *http.Client) *PatchV1ChecklistTemplatesIDParams
- func (o *PatchV1ChecklistTemplatesIDParams) WithID(id string) *PatchV1ChecklistTemplatesIDParams
- func (o *PatchV1ChecklistTemplatesIDParams) WithPatchV1ChecklistTemplatesID(patchV1ChecklistTemplatesID *models.PatchV1ChecklistTemplatesID) *PatchV1ChecklistTemplatesIDParams
- func (o *PatchV1ChecklistTemplatesIDParams) WithTimeout(timeout time.Duration) *PatchV1ChecklistTemplatesIDParams
- func (o *PatchV1ChecklistTemplatesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV1ChecklistTemplatesIDReader
- type PatchV1IncidentsIncidentIDTasksTaskIDOK
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) Error() string
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) GetPayload() *models.TaskEntity
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) IsClientError() bool
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) IsCode(code int) bool
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) IsRedirect() bool
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) IsServerError() bool
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) IsSuccess() bool
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) String() string
- type PatchV1IncidentsIncidentIDTasksTaskIDParams
- func NewPatchV1IncidentsIncidentIDTasksTaskIDParams() *PatchV1IncidentsIncidentIDTasksTaskIDParams
- func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithContext(ctx context.Context) *PatchV1IncidentsIncidentIDTasksTaskIDParams
- func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDTasksTaskIDParams
- func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDTasksTaskIDParams
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetContext(ctx context.Context)
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetDefaults()
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID(incidentID string)
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetPatchV1IncidentsIncidentIDTasksTaskID(...)
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetTaskID(taskID string)
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithContext(ctx context.Context) *PatchV1IncidentsIncidentIDTasksTaskIDParams
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults() *PatchV1IncidentsIncidentIDTasksTaskIDParams
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDTasksTaskIDParams
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID(incidentID string) *PatchV1IncidentsIncidentIDTasksTaskIDParams
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithPatchV1IncidentsIncidentIDTasksTaskID(...) *PatchV1IncidentsIncidentIDTasksTaskIDParams
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID(taskID string) *PatchV1IncidentsIncidentIDTasksTaskIDParams
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDTasksTaskIDParams
- func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV1IncidentsIncidentIDTasksTaskIDReader
- type PatchV1TaskListsTaskListIDOK
- func (o *PatchV1TaskListsTaskListIDOK) Error() string
- func (o *PatchV1TaskListsTaskListIDOK) GetPayload() *models.TaskListEntity
- func (o *PatchV1TaskListsTaskListIDOK) IsClientError() bool
- func (o *PatchV1TaskListsTaskListIDOK) IsCode(code int) bool
- func (o *PatchV1TaskListsTaskListIDOK) IsRedirect() bool
- func (o *PatchV1TaskListsTaskListIDOK) IsServerError() bool
- func (o *PatchV1TaskListsTaskListIDOK) IsSuccess() bool
- func (o *PatchV1TaskListsTaskListIDOK) String() string
- type PatchV1TaskListsTaskListIDParams
- func NewPatchV1TaskListsTaskListIDParams() *PatchV1TaskListsTaskListIDParams
- func NewPatchV1TaskListsTaskListIDParamsWithContext(ctx context.Context) *PatchV1TaskListsTaskListIDParams
- func NewPatchV1TaskListsTaskListIDParamsWithHTTPClient(client *http.Client) *PatchV1TaskListsTaskListIDParams
- func NewPatchV1TaskListsTaskListIDParamsWithTimeout(timeout time.Duration) *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) SetContext(ctx context.Context)
- func (o *PatchV1TaskListsTaskListIDParams) SetDefaults()
- func (o *PatchV1TaskListsTaskListIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchV1TaskListsTaskListIDParams) SetPatchV1TaskListsTaskListID(patchV1TaskListsTaskListID *models.PatchV1TaskListsTaskListID)
- func (o *PatchV1TaskListsTaskListIDParams) SetTaskListID(taskListID string)
- func (o *PatchV1TaskListsTaskListIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchV1TaskListsTaskListIDParams) WithContext(ctx context.Context) *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) WithDefaults() *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) WithHTTPClient(client *http.Client) *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) WithPatchV1TaskListsTaskListID(patchV1TaskListsTaskListID *models.PatchV1TaskListsTaskListID) *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) WithTaskListID(taskListID string) *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) WithTimeout(timeout time.Duration) *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV1TaskListsTaskListIDReader
- type PostV1ChecklistTemplatesBadRequest
- func (o *PostV1ChecklistTemplatesBadRequest) Error() string
- func (o *PostV1ChecklistTemplatesBadRequest) GetPayload() *models.ErrorEntity
- func (o *PostV1ChecklistTemplatesBadRequest) IsClientError() bool
- func (o *PostV1ChecklistTemplatesBadRequest) IsCode(code int) bool
- func (o *PostV1ChecklistTemplatesBadRequest) IsRedirect() bool
- func (o *PostV1ChecklistTemplatesBadRequest) IsServerError() bool
- func (o *PostV1ChecklistTemplatesBadRequest) IsSuccess() bool
- func (o *PostV1ChecklistTemplatesBadRequest) String() string
- type PostV1ChecklistTemplatesCreated
- func (o *PostV1ChecklistTemplatesCreated) Error() string
- func (o *PostV1ChecklistTemplatesCreated) GetPayload() *models.ChecklistTemplateEntity
- func (o *PostV1ChecklistTemplatesCreated) IsClientError() bool
- func (o *PostV1ChecklistTemplatesCreated) IsCode(code int) bool
- func (o *PostV1ChecklistTemplatesCreated) IsRedirect() bool
- func (o *PostV1ChecklistTemplatesCreated) IsServerError() bool
- func (o *PostV1ChecklistTemplatesCreated) IsSuccess() bool
- func (o *PostV1ChecklistTemplatesCreated) String() string
- type PostV1ChecklistTemplatesParams
- func NewPostV1ChecklistTemplatesParams() *PostV1ChecklistTemplatesParams
- func NewPostV1ChecklistTemplatesParamsWithContext(ctx context.Context) *PostV1ChecklistTemplatesParams
- func NewPostV1ChecklistTemplatesParamsWithHTTPClient(client *http.Client) *PostV1ChecklistTemplatesParams
- func NewPostV1ChecklistTemplatesParamsWithTimeout(timeout time.Duration) *PostV1ChecklistTemplatesParams
- func (o *PostV1ChecklistTemplatesParams) SetContext(ctx context.Context)
- func (o *PostV1ChecklistTemplatesParams) SetDefaults()
- func (o *PostV1ChecklistTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *PostV1ChecklistTemplatesParams) SetPostV1ChecklistTemplates(postV1ChecklistTemplates *models.PostV1ChecklistTemplates)
- func (o *PostV1ChecklistTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *PostV1ChecklistTemplatesParams) WithContext(ctx context.Context) *PostV1ChecklistTemplatesParams
- func (o *PostV1ChecklistTemplatesParams) WithDefaults() *PostV1ChecklistTemplatesParams
- func (o *PostV1ChecklistTemplatesParams) WithHTTPClient(client *http.Client) *PostV1ChecklistTemplatesParams
- func (o *PostV1ChecklistTemplatesParams) WithPostV1ChecklistTemplates(postV1ChecklistTemplates *models.PostV1ChecklistTemplates) *PostV1ChecklistTemplatesParams
- func (o *PostV1ChecklistTemplatesParams) WithTimeout(timeout time.Duration) *PostV1ChecklistTemplatesParams
- func (o *PostV1ChecklistTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1ChecklistTemplatesReader
- type PostV1IncidentsIncidentIDTaskListsCreated
- func (o *PostV1IncidentsIncidentIDTaskListsCreated) Error() string
- func (o *PostV1IncidentsIncidentIDTaskListsCreated) GetPayload() *models.TaskEntity
- func (o *PostV1IncidentsIncidentIDTaskListsCreated) IsClientError() bool
- func (o *PostV1IncidentsIncidentIDTaskListsCreated) IsCode(code int) bool
- func (o *PostV1IncidentsIncidentIDTaskListsCreated) IsRedirect() bool
- func (o *PostV1IncidentsIncidentIDTaskListsCreated) IsServerError() bool
- func (o *PostV1IncidentsIncidentIDTaskListsCreated) IsSuccess() bool
- func (o *PostV1IncidentsIncidentIDTaskListsCreated) String() string
- type PostV1IncidentsIncidentIDTaskListsParams
- func NewPostV1IncidentsIncidentIDTaskListsParams() *PostV1IncidentsIncidentIDTaskListsParams
- func NewPostV1IncidentsIncidentIDTaskListsParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDTaskListsParams
- func NewPostV1IncidentsIncidentIDTaskListsParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTaskListsParams
- func NewPostV1IncidentsIncidentIDTaskListsParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTaskListsParams
- func (o *PostV1IncidentsIncidentIDTaskListsParams) SetContext(ctx context.Context)
- func (o *PostV1IncidentsIncidentIDTaskListsParams) SetDefaults()
- func (o *PostV1IncidentsIncidentIDTaskListsParams) SetHTTPClient(client *http.Client)
- func (o *PostV1IncidentsIncidentIDTaskListsParams) SetIncidentID(incidentID string)
- func (o *PostV1IncidentsIncidentIDTaskListsParams) SetPostV1IncidentsIncidentIDTaskLists(postV1IncidentsIncidentIDTaskLists *models.PostV1IncidentsIncidentIDTaskLists)
- func (o *PostV1IncidentsIncidentIDTaskListsParams) SetTimeout(timeout time.Duration)
- func (o *PostV1IncidentsIncidentIDTaskListsParams) WithContext(ctx context.Context) *PostV1IncidentsIncidentIDTaskListsParams
- func (o *PostV1IncidentsIncidentIDTaskListsParams) WithDefaults() *PostV1IncidentsIncidentIDTaskListsParams
- func (o *PostV1IncidentsIncidentIDTaskListsParams) WithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTaskListsParams
- func (o *PostV1IncidentsIncidentIDTaskListsParams) WithIncidentID(incidentID string) *PostV1IncidentsIncidentIDTaskListsParams
- func (o *PostV1IncidentsIncidentIDTaskListsParams) WithPostV1IncidentsIncidentIDTaskLists(postV1IncidentsIncidentIDTaskLists *models.PostV1IncidentsIncidentIDTaskLists) *PostV1IncidentsIncidentIDTaskListsParams
- func (o *PostV1IncidentsIncidentIDTaskListsParams) WithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTaskListsParams
- func (o *PostV1IncidentsIncidentIDTaskListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1IncidentsIncidentIDTaskListsReader
- type PostV1IncidentsIncidentIDTasksCreated
- func (o *PostV1IncidentsIncidentIDTasksCreated) Error() string
- func (o *PostV1IncidentsIncidentIDTasksCreated) GetPayload() *models.TaskEntity
- func (o *PostV1IncidentsIncidentIDTasksCreated) IsClientError() bool
- func (o *PostV1IncidentsIncidentIDTasksCreated) IsCode(code int) bool
- func (o *PostV1IncidentsIncidentIDTasksCreated) IsRedirect() bool
- func (o *PostV1IncidentsIncidentIDTasksCreated) IsServerError() bool
- func (o *PostV1IncidentsIncidentIDTasksCreated) IsSuccess() bool
- func (o *PostV1IncidentsIncidentIDTasksCreated) String() string
- type PostV1IncidentsIncidentIDTasksParams
- func NewPostV1IncidentsIncidentIDTasksParams() *PostV1IncidentsIncidentIDTasksParams
- func NewPostV1IncidentsIncidentIDTasksParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDTasksParams
- func NewPostV1IncidentsIncidentIDTasksParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTasksParams
- func NewPostV1IncidentsIncidentIDTasksParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTasksParams
- func (o *PostV1IncidentsIncidentIDTasksParams) SetContext(ctx context.Context)
- func (o *PostV1IncidentsIncidentIDTasksParams) SetDefaults()
- func (o *PostV1IncidentsIncidentIDTasksParams) SetHTTPClient(client *http.Client)
- func (o *PostV1IncidentsIncidentIDTasksParams) SetIncidentID(incidentID string)
- func (o *PostV1IncidentsIncidentIDTasksParams) SetPostV1IncidentsIncidentIDTasks(postV1IncidentsIncidentIDTasks *models.PostV1IncidentsIncidentIDTasks)
- func (o *PostV1IncidentsIncidentIDTasksParams) SetTimeout(timeout time.Duration)
- func (o *PostV1IncidentsIncidentIDTasksParams) WithContext(ctx context.Context) *PostV1IncidentsIncidentIDTasksParams
- func (o *PostV1IncidentsIncidentIDTasksParams) WithDefaults() *PostV1IncidentsIncidentIDTasksParams
- func (o *PostV1IncidentsIncidentIDTasksParams) WithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTasksParams
- func (o *PostV1IncidentsIncidentIDTasksParams) WithIncidentID(incidentID string) *PostV1IncidentsIncidentIDTasksParams
- func (o *PostV1IncidentsIncidentIDTasksParams) WithPostV1IncidentsIncidentIDTasks(postV1IncidentsIncidentIDTasks *models.PostV1IncidentsIncidentIDTasks) *PostV1IncidentsIncidentIDTasksParams
- func (o *PostV1IncidentsIncidentIDTasksParams) WithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTasksParams
- func (o *PostV1IncidentsIncidentIDTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1IncidentsIncidentIDTasksReader
- type PostV1IncidentsIncidentIDTasksTaskIDConvertCreated
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) Error() string
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) GetPayload() *models.TaskEntityPaginated
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsClientError() bool
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsCode(code int) bool
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsRedirect() bool
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsServerError() bool
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsSuccess() bool
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) String() string
- type PostV1IncidentsIncidentIDTasksTaskIDConvertParams
- func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParams() *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
- func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
- func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
- func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetContext(ctx context.Context)
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetDefaults()
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetHTTPClient(client *http.Client)
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetIncidentID(incidentID string)
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetPostV1IncidentsIncidentIDTasksTaskIDConvert(...)
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetTaskID(taskID string)
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetTimeout(timeout time.Duration)
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithContext(ctx context.Context) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithDefaults() *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithIncidentID(incidentID string) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithPostV1IncidentsIncidentIDTasksTaskIDConvert(...) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithTaskID(taskID string) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
- func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1IncidentsIncidentIDTasksTaskIDConvertReader
- type PostV1TaskListsCreated
- func (o *PostV1TaskListsCreated) Error() string
- func (o *PostV1TaskListsCreated) GetPayload() *models.TaskListEntity
- func (o *PostV1TaskListsCreated) IsClientError() bool
- func (o *PostV1TaskListsCreated) IsCode(code int) bool
- func (o *PostV1TaskListsCreated) IsRedirect() bool
- func (o *PostV1TaskListsCreated) IsServerError() bool
- func (o *PostV1TaskListsCreated) IsSuccess() bool
- func (o *PostV1TaskListsCreated) String() string
- type PostV1TaskListsParams
- func NewPostV1TaskListsParams() *PostV1TaskListsParams
- func NewPostV1TaskListsParamsWithContext(ctx context.Context) *PostV1TaskListsParams
- func NewPostV1TaskListsParamsWithHTTPClient(client *http.Client) *PostV1TaskListsParams
- func NewPostV1TaskListsParamsWithTimeout(timeout time.Duration) *PostV1TaskListsParams
- func (o *PostV1TaskListsParams) SetContext(ctx context.Context)
- func (o *PostV1TaskListsParams) SetDefaults()
- func (o *PostV1TaskListsParams) SetHTTPClient(client *http.Client)
- func (o *PostV1TaskListsParams) SetPostV1TaskLists(postV1TaskLists *models.PostV1TaskLists)
- func (o *PostV1TaskListsParams) SetTimeout(timeout time.Duration)
- func (o *PostV1TaskListsParams) WithContext(ctx context.Context) *PostV1TaskListsParams
- func (o *PostV1TaskListsParams) WithDefaults() *PostV1TaskListsParams
- func (o *PostV1TaskListsParams) WithHTTPClient(client *http.Client) *PostV1TaskListsParams
- func (o *PostV1TaskListsParams) WithPostV1TaskLists(postV1TaskLists *models.PostV1TaskLists) *PostV1TaskListsParams
- func (o *PostV1TaskListsParams) WithTimeout(timeout time.Duration) *PostV1TaskListsParams
- func (o *PostV1TaskListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1TaskListsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for tasks API
func (*Client) DeleteV1ChecklistTemplatesID ¶
func (a *Client) DeleteV1ChecklistTemplatesID(params *DeleteV1ChecklistTemplatesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1ChecklistTemplatesIDOK, error)
DeleteV1ChecklistTemplatesID archives a checklist template
Archive a checklist template
func (*Client) DeleteV1IncidentsIncidentIDTasksTaskID ¶
func (a *Client) DeleteV1IncidentsIncidentIDTasksTaskID(params *DeleteV1IncidentsIncidentIDTasksTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent, error)
DeleteV1IncidentsIncidentIDTasksTaskID deletes an incident task
Delete a task
func (*Client) DeleteV1TaskListsTaskListID ¶
func (a *Client) DeleteV1TaskListsTaskListID(params *DeleteV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1TaskListsTaskListIDOK, error)
DeleteV1TaskListsTaskListID deletes a task list
Delete a task list
func (*Client) GetV1ChecklistTemplates ¶
func (a *Client) GetV1ChecklistTemplates(params *GetV1ChecklistTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1ChecklistTemplatesOK, error)
GetV1ChecklistTemplates lists checklist templates
List all of the checklist templates that have been added to the organization
func (*Client) GetV1ChecklistTemplatesID ¶
func (a *Client) GetV1ChecklistTemplatesID(params *GetV1ChecklistTemplatesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1ChecklistTemplatesIDOK, error)
GetV1ChecklistTemplatesID gets a checklist template
Retrieves a single checklist template by ID
func (*Client) GetV1IncidentsIncidentIDTasks ¶
func (a *Client) GetV1IncidentsIncidentIDTasks(params *GetV1IncidentsIncidentIDTasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDTasksOK, error)
GetV1IncidentsIncidentIDTasks lists tasks for an incident
Retrieve a list of all tasks for a specific incident
func (*Client) GetV1IncidentsIncidentIDTasksTaskID ¶
func (a *Client) GetV1IncidentsIncidentIDTasksTaskID(params *GetV1IncidentsIncidentIDTasksTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDTasksTaskIDOK, error)
GetV1IncidentsIncidentIDTasksTaskID gets an incident task
Retrieve a single task for an incident
func (*Client) GetV1TaskLists ¶
func (a *Client) GetV1TaskLists(params *GetV1TaskListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TaskListsOK, error)
GetV1TaskLists lists task lists
Lists all task lists for your organization
func (*Client) GetV1TaskListsTaskListID ¶
func (a *Client) GetV1TaskListsTaskListID(params *GetV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TaskListsTaskListIDOK, error)
GetV1TaskListsTaskListID gets a task list
Retrieves a single task list by ID
func (*Client) PatchV1ChecklistTemplatesID ¶
func (a *Client) PatchV1ChecklistTemplatesID(params *PatchV1ChecklistTemplatesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1ChecklistTemplatesIDOK, error)
PatchV1ChecklistTemplatesID updates a checklist template
Update a checklist templates attributes
func (*Client) PatchV1IncidentsIncidentIDTasksTaskID ¶
func (a *Client) PatchV1IncidentsIncidentIDTasksTaskID(params *PatchV1IncidentsIncidentIDTasksTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDTasksTaskIDOK, error)
PatchV1IncidentsIncidentIDTasksTaskID updates an incident task
Update a task's attributes
func (*Client) PatchV1TaskListsTaskListID ¶
func (a *Client) PatchV1TaskListsTaskListID(params *PatchV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1TaskListsTaskListIDOK, error)
PatchV1TaskListsTaskListID updates a task list
Updates a task list's attributes and task list items
func (*Client) PostV1ChecklistTemplates ¶
func (a *Client) PostV1ChecklistTemplates(params *PostV1ChecklistTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1ChecklistTemplatesCreated, error)
PostV1ChecklistTemplates creates a checklist template
Creates a checklist template for the organization
func (*Client) PostV1IncidentsIncidentIDTaskLists ¶
func (a *Client) PostV1IncidentsIncidentIDTaskLists(params *PostV1IncidentsIncidentIDTaskListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDTaskListsCreated, error)
PostV1IncidentsIncidentIDTaskLists adds tasks from a task list to an incident
Add all tasks from list to incident
func (*Client) PostV1IncidentsIncidentIDTasks ¶
func (a *Client) PostV1IncidentsIncidentIDTasks(params *PostV1IncidentsIncidentIDTasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDTasksCreated, error)
PostV1IncidentsIncidentIDTasks creates an incident task
Create a task
func (*Client) PostV1IncidentsIncidentIDTasksTaskIDConvert ¶
func (a *Client) PostV1IncidentsIncidentIDTasksTaskIDConvert(params *PostV1IncidentsIncidentIDTasksTaskIDConvertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated, error)
PostV1IncidentsIncidentIDTasksTaskIDConvert converts a task to a follow up
Convert a task to a follow-up
func (*Client) PostV1TaskLists ¶
func (a *Client) PostV1TaskLists(params *PostV1TaskListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1TaskListsCreated, error)
PostV1TaskLists creates a task list
Creates a new task list
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
DeleteV1ChecklistTemplatesID(params *DeleteV1ChecklistTemplatesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1ChecklistTemplatesIDOK, error)
DeleteV1IncidentsIncidentIDTasksTaskID(params *DeleteV1IncidentsIncidentIDTasksTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent, error)
DeleteV1TaskListsTaskListID(params *DeleteV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1TaskListsTaskListIDOK, error)
GetV1ChecklistTemplates(params *GetV1ChecklistTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1ChecklistTemplatesOK, error)
GetV1ChecklistTemplatesID(params *GetV1ChecklistTemplatesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1ChecklistTemplatesIDOK, error)
GetV1IncidentsIncidentIDTasks(params *GetV1IncidentsIncidentIDTasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDTasksOK, error)
GetV1IncidentsIncidentIDTasksTaskID(params *GetV1IncidentsIncidentIDTasksTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDTasksTaskIDOK, error)
GetV1TaskLists(params *GetV1TaskListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TaskListsOK, error)
GetV1TaskListsTaskListID(params *GetV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TaskListsTaskListIDOK, error)
PatchV1ChecklistTemplatesID(params *PatchV1ChecklistTemplatesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1ChecklistTemplatesIDOK, error)
PatchV1IncidentsIncidentIDTasksTaskID(params *PatchV1IncidentsIncidentIDTasksTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDTasksTaskIDOK, error)
PatchV1TaskListsTaskListID(params *PatchV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1TaskListsTaskListIDOK, error)
PostV1ChecklistTemplates(params *PostV1ChecklistTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1ChecklistTemplatesCreated, error)
PostV1IncidentsIncidentIDTaskLists(params *PostV1IncidentsIncidentIDTaskListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDTaskListsCreated, error)
PostV1IncidentsIncidentIDTasks(params *PostV1IncidentsIncidentIDTasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDTasksCreated, error)
PostV1IncidentsIncidentIDTasksTaskIDConvert(params *PostV1IncidentsIncidentIDTasksTaskIDConvertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated, error)
PostV1TaskLists(params *PostV1TaskListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1TaskListsCreated, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new tasks API client.
type DeleteV1ChecklistTemplatesIDOK ¶
type DeleteV1ChecklistTemplatesIDOK struct {
Payload *models.ChecklistTemplateEntity
}
DeleteV1ChecklistTemplatesIDOK describes a response with status code 200, with default header values.
Archive a checklist template
func NewDeleteV1ChecklistTemplatesIDOK ¶
func NewDeleteV1ChecklistTemplatesIDOK() *DeleteV1ChecklistTemplatesIDOK
NewDeleteV1ChecklistTemplatesIDOK creates a DeleteV1ChecklistTemplatesIDOK with default headers values
func (*DeleteV1ChecklistTemplatesIDOK) Error ¶
func (o *DeleteV1ChecklistTemplatesIDOK) Error() string
func (*DeleteV1ChecklistTemplatesIDOK) GetPayload ¶
func (o *DeleteV1ChecklistTemplatesIDOK) GetPayload() *models.ChecklistTemplateEntity
func (*DeleteV1ChecklistTemplatesIDOK) IsClientError ¶
func (o *DeleteV1ChecklistTemplatesIDOK) IsClientError() bool
IsClientError returns true when this delete v1 checklist templates Id o k response has a 4xx status code
func (*DeleteV1ChecklistTemplatesIDOK) IsCode ¶
func (o *DeleteV1ChecklistTemplatesIDOK) IsCode(code int) bool
IsCode returns true when this delete v1 checklist templates Id o k response a status code equal to that given
func (*DeleteV1ChecklistTemplatesIDOK) IsRedirect ¶
func (o *DeleteV1ChecklistTemplatesIDOK) IsRedirect() bool
IsRedirect returns true when this delete v1 checklist templates Id o k response has a 3xx status code
func (*DeleteV1ChecklistTemplatesIDOK) IsServerError ¶
func (o *DeleteV1ChecklistTemplatesIDOK) IsServerError() bool
IsServerError returns true when this delete v1 checklist templates Id o k response has a 5xx status code
func (*DeleteV1ChecklistTemplatesIDOK) IsSuccess ¶
func (o *DeleteV1ChecklistTemplatesIDOK) IsSuccess() bool
IsSuccess returns true when this delete v1 checklist templates Id o k response has a 2xx status code
func (*DeleteV1ChecklistTemplatesIDOK) String ¶
func (o *DeleteV1ChecklistTemplatesIDOK) String() string
type DeleteV1ChecklistTemplatesIDParams ¶
type DeleteV1ChecklistTemplatesIDParams struct {
/* ID.
Checklist Template UUID
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteV1ChecklistTemplatesIDParams contains all the parameters to send to the API endpoint
for the delete v1 checklist templates Id operation. Typically these are written to a http.Request.
func NewDeleteV1ChecklistTemplatesIDParams ¶
func NewDeleteV1ChecklistTemplatesIDParams() *DeleteV1ChecklistTemplatesIDParams
NewDeleteV1ChecklistTemplatesIDParams creates a new DeleteV1ChecklistTemplatesIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteV1ChecklistTemplatesIDParamsWithContext ¶
func NewDeleteV1ChecklistTemplatesIDParamsWithContext(ctx context.Context) *DeleteV1ChecklistTemplatesIDParams
NewDeleteV1ChecklistTemplatesIDParamsWithContext creates a new DeleteV1ChecklistTemplatesIDParams object with the ability to set a context for a request.
func NewDeleteV1ChecklistTemplatesIDParamsWithHTTPClient ¶
func NewDeleteV1ChecklistTemplatesIDParamsWithHTTPClient(client *http.Client) *DeleteV1ChecklistTemplatesIDParams
NewDeleteV1ChecklistTemplatesIDParamsWithHTTPClient creates a new DeleteV1ChecklistTemplatesIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV1ChecklistTemplatesIDParamsWithTimeout ¶
func NewDeleteV1ChecklistTemplatesIDParamsWithTimeout(timeout time.Duration) *DeleteV1ChecklistTemplatesIDParams
NewDeleteV1ChecklistTemplatesIDParamsWithTimeout creates a new DeleteV1ChecklistTemplatesIDParams object with the ability to set a timeout on a request.
func (*DeleteV1ChecklistTemplatesIDParams) SetContext ¶
func (o *DeleteV1ChecklistTemplatesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 checklist templates Id params
func (*DeleteV1ChecklistTemplatesIDParams) SetDefaults ¶
func (o *DeleteV1ChecklistTemplatesIDParams) SetDefaults()
SetDefaults hydrates default values in the delete v1 checklist templates Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1ChecklistTemplatesIDParams) SetHTTPClient ¶
func (o *DeleteV1ChecklistTemplatesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 checklist templates Id params
func (*DeleteV1ChecklistTemplatesIDParams) SetID ¶
func (o *DeleteV1ChecklistTemplatesIDParams) SetID(id string)
SetID adds the id to the delete v1 checklist templates Id params
func (*DeleteV1ChecklistTemplatesIDParams) SetTimeout ¶
func (o *DeleteV1ChecklistTemplatesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 checklist templates Id params
func (*DeleteV1ChecklistTemplatesIDParams) WithContext ¶
func (o *DeleteV1ChecklistTemplatesIDParams) WithContext(ctx context.Context) *DeleteV1ChecklistTemplatesIDParams
WithContext adds the context to the delete v1 checklist templates Id params
func (*DeleteV1ChecklistTemplatesIDParams) WithDefaults ¶
func (o *DeleteV1ChecklistTemplatesIDParams) WithDefaults() *DeleteV1ChecklistTemplatesIDParams
WithDefaults hydrates default values in the delete v1 checklist templates Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1ChecklistTemplatesIDParams) WithHTTPClient ¶
func (o *DeleteV1ChecklistTemplatesIDParams) WithHTTPClient(client *http.Client) *DeleteV1ChecklistTemplatesIDParams
WithHTTPClient adds the HTTPClient to the delete v1 checklist templates Id params
func (*DeleteV1ChecklistTemplatesIDParams) WithID ¶
func (o *DeleteV1ChecklistTemplatesIDParams) WithID(id string) *DeleteV1ChecklistTemplatesIDParams
WithID adds the id to the delete v1 checklist templates Id params
func (*DeleteV1ChecklistTemplatesIDParams) WithTimeout ¶
func (o *DeleteV1ChecklistTemplatesIDParams) WithTimeout(timeout time.Duration) *DeleteV1ChecklistTemplatesIDParams
WithTimeout adds the timeout to the delete v1 checklist templates Id params
func (*DeleteV1ChecklistTemplatesIDParams) WriteToRequest ¶
func (o *DeleteV1ChecklistTemplatesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1ChecklistTemplatesIDReader ¶
type DeleteV1ChecklistTemplatesIDReader struct {
// contains filtered or unexported fields
}
DeleteV1ChecklistTemplatesIDReader is a Reader for the DeleteV1ChecklistTemplatesID structure.
func (*DeleteV1ChecklistTemplatesIDReader) ReadResponse ¶
func (o *DeleteV1ChecklistTemplatesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteV1IncidentsIncidentIDTasksTaskIDNoContent ¶
type DeleteV1IncidentsIncidentIDTasksTaskIDNoContent struct {
}
DeleteV1IncidentsIncidentIDTasksTaskIDNoContent describes a response with status code 204, with default header values.
Delete a task
func NewDeleteV1IncidentsIncidentIDTasksTaskIDNoContent ¶
func NewDeleteV1IncidentsIncidentIDTasksTaskIDNoContent() *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent
NewDeleteV1IncidentsIncidentIDTasksTaskIDNoContent creates a DeleteV1IncidentsIncidentIDTasksTaskIDNoContent with default headers values
func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) Error ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) Error() string
func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsClientError ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsClientError() bool
IsClientError returns true when this delete v1 incidents incident Id tasks task Id no content response has a 4xx status code
func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsCode ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsCode(code int) bool
IsCode returns true when this delete v1 incidents incident Id tasks task Id no content response a status code equal to that given
func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsRedirect ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete v1 incidents incident Id tasks task Id no content response has a 3xx status code
func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsServerError ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsServerError() bool
IsServerError returns true when this delete v1 incidents incident Id tasks task Id no content response has a 5xx status code
func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsSuccess ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete v1 incidents incident Id tasks task Id no content response has a 2xx status code
func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) String ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) String() string
type DeleteV1IncidentsIncidentIDTasksTaskIDParams ¶
type DeleteV1IncidentsIncidentIDTasksTaskIDParams struct {
// IncidentID.
IncidentID string
// TaskID.
TaskID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteV1IncidentsIncidentIDTasksTaskIDParams contains all the parameters to send to the API endpoint
for the delete v1 incidents incident Id tasks task Id operation. Typically these are written to a http.Request.
func NewDeleteV1IncidentsIncidentIDTasksTaskIDParams ¶
func NewDeleteV1IncidentsIncidentIDTasksTaskIDParams() *DeleteV1IncidentsIncidentIDTasksTaskIDParams
NewDeleteV1IncidentsIncidentIDTasksTaskIDParams creates a new DeleteV1IncidentsIncidentIDTasksTaskIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithContext ¶
func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithContext creates a new DeleteV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a context for a request.
func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient ¶
func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient creates a new DeleteV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout ¶
func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout creates a new DeleteV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a timeout on a request.
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetContext ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 incidents incident Id tasks task Id params
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetDefaults ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetDefaults()
SetDefaults hydrates default values in the delete v1 incidents incident Id tasks task Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetHTTPClient ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 incidents incident Id tasks task Id params
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID(incidentID string)
SetIncidentID adds the incidentId to the delete v1 incidents incident Id tasks task Id params
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetTaskID ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetTaskID(taskID string)
SetTaskID adds the taskId to the delete v1 incidents incident Id tasks task Id params
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 incidents incident Id tasks task Id params
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithContext ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
WithContext adds the context to the delete v1 incidents incident Id tasks task Id params
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults() *DeleteV1IncidentsIncidentIDTasksTaskIDParams
WithDefaults hydrates default values in the delete v1 incidents incident Id tasks task Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithHTTPClient ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id tasks task Id params
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID(incidentID string) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
WithIncidentID adds the incidentID to the delete v1 incidents incident Id tasks task Id params
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID(taskID string) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
WithTaskID adds the taskID to the delete v1 incidents incident Id tasks task Id params
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDTasksTaskIDParams
WithTimeout adds the timeout to the delete v1 incidents incident Id tasks task Id params
func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1IncidentsIncidentIDTasksTaskIDReader ¶
type DeleteV1IncidentsIncidentIDTasksTaskIDReader struct {
// contains filtered or unexported fields
}
DeleteV1IncidentsIncidentIDTasksTaskIDReader is a Reader for the DeleteV1IncidentsIncidentIDTasksTaskID structure.
func (*DeleteV1IncidentsIncidentIDTasksTaskIDReader) ReadResponse ¶
func (o *DeleteV1IncidentsIncidentIDTasksTaskIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteV1TaskListsTaskListIDOK ¶
type DeleteV1TaskListsTaskListIDOK struct {
Payload *models.TaskListEntity
}
DeleteV1TaskListsTaskListIDOK describes a response with status code 200, with default header values.
Delete a task list
func NewDeleteV1TaskListsTaskListIDOK ¶
func NewDeleteV1TaskListsTaskListIDOK() *DeleteV1TaskListsTaskListIDOK
NewDeleteV1TaskListsTaskListIDOK creates a DeleteV1TaskListsTaskListIDOK with default headers values
func (*DeleteV1TaskListsTaskListIDOK) Error ¶
func (o *DeleteV1TaskListsTaskListIDOK) Error() string
func (*DeleteV1TaskListsTaskListIDOK) GetPayload ¶
func (o *DeleteV1TaskListsTaskListIDOK) GetPayload() *models.TaskListEntity
func (*DeleteV1TaskListsTaskListIDOK) IsClientError ¶
func (o *DeleteV1TaskListsTaskListIDOK) IsClientError() bool
IsClientError returns true when this delete v1 task lists task list Id o k response has a 4xx status code
func (*DeleteV1TaskListsTaskListIDOK) IsCode ¶
func (o *DeleteV1TaskListsTaskListIDOK) IsCode(code int) bool
IsCode returns true when this delete v1 task lists task list Id o k response a status code equal to that given
func (*DeleteV1TaskListsTaskListIDOK) IsRedirect ¶
func (o *DeleteV1TaskListsTaskListIDOK) IsRedirect() bool
IsRedirect returns true when this delete v1 task lists task list Id o k response has a 3xx status code
func (*DeleteV1TaskListsTaskListIDOK) IsServerError ¶
func (o *DeleteV1TaskListsTaskListIDOK) IsServerError() bool
IsServerError returns true when this delete v1 task lists task list Id o k response has a 5xx status code
func (*DeleteV1TaskListsTaskListIDOK) IsSuccess ¶
func (o *DeleteV1TaskListsTaskListIDOK) IsSuccess() bool
IsSuccess returns true when this delete v1 task lists task list Id o k response has a 2xx status code
func (*DeleteV1TaskListsTaskListIDOK) String ¶
func (o *DeleteV1TaskListsTaskListIDOK) String() string
type DeleteV1TaskListsTaskListIDParams ¶
type DeleteV1TaskListsTaskListIDParams struct {
// TaskListID.
TaskListID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteV1TaskListsTaskListIDParams contains all the parameters to send to the API endpoint
for the delete v1 task lists task list Id operation. Typically these are written to a http.Request.
func NewDeleteV1TaskListsTaskListIDParams ¶
func NewDeleteV1TaskListsTaskListIDParams() *DeleteV1TaskListsTaskListIDParams
NewDeleteV1TaskListsTaskListIDParams creates a new DeleteV1TaskListsTaskListIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteV1TaskListsTaskListIDParamsWithContext ¶
func NewDeleteV1TaskListsTaskListIDParamsWithContext(ctx context.Context) *DeleteV1TaskListsTaskListIDParams
NewDeleteV1TaskListsTaskListIDParamsWithContext creates a new DeleteV1TaskListsTaskListIDParams object with the ability to set a context for a request.
func NewDeleteV1TaskListsTaskListIDParamsWithHTTPClient ¶
func NewDeleteV1TaskListsTaskListIDParamsWithHTTPClient(client *http.Client) *DeleteV1TaskListsTaskListIDParams
NewDeleteV1TaskListsTaskListIDParamsWithHTTPClient creates a new DeleteV1TaskListsTaskListIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV1TaskListsTaskListIDParamsWithTimeout ¶
func NewDeleteV1TaskListsTaskListIDParamsWithTimeout(timeout time.Duration) *DeleteV1TaskListsTaskListIDParams
NewDeleteV1TaskListsTaskListIDParamsWithTimeout creates a new DeleteV1TaskListsTaskListIDParams object with the ability to set a timeout on a request.
func (*DeleteV1TaskListsTaskListIDParams) SetContext ¶
func (o *DeleteV1TaskListsTaskListIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) SetDefaults ¶
func (o *DeleteV1TaskListsTaskListIDParams) SetDefaults()
SetDefaults hydrates default values in the delete v1 task lists task list Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1TaskListsTaskListIDParams) SetHTTPClient ¶
func (o *DeleteV1TaskListsTaskListIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) SetTaskListID ¶
func (o *DeleteV1TaskListsTaskListIDParams) SetTaskListID(taskListID string)
SetTaskListID adds the taskListId to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) SetTimeout ¶
func (o *DeleteV1TaskListsTaskListIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) WithContext ¶
func (o *DeleteV1TaskListsTaskListIDParams) WithContext(ctx context.Context) *DeleteV1TaskListsTaskListIDParams
WithContext adds the context to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) WithDefaults ¶
func (o *DeleteV1TaskListsTaskListIDParams) WithDefaults() *DeleteV1TaskListsTaskListIDParams
WithDefaults hydrates default values in the delete v1 task lists task list Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1TaskListsTaskListIDParams) WithHTTPClient ¶
func (o *DeleteV1TaskListsTaskListIDParams) WithHTTPClient(client *http.Client) *DeleteV1TaskListsTaskListIDParams
WithHTTPClient adds the HTTPClient to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) WithTaskListID ¶
func (o *DeleteV1TaskListsTaskListIDParams) WithTaskListID(taskListID string) *DeleteV1TaskListsTaskListIDParams
WithTaskListID adds the taskListID to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) WithTimeout ¶
func (o *DeleteV1TaskListsTaskListIDParams) WithTimeout(timeout time.Duration) *DeleteV1TaskListsTaskListIDParams
WithTimeout adds the timeout to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) WriteToRequest ¶
func (o *DeleteV1TaskListsTaskListIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1TaskListsTaskListIDReader ¶
type DeleteV1TaskListsTaskListIDReader struct {
// contains filtered or unexported fields
}
DeleteV1TaskListsTaskListIDReader is a Reader for the DeleteV1TaskListsTaskListID structure.
func (*DeleteV1TaskListsTaskListIDReader) ReadResponse ¶
func (o *DeleteV1TaskListsTaskListIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1ChecklistTemplatesIDOK ¶
type GetV1ChecklistTemplatesIDOK struct {
Payload *models.ChecklistTemplateEntity
}
GetV1ChecklistTemplatesIDOK describes a response with status code 200, with default header values.
Retrieves a single checklist template by ID
func NewGetV1ChecklistTemplatesIDOK ¶
func NewGetV1ChecklistTemplatesIDOK() *GetV1ChecklistTemplatesIDOK
NewGetV1ChecklistTemplatesIDOK creates a GetV1ChecklistTemplatesIDOK with default headers values
func (*GetV1ChecklistTemplatesIDOK) Error ¶
func (o *GetV1ChecklistTemplatesIDOK) Error() string
func (*GetV1ChecklistTemplatesIDOK) GetPayload ¶
func (o *GetV1ChecklistTemplatesIDOK) GetPayload() *models.ChecklistTemplateEntity
func (*GetV1ChecklistTemplatesIDOK) IsClientError ¶
func (o *GetV1ChecklistTemplatesIDOK) IsClientError() bool
IsClientError returns true when this get v1 checklist templates Id o k response has a 4xx status code
func (*GetV1ChecklistTemplatesIDOK) IsCode ¶
func (o *GetV1ChecklistTemplatesIDOK) IsCode(code int) bool
IsCode returns true when this get v1 checklist templates Id o k response a status code equal to that given
func (*GetV1ChecklistTemplatesIDOK) IsRedirect ¶
func (o *GetV1ChecklistTemplatesIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 checklist templates Id o k response has a 3xx status code
func (*GetV1ChecklistTemplatesIDOK) IsServerError ¶
func (o *GetV1ChecklistTemplatesIDOK) IsServerError() bool
IsServerError returns true when this get v1 checklist templates Id o k response has a 5xx status code
func (*GetV1ChecklistTemplatesIDOK) IsSuccess ¶
func (o *GetV1ChecklistTemplatesIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 checklist templates Id o k response has a 2xx status code
func (*GetV1ChecklistTemplatesIDOK) String ¶
func (o *GetV1ChecklistTemplatesIDOK) String() string
type GetV1ChecklistTemplatesIDParams ¶
type GetV1ChecklistTemplatesIDParams struct {
// ID.
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1ChecklistTemplatesIDParams contains all the parameters to send to the API endpoint
for the get v1 checklist templates Id operation. Typically these are written to a http.Request.
func NewGetV1ChecklistTemplatesIDParams ¶
func NewGetV1ChecklistTemplatesIDParams() *GetV1ChecklistTemplatesIDParams
NewGetV1ChecklistTemplatesIDParams creates a new GetV1ChecklistTemplatesIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV1ChecklistTemplatesIDParamsWithContext ¶
func NewGetV1ChecklistTemplatesIDParamsWithContext(ctx context.Context) *GetV1ChecklistTemplatesIDParams
NewGetV1ChecklistTemplatesIDParamsWithContext creates a new GetV1ChecklistTemplatesIDParams object with the ability to set a context for a request.
func NewGetV1ChecklistTemplatesIDParamsWithHTTPClient ¶
func NewGetV1ChecklistTemplatesIDParamsWithHTTPClient(client *http.Client) *GetV1ChecklistTemplatesIDParams
NewGetV1ChecklistTemplatesIDParamsWithHTTPClient creates a new GetV1ChecklistTemplatesIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1ChecklistTemplatesIDParamsWithTimeout ¶
func NewGetV1ChecklistTemplatesIDParamsWithTimeout(timeout time.Duration) *GetV1ChecklistTemplatesIDParams
NewGetV1ChecklistTemplatesIDParamsWithTimeout creates a new GetV1ChecklistTemplatesIDParams object with the ability to set a timeout on a request.
func (*GetV1ChecklistTemplatesIDParams) SetContext ¶
func (o *GetV1ChecklistTemplatesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 checklist templates Id params
func (*GetV1ChecklistTemplatesIDParams) SetDefaults ¶
func (o *GetV1ChecklistTemplatesIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 checklist templates Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1ChecklistTemplatesIDParams) SetHTTPClient ¶
func (o *GetV1ChecklistTemplatesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 checklist templates Id params
func (*GetV1ChecklistTemplatesIDParams) SetID ¶
func (o *GetV1ChecklistTemplatesIDParams) SetID(id string)
SetID adds the id to the get v1 checklist templates Id params
func (*GetV1ChecklistTemplatesIDParams) SetTimeout ¶
func (o *GetV1ChecklistTemplatesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 checklist templates Id params
func (*GetV1ChecklistTemplatesIDParams) WithContext ¶
func (o *GetV1ChecklistTemplatesIDParams) WithContext(ctx context.Context) *GetV1ChecklistTemplatesIDParams
WithContext adds the context to the get v1 checklist templates Id params
func (*GetV1ChecklistTemplatesIDParams) WithDefaults ¶
func (o *GetV1ChecklistTemplatesIDParams) WithDefaults() *GetV1ChecklistTemplatesIDParams
WithDefaults hydrates default values in the get v1 checklist templates Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1ChecklistTemplatesIDParams) WithHTTPClient ¶
func (o *GetV1ChecklistTemplatesIDParams) WithHTTPClient(client *http.Client) *GetV1ChecklistTemplatesIDParams
WithHTTPClient adds the HTTPClient to the get v1 checklist templates Id params
func (*GetV1ChecklistTemplatesIDParams) WithID ¶
func (o *GetV1ChecklistTemplatesIDParams) WithID(id string) *GetV1ChecklistTemplatesIDParams
WithID adds the id to the get v1 checklist templates Id params
func (*GetV1ChecklistTemplatesIDParams) WithTimeout ¶
func (o *GetV1ChecklistTemplatesIDParams) WithTimeout(timeout time.Duration) *GetV1ChecklistTemplatesIDParams
WithTimeout adds the timeout to the get v1 checklist templates Id params
func (*GetV1ChecklistTemplatesIDParams) WriteToRequest ¶
func (o *GetV1ChecklistTemplatesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1ChecklistTemplatesIDReader ¶
type GetV1ChecklistTemplatesIDReader struct {
// contains filtered or unexported fields
}
GetV1ChecklistTemplatesIDReader is a Reader for the GetV1ChecklistTemplatesID structure.
func (*GetV1ChecklistTemplatesIDReader) ReadResponse ¶
func (o *GetV1ChecklistTemplatesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1ChecklistTemplatesOK ¶
type GetV1ChecklistTemplatesOK struct {
Payload *models.ChecklistTemplateEntityPaginated
}
GetV1ChecklistTemplatesOK describes a response with status code 200, with default header values.
List all of the checklist templates that have been added to the organization
func NewGetV1ChecklistTemplatesOK ¶
func NewGetV1ChecklistTemplatesOK() *GetV1ChecklistTemplatesOK
NewGetV1ChecklistTemplatesOK creates a GetV1ChecklistTemplatesOK with default headers values
func (*GetV1ChecklistTemplatesOK) Error ¶
func (o *GetV1ChecklistTemplatesOK) Error() string
func (*GetV1ChecklistTemplatesOK) GetPayload ¶
func (o *GetV1ChecklistTemplatesOK) GetPayload() *models.ChecklistTemplateEntityPaginated
func (*GetV1ChecklistTemplatesOK) IsClientError ¶
func (o *GetV1ChecklistTemplatesOK) IsClientError() bool
IsClientError returns true when this get v1 checklist templates o k response has a 4xx status code
func (*GetV1ChecklistTemplatesOK) IsCode ¶
func (o *GetV1ChecklistTemplatesOK) IsCode(code int) bool
IsCode returns true when this get v1 checklist templates o k response a status code equal to that given
func (*GetV1ChecklistTemplatesOK) IsRedirect ¶
func (o *GetV1ChecklistTemplatesOK) IsRedirect() bool
IsRedirect returns true when this get v1 checklist templates o k response has a 3xx status code
func (*GetV1ChecklistTemplatesOK) IsServerError ¶
func (o *GetV1ChecklistTemplatesOK) IsServerError() bool
IsServerError returns true when this get v1 checklist templates o k response has a 5xx status code
func (*GetV1ChecklistTemplatesOK) IsSuccess ¶
func (o *GetV1ChecklistTemplatesOK) IsSuccess() bool
IsSuccess returns true when this get v1 checklist templates o k response has a 2xx status code
func (*GetV1ChecklistTemplatesOK) String ¶
func (o *GetV1ChecklistTemplatesOK) String() string
type GetV1ChecklistTemplatesParams ¶
type GetV1ChecklistTemplatesParams struct {
// Page.
//
// Format: int32
Page *int32
// PerPage.
//
// Format: int32
PerPage *int32
/* Query.
A query to search checklist templates by their name
*/
Query *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1ChecklistTemplatesParams contains all the parameters to send to the API endpoint
for the get v1 checklist templates operation. Typically these are written to a http.Request.
func NewGetV1ChecklistTemplatesParams ¶
func NewGetV1ChecklistTemplatesParams() *GetV1ChecklistTemplatesParams
NewGetV1ChecklistTemplatesParams creates a new GetV1ChecklistTemplatesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV1ChecklistTemplatesParamsWithContext ¶
func NewGetV1ChecklistTemplatesParamsWithContext(ctx context.Context) *GetV1ChecklistTemplatesParams
NewGetV1ChecklistTemplatesParamsWithContext creates a new GetV1ChecklistTemplatesParams object with the ability to set a context for a request.
func NewGetV1ChecklistTemplatesParamsWithHTTPClient ¶
func NewGetV1ChecklistTemplatesParamsWithHTTPClient(client *http.Client) *GetV1ChecklistTemplatesParams
NewGetV1ChecklistTemplatesParamsWithHTTPClient creates a new GetV1ChecklistTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1ChecklistTemplatesParamsWithTimeout ¶
func NewGetV1ChecklistTemplatesParamsWithTimeout(timeout time.Duration) *GetV1ChecklistTemplatesParams
NewGetV1ChecklistTemplatesParamsWithTimeout creates a new GetV1ChecklistTemplatesParams object with the ability to set a timeout on a request.
func (*GetV1ChecklistTemplatesParams) SetContext ¶
func (o *GetV1ChecklistTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 checklist templates params
func (*GetV1ChecklistTemplatesParams) SetDefaults ¶
func (o *GetV1ChecklistTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the get v1 checklist templates params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1ChecklistTemplatesParams) SetHTTPClient ¶
func (o *GetV1ChecklistTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 checklist templates params
func (*GetV1ChecklistTemplatesParams) SetPage ¶
func (o *GetV1ChecklistTemplatesParams) SetPage(page *int32)
SetPage adds the page to the get v1 checklist templates params
func (*GetV1ChecklistTemplatesParams) SetPerPage ¶
func (o *GetV1ChecklistTemplatesParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v1 checklist templates params
func (*GetV1ChecklistTemplatesParams) SetQuery ¶
func (o *GetV1ChecklistTemplatesParams) SetQuery(query *string)
SetQuery adds the query to the get v1 checklist templates params
func (*GetV1ChecklistTemplatesParams) SetTimeout ¶
func (o *GetV1ChecklistTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 checklist templates params
func (*GetV1ChecklistTemplatesParams) WithContext ¶
func (o *GetV1ChecklistTemplatesParams) WithContext(ctx context.Context) *GetV1ChecklistTemplatesParams
WithContext adds the context to the get v1 checklist templates params
func (*GetV1ChecklistTemplatesParams) WithDefaults ¶
func (o *GetV1ChecklistTemplatesParams) WithDefaults() *GetV1ChecklistTemplatesParams
WithDefaults hydrates default values in the get v1 checklist templates params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1ChecklistTemplatesParams) WithHTTPClient ¶
func (o *GetV1ChecklistTemplatesParams) WithHTTPClient(client *http.Client) *GetV1ChecklistTemplatesParams
WithHTTPClient adds the HTTPClient to the get v1 checklist templates params
func (*GetV1ChecklistTemplatesParams) WithPage ¶
func (o *GetV1ChecklistTemplatesParams) WithPage(page *int32) *GetV1ChecklistTemplatesParams
WithPage adds the page to the get v1 checklist templates params
func (*GetV1ChecklistTemplatesParams) WithPerPage ¶
func (o *GetV1ChecklistTemplatesParams) WithPerPage(perPage *int32) *GetV1ChecklistTemplatesParams
WithPerPage adds the perPage to the get v1 checklist templates params
func (*GetV1ChecklistTemplatesParams) WithQuery ¶
func (o *GetV1ChecklistTemplatesParams) WithQuery(query *string) *GetV1ChecklistTemplatesParams
WithQuery adds the query to the get v1 checklist templates params
func (*GetV1ChecklistTemplatesParams) WithTimeout ¶
func (o *GetV1ChecklistTemplatesParams) WithTimeout(timeout time.Duration) *GetV1ChecklistTemplatesParams
WithTimeout adds the timeout to the get v1 checklist templates params
func (*GetV1ChecklistTemplatesParams) WriteToRequest ¶
func (o *GetV1ChecklistTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1ChecklistTemplatesReader ¶
type GetV1ChecklistTemplatesReader struct {
// contains filtered or unexported fields
}
GetV1ChecklistTemplatesReader is a Reader for the GetV1ChecklistTemplates structure.
func (*GetV1ChecklistTemplatesReader) ReadResponse ¶
func (o *GetV1ChecklistTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1IncidentsIncidentIDTasksOK ¶
type GetV1IncidentsIncidentIDTasksOK struct {
Payload *models.TaskEntityPaginated
}
GetV1IncidentsIncidentIDTasksOK describes a response with status code 200, with default header values.
Retrieve a list of all tasks for a specific incident
func NewGetV1IncidentsIncidentIDTasksOK ¶
func NewGetV1IncidentsIncidentIDTasksOK() *GetV1IncidentsIncidentIDTasksOK
NewGetV1IncidentsIncidentIDTasksOK creates a GetV1IncidentsIncidentIDTasksOK with default headers values
func (*GetV1IncidentsIncidentIDTasksOK) Error ¶
func (o *GetV1IncidentsIncidentIDTasksOK) Error() string
func (*GetV1IncidentsIncidentIDTasksOK) GetPayload ¶
func (o *GetV1IncidentsIncidentIDTasksOK) GetPayload() *models.TaskEntityPaginated
func (*GetV1IncidentsIncidentIDTasksOK) IsClientError ¶
func (o *GetV1IncidentsIncidentIDTasksOK) IsClientError() bool
IsClientError returns true when this get v1 incidents incident Id tasks o k response has a 4xx status code
func (*GetV1IncidentsIncidentIDTasksOK) IsCode ¶
func (o *GetV1IncidentsIncidentIDTasksOK) IsCode(code int) bool
IsCode returns true when this get v1 incidents incident Id tasks o k response a status code equal to that given
func (*GetV1IncidentsIncidentIDTasksOK) IsRedirect ¶
func (o *GetV1IncidentsIncidentIDTasksOK) IsRedirect() bool
IsRedirect returns true when this get v1 incidents incident Id tasks o k response has a 3xx status code
func (*GetV1IncidentsIncidentIDTasksOK) IsServerError ¶
func (o *GetV1IncidentsIncidentIDTasksOK) IsServerError() bool
IsServerError returns true when this get v1 incidents incident Id tasks o k response has a 5xx status code
func (*GetV1IncidentsIncidentIDTasksOK) IsSuccess ¶
func (o *GetV1IncidentsIncidentIDTasksOK) IsSuccess() bool
IsSuccess returns true when this get v1 incidents incident Id tasks o k response has a 2xx status code
func (*GetV1IncidentsIncidentIDTasksOK) String ¶
func (o *GetV1IncidentsIncidentIDTasksOK) String() string
type GetV1IncidentsIncidentIDTasksParams ¶
type GetV1IncidentsIncidentIDTasksParams struct {
// IncidentID.
IncidentID string
// Page.
//
// Format: int32
Page *int32
// PerPage.
//
// Format: int32
PerPage *int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1IncidentsIncidentIDTasksParams contains all the parameters to send to the API endpoint
for the get v1 incidents incident Id tasks operation. Typically these are written to a http.Request.
func NewGetV1IncidentsIncidentIDTasksParams ¶
func NewGetV1IncidentsIncidentIDTasksParams() *GetV1IncidentsIncidentIDTasksParams
NewGetV1IncidentsIncidentIDTasksParams creates a new GetV1IncidentsIncidentIDTasksParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV1IncidentsIncidentIDTasksParamsWithContext ¶
func NewGetV1IncidentsIncidentIDTasksParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDTasksParams
NewGetV1IncidentsIncidentIDTasksParamsWithContext creates a new GetV1IncidentsIncidentIDTasksParams object with the ability to set a context for a request.
func NewGetV1IncidentsIncidentIDTasksParamsWithHTTPClient ¶
func NewGetV1IncidentsIncidentIDTasksParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDTasksParams
NewGetV1IncidentsIncidentIDTasksParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDTasksParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1IncidentsIncidentIDTasksParamsWithTimeout ¶
func NewGetV1IncidentsIncidentIDTasksParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDTasksParams
NewGetV1IncidentsIncidentIDTasksParamsWithTimeout creates a new GetV1IncidentsIncidentIDTasksParams object with the ability to set a timeout on a request.
func (*GetV1IncidentsIncidentIDTasksParams) SetContext ¶
func (o *GetV1IncidentsIncidentIDTasksParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 incidents incident Id tasks params
func (*GetV1IncidentsIncidentIDTasksParams) SetDefaults ¶
func (o *GetV1IncidentsIncidentIDTasksParams) SetDefaults()
SetDefaults hydrates default values in the get v1 incidents incident Id tasks params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1IncidentsIncidentIDTasksParams) SetHTTPClient ¶
func (o *GetV1IncidentsIncidentIDTasksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id tasks params
func (*GetV1IncidentsIncidentIDTasksParams) SetIncidentID ¶
func (o *GetV1IncidentsIncidentIDTasksParams) SetIncidentID(incidentID string)
SetIncidentID adds the incidentId to the get v1 incidents incident Id tasks params
func (*GetV1IncidentsIncidentIDTasksParams) SetPage ¶
func (o *GetV1IncidentsIncidentIDTasksParams) SetPage(page *int32)
SetPage adds the page to the get v1 incidents incident Id tasks params
func (*GetV1IncidentsIncidentIDTasksParams) SetPerPage ¶
func (o *GetV1IncidentsIncidentIDTasksParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v1 incidents incident Id tasks params
func (*GetV1IncidentsIncidentIDTasksParams) SetTimeout ¶
func (o *GetV1IncidentsIncidentIDTasksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 incidents incident Id tasks params
func (*GetV1IncidentsIncidentIDTasksParams) WithContext ¶
func (o *GetV1IncidentsIncidentIDTasksParams) WithContext(ctx context.Context) *GetV1IncidentsIncidentIDTasksParams
WithContext adds the context to the get v1 incidents incident Id tasks params
func (*GetV1IncidentsIncidentIDTasksParams) WithDefaults ¶
func (o *GetV1IncidentsIncidentIDTasksParams) WithDefaults() *GetV1IncidentsIncidentIDTasksParams
WithDefaults hydrates default values in the get v1 incidents incident Id tasks params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1IncidentsIncidentIDTasksParams) WithHTTPClient ¶
func (o *GetV1IncidentsIncidentIDTasksParams) WithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDTasksParams
WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id tasks params
func (*GetV1IncidentsIncidentIDTasksParams) WithIncidentID ¶
func (o *GetV1IncidentsIncidentIDTasksParams) WithIncidentID(incidentID string) *GetV1IncidentsIncidentIDTasksParams
WithIncidentID adds the incidentID to the get v1 incidents incident Id tasks params
func (*GetV1IncidentsIncidentIDTasksParams) WithPage ¶
func (o *GetV1IncidentsIncidentIDTasksParams) WithPage(page *int32) *GetV1IncidentsIncidentIDTasksParams
WithPage adds the page to the get v1 incidents incident Id tasks params
func (*GetV1IncidentsIncidentIDTasksParams) WithPerPage ¶
func (o *GetV1IncidentsIncidentIDTasksParams) WithPerPage(perPage *int32) *GetV1IncidentsIncidentIDTasksParams
WithPerPage adds the perPage to the get v1 incidents incident Id tasks params
func (*GetV1IncidentsIncidentIDTasksParams) WithTimeout ¶
func (o *GetV1IncidentsIncidentIDTasksParams) WithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDTasksParams
WithTimeout adds the timeout to the get v1 incidents incident Id tasks params
func (*GetV1IncidentsIncidentIDTasksParams) WriteToRequest ¶
func (o *GetV1IncidentsIncidentIDTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1IncidentsIncidentIDTasksReader ¶
type GetV1IncidentsIncidentIDTasksReader struct {
// contains filtered or unexported fields
}
GetV1IncidentsIncidentIDTasksReader is a Reader for the GetV1IncidentsIncidentIDTasks structure.
func (*GetV1IncidentsIncidentIDTasksReader) ReadResponse ¶
func (o *GetV1IncidentsIncidentIDTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1IncidentsIncidentIDTasksTaskIDOK ¶
type GetV1IncidentsIncidentIDTasksTaskIDOK struct {
}
GetV1IncidentsIncidentIDTasksTaskIDOK describes a response with status code 200, with default header values.
Retrieve a single task for an incident
func NewGetV1IncidentsIncidentIDTasksTaskIDOK ¶
func NewGetV1IncidentsIncidentIDTasksTaskIDOK() *GetV1IncidentsIncidentIDTasksTaskIDOK
NewGetV1IncidentsIncidentIDTasksTaskIDOK creates a GetV1IncidentsIncidentIDTasksTaskIDOK with default headers values
func (*GetV1IncidentsIncidentIDTasksTaskIDOK) Error ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) Error() string
func (*GetV1IncidentsIncidentIDTasksTaskIDOK) IsClientError ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) IsClientError() bool
IsClientError returns true when this get v1 incidents incident Id tasks task Id o k response has a 4xx status code
func (*GetV1IncidentsIncidentIDTasksTaskIDOK) IsCode ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) IsCode(code int) bool
IsCode returns true when this get v1 incidents incident Id tasks task Id o k response a status code equal to that given
func (*GetV1IncidentsIncidentIDTasksTaskIDOK) IsRedirect ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 incidents incident Id tasks task Id o k response has a 3xx status code
func (*GetV1IncidentsIncidentIDTasksTaskIDOK) IsServerError ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) IsServerError() bool
IsServerError returns true when this get v1 incidents incident Id tasks task Id o k response has a 5xx status code
func (*GetV1IncidentsIncidentIDTasksTaskIDOK) IsSuccess ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 incidents incident Id tasks task Id o k response has a 2xx status code
func (*GetV1IncidentsIncidentIDTasksTaskIDOK) String ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) String() string
type GetV1IncidentsIncidentIDTasksTaskIDParams ¶
type GetV1IncidentsIncidentIDTasksTaskIDParams struct {
// IncidentID.
IncidentID string
// TaskID.
TaskID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1IncidentsIncidentIDTasksTaskIDParams contains all the parameters to send to the API endpoint
for the get v1 incidents incident Id tasks task Id operation. Typically these are written to a http.Request.
func NewGetV1IncidentsIncidentIDTasksTaskIDParams ¶
func NewGetV1IncidentsIncidentIDTasksTaskIDParams() *GetV1IncidentsIncidentIDTasksTaskIDParams
NewGetV1IncidentsIncidentIDTasksTaskIDParams creates a new GetV1IncidentsIncidentIDTasksTaskIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithContext ¶
func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDTasksTaskIDParams
NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithContext creates a new GetV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a context for a request.
func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient ¶
func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDTasksTaskIDParams
NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout ¶
func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDTasksTaskIDParams
NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout creates a new GetV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a timeout on a request.
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetContext ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 incidents incident Id tasks task Id params
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetDefaults ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 incidents incident Id tasks task Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetHTTPClient ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id tasks task Id params
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID(incidentID string)
SetIncidentID adds the incidentId to the get v1 incidents incident Id tasks task Id params
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetTaskID ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetTaskID(taskID string)
SetTaskID adds the taskId to the get v1 incidents incident Id tasks task Id params
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 incidents incident Id tasks task Id params
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithContext ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WithContext(ctx context.Context) *GetV1IncidentsIncidentIDTasksTaskIDParams
WithContext adds the context to the get v1 incidents incident Id tasks task Id params
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults() *GetV1IncidentsIncidentIDTasksTaskIDParams
WithDefaults hydrates default values in the get v1 incidents incident Id tasks task Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithHTTPClient ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDTasksTaskIDParams
WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id tasks task Id params
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID(incidentID string) *GetV1IncidentsIncidentIDTasksTaskIDParams
WithIncidentID adds the incidentID to the get v1 incidents incident Id tasks task Id params
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID(taskID string) *GetV1IncidentsIncidentIDTasksTaskIDParams
WithTaskID adds the taskID to the get v1 incidents incident Id tasks task Id params
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDTasksTaskIDParams
WithTimeout adds the timeout to the get v1 incidents incident Id tasks task Id params
func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1IncidentsIncidentIDTasksTaskIDReader ¶
type GetV1IncidentsIncidentIDTasksTaskIDReader struct {
// contains filtered or unexported fields
}
GetV1IncidentsIncidentIDTasksTaskIDReader is a Reader for the GetV1IncidentsIncidentIDTasksTaskID structure.
func (*GetV1IncidentsIncidentIDTasksTaskIDReader) ReadResponse ¶
func (o *GetV1IncidentsIncidentIDTasksTaskIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1TaskListsOK ¶
type GetV1TaskListsOK struct {
Payload *models.TaskListEntity
}
GetV1TaskListsOK describes a response with status code 200, with default header values.
Lists all task lists for your organization
func NewGetV1TaskListsOK ¶
func NewGetV1TaskListsOK() *GetV1TaskListsOK
NewGetV1TaskListsOK creates a GetV1TaskListsOK with default headers values
func (*GetV1TaskListsOK) Error ¶
func (o *GetV1TaskListsOK) Error() string
func (*GetV1TaskListsOK) GetPayload ¶
func (o *GetV1TaskListsOK) GetPayload() *models.TaskListEntity
func (*GetV1TaskListsOK) IsClientError ¶
func (o *GetV1TaskListsOK) IsClientError() bool
IsClientError returns true when this get v1 task lists o k response has a 4xx status code
func (*GetV1TaskListsOK) IsCode ¶
func (o *GetV1TaskListsOK) IsCode(code int) bool
IsCode returns true when this get v1 task lists o k response a status code equal to that given
func (*GetV1TaskListsOK) IsRedirect ¶
func (o *GetV1TaskListsOK) IsRedirect() bool
IsRedirect returns true when this get v1 task lists o k response has a 3xx status code
func (*GetV1TaskListsOK) IsServerError ¶
func (o *GetV1TaskListsOK) IsServerError() bool
IsServerError returns true when this get v1 task lists o k response has a 5xx status code
func (*GetV1TaskListsOK) IsSuccess ¶
func (o *GetV1TaskListsOK) IsSuccess() bool
IsSuccess returns true when this get v1 task lists o k response has a 2xx status code
func (*GetV1TaskListsOK) String ¶
func (o *GetV1TaskListsOK) String() string
type GetV1TaskListsParams ¶
type GetV1TaskListsParams struct {
// Page.
//
// Format: int32
Page *int32
// PerPage.
//
// Format: int32
PerPage *int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1TaskListsParams contains all the parameters to send to the API endpoint
for the get v1 task lists operation. Typically these are written to a http.Request.
func NewGetV1TaskListsParams ¶
func NewGetV1TaskListsParams() *GetV1TaskListsParams
NewGetV1TaskListsParams creates a new GetV1TaskListsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV1TaskListsParamsWithContext ¶
func NewGetV1TaskListsParamsWithContext(ctx context.Context) *GetV1TaskListsParams
NewGetV1TaskListsParamsWithContext creates a new GetV1TaskListsParams object with the ability to set a context for a request.
func NewGetV1TaskListsParamsWithHTTPClient ¶
func NewGetV1TaskListsParamsWithHTTPClient(client *http.Client) *GetV1TaskListsParams
NewGetV1TaskListsParamsWithHTTPClient creates a new GetV1TaskListsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1TaskListsParamsWithTimeout ¶
func NewGetV1TaskListsParamsWithTimeout(timeout time.Duration) *GetV1TaskListsParams
NewGetV1TaskListsParamsWithTimeout creates a new GetV1TaskListsParams object with the ability to set a timeout on a request.
func (*GetV1TaskListsParams) SetContext ¶
func (o *GetV1TaskListsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 task lists params
func (*GetV1TaskListsParams) SetDefaults ¶
func (o *GetV1TaskListsParams) SetDefaults()
SetDefaults hydrates default values in the get v1 task lists params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1TaskListsParams) SetHTTPClient ¶
func (o *GetV1TaskListsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 task lists params
func (*GetV1TaskListsParams) SetPage ¶
func (o *GetV1TaskListsParams) SetPage(page *int32)
SetPage adds the page to the get v1 task lists params
func (*GetV1TaskListsParams) SetPerPage ¶
func (o *GetV1TaskListsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v1 task lists params
func (*GetV1TaskListsParams) SetTimeout ¶
func (o *GetV1TaskListsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 task lists params
func (*GetV1TaskListsParams) WithContext ¶
func (o *GetV1TaskListsParams) WithContext(ctx context.Context) *GetV1TaskListsParams
WithContext adds the context to the get v1 task lists params
func (*GetV1TaskListsParams) WithDefaults ¶
func (o *GetV1TaskListsParams) WithDefaults() *GetV1TaskListsParams
WithDefaults hydrates default values in the get v1 task lists params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1TaskListsParams) WithHTTPClient ¶
func (o *GetV1TaskListsParams) WithHTTPClient(client *http.Client) *GetV1TaskListsParams
WithHTTPClient adds the HTTPClient to the get v1 task lists params
func (*GetV1TaskListsParams) WithPage ¶
func (o *GetV1TaskListsParams) WithPage(page *int32) *GetV1TaskListsParams
WithPage adds the page to the get v1 task lists params
func (*GetV1TaskListsParams) WithPerPage ¶
func (o *GetV1TaskListsParams) WithPerPage(perPage *int32) *GetV1TaskListsParams
WithPerPage adds the perPage to the get v1 task lists params
func (*GetV1TaskListsParams) WithTimeout ¶
func (o *GetV1TaskListsParams) WithTimeout(timeout time.Duration) *GetV1TaskListsParams
WithTimeout adds the timeout to the get v1 task lists params
func (*GetV1TaskListsParams) WriteToRequest ¶
func (o *GetV1TaskListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1TaskListsReader ¶
type GetV1TaskListsReader struct {
// contains filtered or unexported fields
}
GetV1TaskListsReader is a Reader for the GetV1TaskLists structure.
func (*GetV1TaskListsReader) ReadResponse ¶
func (o *GetV1TaskListsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1TaskListsTaskListIDOK ¶
type GetV1TaskListsTaskListIDOK struct {
Payload *models.TaskListEntity
}
GetV1TaskListsTaskListIDOK describes a response with status code 200, with default header values.
Retrieves a single task list by ID
func NewGetV1TaskListsTaskListIDOK ¶
func NewGetV1TaskListsTaskListIDOK() *GetV1TaskListsTaskListIDOK
NewGetV1TaskListsTaskListIDOK creates a GetV1TaskListsTaskListIDOK with default headers values
func (*GetV1TaskListsTaskListIDOK) Error ¶
func (o *GetV1TaskListsTaskListIDOK) Error() string
func (*GetV1TaskListsTaskListIDOK) GetPayload ¶
func (o *GetV1TaskListsTaskListIDOK) GetPayload() *models.TaskListEntity
func (*GetV1TaskListsTaskListIDOK) IsClientError ¶
func (o *GetV1TaskListsTaskListIDOK) IsClientError() bool
IsClientError returns true when this get v1 task lists task list Id o k response has a 4xx status code
func (*GetV1TaskListsTaskListIDOK) IsCode ¶
func (o *GetV1TaskListsTaskListIDOK) IsCode(code int) bool
IsCode returns true when this get v1 task lists task list Id o k response a status code equal to that given
func (*GetV1TaskListsTaskListIDOK) IsRedirect ¶
func (o *GetV1TaskListsTaskListIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 task lists task list Id o k response has a 3xx status code
func (*GetV1TaskListsTaskListIDOK) IsServerError ¶
func (o *GetV1TaskListsTaskListIDOK) IsServerError() bool
IsServerError returns true when this get v1 task lists task list Id o k response has a 5xx status code
func (*GetV1TaskListsTaskListIDOK) IsSuccess ¶
func (o *GetV1TaskListsTaskListIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 task lists task list Id o k response has a 2xx status code
func (*GetV1TaskListsTaskListIDOK) String ¶
func (o *GetV1TaskListsTaskListIDOK) String() string
type GetV1TaskListsTaskListIDParams ¶
type GetV1TaskListsTaskListIDParams struct {
// TaskListID.
TaskListID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1TaskListsTaskListIDParams contains all the parameters to send to the API endpoint
for the get v1 task lists task list Id operation. Typically these are written to a http.Request.
func NewGetV1TaskListsTaskListIDParams ¶
func NewGetV1TaskListsTaskListIDParams() *GetV1TaskListsTaskListIDParams
NewGetV1TaskListsTaskListIDParams creates a new GetV1TaskListsTaskListIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV1TaskListsTaskListIDParamsWithContext ¶
func NewGetV1TaskListsTaskListIDParamsWithContext(ctx context.Context) *GetV1TaskListsTaskListIDParams
NewGetV1TaskListsTaskListIDParamsWithContext creates a new GetV1TaskListsTaskListIDParams object with the ability to set a context for a request.
func NewGetV1TaskListsTaskListIDParamsWithHTTPClient ¶
func NewGetV1TaskListsTaskListIDParamsWithHTTPClient(client *http.Client) *GetV1TaskListsTaskListIDParams
NewGetV1TaskListsTaskListIDParamsWithHTTPClient creates a new GetV1TaskListsTaskListIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1TaskListsTaskListIDParamsWithTimeout ¶
func NewGetV1TaskListsTaskListIDParamsWithTimeout(timeout time.Duration) *GetV1TaskListsTaskListIDParams
NewGetV1TaskListsTaskListIDParamsWithTimeout creates a new GetV1TaskListsTaskListIDParams object with the ability to set a timeout on a request.
func (*GetV1TaskListsTaskListIDParams) SetContext ¶
func (o *GetV1TaskListsTaskListIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) SetDefaults ¶
func (o *GetV1TaskListsTaskListIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 task lists task list Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1TaskListsTaskListIDParams) SetHTTPClient ¶
func (o *GetV1TaskListsTaskListIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) SetTaskListID ¶
func (o *GetV1TaskListsTaskListIDParams) SetTaskListID(taskListID string)
SetTaskListID adds the taskListId to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) SetTimeout ¶
func (o *GetV1TaskListsTaskListIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) WithContext ¶
func (o *GetV1TaskListsTaskListIDParams) WithContext(ctx context.Context) *GetV1TaskListsTaskListIDParams
WithContext adds the context to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) WithDefaults ¶
func (o *GetV1TaskListsTaskListIDParams) WithDefaults() *GetV1TaskListsTaskListIDParams
WithDefaults hydrates default values in the get v1 task lists task list Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1TaskListsTaskListIDParams) WithHTTPClient ¶
func (o *GetV1TaskListsTaskListIDParams) WithHTTPClient(client *http.Client) *GetV1TaskListsTaskListIDParams
WithHTTPClient adds the HTTPClient to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) WithTaskListID ¶
func (o *GetV1TaskListsTaskListIDParams) WithTaskListID(taskListID string) *GetV1TaskListsTaskListIDParams
WithTaskListID adds the taskListID to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) WithTimeout ¶
func (o *GetV1TaskListsTaskListIDParams) WithTimeout(timeout time.Duration) *GetV1TaskListsTaskListIDParams
WithTimeout adds the timeout to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) WriteToRequest ¶
func (o *GetV1TaskListsTaskListIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1TaskListsTaskListIDReader ¶
type GetV1TaskListsTaskListIDReader struct {
// contains filtered or unexported fields
}
GetV1TaskListsTaskListIDReader is a Reader for the GetV1TaskListsTaskListID structure.
func (*GetV1TaskListsTaskListIDReader) ReadResponse ¶
func (o *GetV1TaskListsTaskListIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchV1ChecklistTemplatesIDOK ¶
type PatchV1ChecklistTemplatesIDOK struct {
Payload *models.ChecklistTemplateEntity
}
PatchV1ChecklistTemplatesIDOK describes a response with status code 200, with default header values.
Update a checklist templates attributes
func NewPatchV1ChecklistTemplatesIDOK ¶
func NewPatchV1ChecklistTemplatesIDOK() *PatchV1ChecklistTemplatesIDOK
NewPatchV1ChecklistTemplatesIDOK creates a PatchV1ChecklistTemplatesIDOK with default headers values
func (*PatchV1ChecklistTemplatesIDOK) Error ¶
func (o *PatchV1ChecklistTemplatesIDOK) Error() string
func (*PatchV1ChecklistTemplatesIDOK) GetPayload ¶
func (o *PatchV1ChecklistTemplatesIDOK) GetPayload() *models.ChecklistTemplateEntity
func (*PatchV1ChecklistTemplatesIDOK) IsClientError ¶
func (o *PatchV1ChecklistTemplatesIDOK) IsClientError() bool
IsClientError returns true when this patch v1 checklist templates Id o k response has a 4xx status code
func (*PatchV1ChecklistTemplatesIDOK) IsCode ¶
func (o *PatchV1ChecklistTemplatesIDOK) IsCode(code int) bool
IsCode returns true when this patch v1 checklist templates Id o k response a status code equal to that given
func (*PatchV1ChecklistTemplatesIDOK) IsRedirect ¶
func (o *PatchV1ChecklistTemplatesIDOK) IsRedirect() bool
IsRedirect returns true when this patch v1 checklist templates Id o k response has a 3xx status code
func (*PatchV1ChecklistTemplatesIDOK) IsServerError ¶
func (o *PatchV1ChecklistTemplatesIDOK) IsServerError() bool
IsServerError returns true when this patch v1 checklist templates Id o k response has a 5xx status code
func (*PatchV1ChecklistTemplatesIDOK) IsSuccess ¶
func (o *PatchV1ChecklistTemplatesIDOK) IsSuccess() bool
IsSuccess returns true when this patch v1 checklist templates Id o k response has a 2xx status code
func (*PatchV1ChecklistTemplatesIDOK) String ¶
func (o *PatchV1ChecklistTemplatesIDOK) String() string
type PatchV1ChecklistTemplatesIDParams ¶
type PatchV1ChecklistTemplatesIDParams struct {
// ID.
ID string
// PatchV1ChecklistTemplatesID.
PatchV1ChecklistTemplatesID *models.PatchV1ChecklistTemplatesID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PatchV1ChecklistTemplatesIDParams contains all the parameters to send to the API endpoint
for the patch v1 checklist templates Id operation. Typically these are written to a http.Request.
func NewPatchV1ChecklistTemplatesIDParams ¶
func NewPatchV1ChecklistTemplatesIDParams() *PatchV1ChecklistTemplatesIDParams
NewPatchV1ChecklistTemplatesIDParams creates a new PatchV1ChecklistTemplatesIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchV1ChecklistTemplatesIDParamsWithContext ¶
func NewPatchV1ChecklistTemplatesIDParamsWithContext(ctx context.Context) *PatchV1ChecklistTemplatesIDParams
NewPatchV1ChecklistTemplatesIDParamsWithContext creates a new PatchV1ChecklistTemplatesIDParams object with the ability to set a context for a request.
func NewPatchV1ChecklistTemplatesIDParamsWithHTTPClient ¶
func NewPatchV1ChecklistTemplatesIDParamsWithHTTPClient(client *http.Client) *PatchV1ChecklistTemplatesIDParams
NewPatchV1ChecklistTemplatesIDParamsWithHTTPClient creates a new PatchV1ChecklistTemplatesIDParams object with the ability to set a custom HTTPClient for a request.
func NewPatchV1ChecklistTemplatesIDParamsWithTimeout ¶
func NewPatchV1ChecklistTemplatesIDParamsWithTimeout(timeout time.Duration) *PatchV1ChecklistTemplatesIDParams
NewPatchV1ChecklistTemplatesIDParamsWithTimeout creates a new PatchV1ChecklistTemplatesIDParams object with the ability to set a timeout on a request.
func (*PatchV1ChecklistTemplatesIDParams) SetContext ¶
func (o *PatchV1ChecklistTemplatesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch v1 checklist templates Id params
func (*PatchV1ChecklistTemplatesIDParams) SetDefaults ¶
func (o *PatchV1ChecklistTemplatesIDParams) SetDefaults()
SetDefaults hydrates default values in the patch v1 checklist templates Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1ChecklistTemplatesIDParams) SetHTTPClient ¶
func (o *PatchV1ChecklistTemplatesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch v1 checklist templates Id params
func (*PatchV1ChecklistTemplatesIDParams) SetID ¶
func (o *PatchV1ChecklistTemplatesIDParams) SetID(id string)
SetID adds the id to the patch v1 checklist templates Id params
func (*PatchV1ChecklistTemplatesIDParams) SetPatchV1ChecklistTemplatesID ¶
func (o *PatchV1ChecklistTemplatesIDParams) SetPatchV1ChecklistTemplatesID(patchV1ChecklistTemplatesID *models.PatchV1ChecklistTemplatesID)
SetPatchV1ChecklistTemplatesID adds the patchV1ChecklistTemplatesId to the patch v1 checklist templates Id params
func (*PatchV1ChecklistTemplatesIDParams) SetTimeout ¶
func (o *PatchV1ChecklistTemplatesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch v1 checklist templates Id params
func (*PatchV1ChecklistTemplatesIDParams) WithContext ¶
func (o *PatchV1ChecklistTemplatesIDParams) WithContext(ctx context.Context) *PatchV1ChecklistTemplatesIDParams
WithContext adds the context to the patch v1 checklist templates Id params
func (*PatchV1ChecklistTemplatesIDParams) WithDefaults ¶
func (o *PatchV1ChecklistTemplatesIDParams) WithDefaults() *PatchV1ChecklistTemplatesIDParams
WithDefaults hydrates default values in the patch v1 checklist templates Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1ChecklistTemplatesIDParams) WithHTTPClient ¶
func (o *PatchV1ChecklistTemplatesIDParams) WithHTTPClient(client *http.Client) *PatchV1ChecklistTemplatesIDParams
WithHTTPClient adds the HTTPClient to the patch v1 checklist templates Id params
func (*PatchV1ChecklistTemplatesIDParams) WithID ¶
func (o *PatchV1ChecklistTemplatesIDParams) WithID(id string) *PatchV1ChecklistTemplatesIDParams
WithID adds the id to the patch v1 checklist templates Id params
func (*PatchV1ChecklistTemplatesIDParams) WithPatchV1ChecklistTemplatesID ¶
func (o *PatchV1ChecklistTemplatesIDParams) WithPatchV1ChecklistTemplatesID(patchV1ChecklistTemplatesID *models.PatchV1ChecklistTemplatesID) *PatchV1ChecklistTemplatesIDParams
WithPatchV1ChecklistTemplatesID adds the patchV1ChecklistTemplatesID to the patch v1 checklist templates Id params
func (*PatchV1ChecklistTemplatesIDParams) WithTimeout ¶
func (o *PatchV1ChecklistTemplatesIDParams) WithTimeout(timeout time.Duration) *PatchV1ChecklistTemplatesIDParams
WithTimeout adds the timeout to the patch v1 checklist templates Id params
func (*PatchV1ChecklistTemplatesIDParams) WriteToRequest ¶
func (o *PatchV1ChecklistTemplatesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchV1ChecklistTemplatesIDReader ¶
type PatchV1ChecklistTemplatesIDReader struct {
// contains filtered or unexported fields
}
PatchV1ChecklistTemplatesIDReader is a Reader for the PatchV1ChecklistTemplatesID structure.
func (*PatchV1ChecklistTemplatesIDReader) ReadResponse ¶
func (o *PatchV1ChecklistTemplatesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchV1IncidentsIncidentIDTasksTaskIDOK ¶
type PatchV1IncidentsIncidentIDTasksTaskIDOK struct {
Payload *models.TaskEntity
}
PatchV1IncidentsIncidentIDTasksTaskIDOK describes a response with status code 200, with default header values.
Update a task's attributes
func NewPatchV1IncidentsIncidentIDTasksTaskIDOK ¶
func NewPatchV1IncidentsIncidentIDTasksTaskIDOK() *PatchV1IncidentsIncidentIDTasksTaskIDOK
NewPatchV1IncidentsIncidentIDTasksTaskIDOK creates a PatchV1IncidentsIncidentIDTasksTaskIDOK with default headers values
func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) Error ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) Error() string
func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) GetPayload ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) GetPayload() *models.TaskEntity
func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) IsClientError ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) IsClientError() bool
IsClientError returns true when this patch v1 incidents incident Id tasks task Id o k response has a 4xx status code
func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) IsCode ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) IsCode(code int) bool
IsCode returns true when this patch v1 incidents incident Id tasks task Id o k response a status code equal to that given
func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) IsRedirect ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) IsRedirect() bool
IsRedirect returns true when this patch v1 incidents incident Id tasks task Id o k response has a 3xx status code
func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) IsServerError ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) IsServerError() bool
IsServerError returns true when this patch v1 incidents incident Id tasks task Id o k response has a 5xx status code
func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) IsSuccess ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) IsSuccess() bool
IsSuccess returns true when this patch v1 incidents incident Id tasks task Id o k response has a 2xx status code
func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) String ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) String() string
type PatchV1IncidentsIncidentIDTasksTaskIDParams ¶
type PatchV1IncidentsIncidentIDTasksTaskIDParams struct {
// IncidentID.
IncidentID string
// PatchV1IncidentsIncidentIDTasksTaskID.
PatchV1IncidentsIncidentIDTasksTaskID *models.PatchV1IncidentsIncidentIDTasksTaskID
// TaskID.
TaskID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PatchV1IncidentsIncidentIDTasksTaskIDParams contains all the parameters to send to the API endpoint
for the patch v1 incidents incident Id tasks task Id operation. Typically these are written to a http.Request.
func NewPatchV1IncidentsIncidentIDTasksTaskIDParams ¶
func NewPatchV1IncidentsIncidentIDTasksTaskIDParams() *PatchV1IncidentsIncidentIDTasksTaskIDParams
NewPatchV1IncidentsIncidentIDTasksTaskIDParams creates a new PatchV1IncidentsIncidentIDTasksTaskIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithContext ¶
func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithContext(ctx context.Context) *PatchV1IncidentsIncidentIDTasksTaskIDParams
NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithContext creates a new PatchV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a context for a request.
func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient ¶
func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDTasksTaskIDParams
NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient creates a new PatchV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a custom HTTPClient for a request.
func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout ¶
func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDTasksTaskIDParams
NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout creates a new PatchV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a timeout on a request.
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetContext ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch v1 incidents incident Id tasks task Id params
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetDefaults ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetDefaults()
SetDefaults hydrates default values in the patch v1 incidents incident Id tasks task Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetHTTPClient ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch v1 incidents incident Id tasks task Id params
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID(incidentID string)
SetIncidentID adds the incidentId to the patch v1 incidents incident Id tasks task Id params
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetPatchV1IncidentsIncidentIDTasksTaskID ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetPatchV1IncidentsIncidentIDTasksTaskID(patchV1IncidentsIncidentIDTasksTaskID *models.PatchV1IncidentsIncidentIDTasksTaskID)
SetPatchV1IncidentsIncidentIDTasksTaskID adds the patchV1IncidentsIncidentIdTasksTaskId to the patch v1 incidents incident Id tasks task Id params
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetTaskID ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetTaskID(taskID string)
SetTaskID adds the taskId to the patch v1 incidents incident Id tasks task Id params
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch v1 incidents incident Id tasks task Id params
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithContext ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithContext(ctx context.Context) *PatchV1IncidentsIncidentIDTasksTaskIDParams
WithContext adds the context to the patch v1 incidents incident Id tasks task Id params
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults() *PatchV1IncidentsIncidentIDTasksTaskIDParams
WithDefaults hydrates default values in the patch v1 incidents incident Id tasks task Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithHTTPClient ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDTasksTaskIDParams
WithHTTPClient adds the HTTPClient to the patch v1 incidents incident Id tasks task Id params
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID(incidentID string) *PatchV1IncidentsIncidentIDTasksTaskIDParams
WithIncidentID adds the incidentID to the patch v1 incidents incident Id tasks task Id params
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithPatchV1IncidentsIncidentIDTasksTaskID ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithPatchV1IncidentsIncidentIDTasksTaskID(patchV1IncidentsIncidentIDTasksTaskID *models.PatchV1IncidentsIncidentIDTasksTaskID) *PatchV1IncidentsIncidentIDTasksTaskIDParams
WithPatchV1IncidentsIncidentIDTasksTaskID adds the patchV1IncidentsIncidentIDTasksTaskID to the patch v1 incidents incident Id tasks task Id params
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID(taskID string) *PatchV1IncidentsIncidentIDTasksTaskIDParams
WithTaskID adds the taskID to the patch v1 incidents incident Id tasks task Id params
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDTasksTaskIDParams
WithTimeout adds the timeout to the patch v1 incidents incident Id tasks task Id params
func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchV1IncidentsIncidentIDTasksTaskIDReader ¶
type PatchV1IncidentsIncidentIDTasksTaskIDReader struct {
// contains filtered or unexported fields
}
PatchV1IncidentsIncidentIDTasksTaskIDReader is a Reader for the PatchV1IncidentsIncidentIDTasksTaskID structure.
func (*PatchV1IncidentsIncidentIDTasksTaskIDReader) ReadResponse ¶
func (o *PatchV1IncidentsIncidentIDTasksTaskIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchV1TaskListsTaskListIDOK ¶
type PatchV1TaskListsTaskListIDOK struct {
Payload *models.TaskListEntity
}
PatchV1TaskListsTaskListIDOK describes a response with status code 200, with default header values.
Updates a task list's attributes and task list items
func NewPatchV1TaskListsTaskListIDOK ¶
func NewPatchV1TaskListsTaskListIDOK() *PatchV1TaskListsTaskListIDOK
NewPatchV1TaskListsTaskListIDOK creates a PatchV1TaskListsTaskListIDOK with default headers values
func (*PatchV1TaskListsTaskListIDOK) Error ¶
func (o *PatchV1TaskListsTaskListIDOK) Error() string
func (*PatchV1TaskListsTaskListIDOK) GetPayload ¶
func (o *PatchV1TaskListsTaskListIDOK) GetPayload() *models.TaskListEntity
func (*PatchV1TaskListsTaskListIDOK) IsClientError ¶
func (o *PatchV1TaskListsTaskListIDOK) IsClientError() bool
IsClientError returns true when this patch v1 task lists task list Id o k response has a 4xx status code
func (*PatchV1TaskListsTaskListIDOK) IsCode ¶
func (o *PatchV1TaskListsTaskListIDOK) IsCode(code int) bool
IsCode returns true when this patch v1 task lists task list Id o k response a status code equal to that given
func (*PatchV1TaskListsTaskListIDOK) IsRedirect ¶
func (o *PatchV1TaskListsTaskListIDOK) IsRedirect() bool
IsRedirect returns true when this patch v1 task lists task list Id o k response has a 3xx status code
func (*PatchV1TaskListsTaskListIDOK) IsServerError ¶
func (o *PatchV1TaskListsTaskListIDOK) IsServerError() bool
IsServerError returns true when this patch v1 task lists task list Id o k response has a 5xx status code
func (*PatchV1TaskListsTaskListIDOK) IsSuccess ¶
func (o *PatchV1TaskListsTaskListIDOK) IsSuccess() bool
IsSuccess returns true when this patch v1 task lists task list Id o k response has a 2xx status code
func (*PatchV1TaskListsTaskListIDOK) String ¶
func (o *PatchV1TaskListsTaskListIDOK) String() string
type PatchV1TaskListsTaskListIDParams ¶
type PatchV1TaskListsTaskListIDParams struct {
// PatchV1TaskListsTaskListID.
PatchV1TaskListsTaskListID *models.PatchV1TaskListsTaskListID
// TaskListID.
TaskListID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PatchV1TaskListsTaskListIDParams contains all the parameters to send to the API endpoint
for the patch v1 task lists task list Id operation. Typically these are written to a http.Request.
func NewPatchV1TaskListsTaskListIDParams ¶
func NewPatchV1TaskListsTaskListIDParams() *PatchV1TaskListsTaskListIDParams
NewPatchV1TaskListsTaskListIDParams creates a new PatchV1TaskListsTaskListIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchV1TaskListsTaskListIDParamsWithContext ¶
func NewPatchV1TaskListsTaskListIDParamsWithContext(ctx context.Context) *PatchV1TaskListsTaskListIDParams
NewPatchV1TaskListsTaskListIDParamsWithContext creates a new PatchV1TaskListsTaskListIDParams object with the ability to set a context for a request.
func NewPatchV1TaskListsTaskListIDParamsWithHTTPClient ¶
func NewPatchV1TaskListsTaskListIDParamsWithHTTPClient(client *http.Client) *PatchV1TaskListsTaskListIDParams
NewPatchV1TaskListsTaskListIDParamsWithHTTPClient creates a new PatchV1TaskListsTaskListIDParams object with the ability to set a custom HTTPClient for a request.
func NewPatchV1TaskListsTaskListIDParamsWithTimeout ¶
func NewPatchV1TaskListsTaskListIDParamsWithTimeout(timeout time.Duration) *PatchV1TaskListsTaskListIDParams
NewPatchV1TaskListsTaskListIDParamsWithTimeout creates a new PatchV1TaskListsTaskListIDParams object with the ability to set a timeout on a request.
func (*PatchV1TaskListsTaskListIDParams) SetContext ¶
func (o *PatchV1TaskListsTaskListIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) SetDefaults ¶
func (o *PatchV1TaskListsTaskListIDParams) SetDefaults()
SetDefaults hydrates default values in the patch v1 task lists task list Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1TaskListsTaskListIDParams) SetHTTPClient ¶
func (o *PatchV1TaskListsTaskListIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) SetPatchV1TaskListsTaskListID ¶
func (o *PatchV1TaskListsTaskListIDParams) SetPatchV1TaskListsTaskListID(patchV1TaskListsTaskListID *models.PatchV1TaskListsTaskListID)
SetPatchV1TaskListsTaskListID adds the patchV1TaskListsTaskListId to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) SetTaskListID ¶
func (o *PatchV1TaskListsTaskListIDParams) SetTaskListID(taskListID string)
SetTaskListID adds the taskListId to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) SetTimeout ¶
func (o *PatchV1TaskListsTaskListIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) WithContext ¶
func (o *PatchV1TaskListsTaskListIDParams) WithContext(ctx context.Context) *PatchV1TaskListsTaskListIDParams
WithContext adds the context to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) WithDefaults ¶
func (o *PatchV1TaskListsTaskListIDParams) WithDefaults() *PatchV1TaskListsTaskListIDParams
WithDefaults hydrates default values in the patch v1 task lists task list Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1TaskListsTaskListIDParams) WithHTTPClient ¶
func (o *PatchV1TaskListsTaskListIDParams) WithHTTPClient(client *http.Client) *PatchV1TaskListsTaskListIDParams
WithHTTPClient adds the HTTPClient to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) WithPatchV1TaskListsTaskListID ¶
func (o *PatchV1TaskListsTaskListIDParams) WithPatchV1TaskListsTaskListID(patchV1TaskListsTaskListID *models.PatchV1TaskListsTaskListID) *PatchV1TaskListsTaskListIDParams
WithPatchV1TaskListsTaskListID adds the patchV1TaskListsTaskListID to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) WithTaskListID ¶
func (o *PatchV1TaskListsTaskListIDParams) WithTaskListID(taskListID string) *PatchV1TaskListsTaskListIDParams
WithTaskListID adds the taskListID to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) WithTimeout ¶
func (o *PatchV1TaskListsTaskListIDParams) WithTimeout(timeout time.Duration) *PatchV1TaskListsTaskListIDParams
WithTimeout adds the timeout to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) WriteToRequest ¶
func (o *PatchV1TaskListsTaskListIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchV1TaskListsTaskListIDReader ¶
type PatchV1TaskListsTaskListIDReader struct {
// contains filtered or unexported fields
}
PatchV1TaskListsTaskListIDReader is a Reader for the PatchV1TaskListsTaskListID structure.
func (*PatchV1TaskListsTaskListIDReader) ReadResponse ¶
func (o *PatchV1TaskListsTaskListIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1ChecklistTemplatesBadRequest ¶
type PostV1ChecklistTemplatesBadRequest struct {
Payload *models.ErrorEntity
}
PostV1ChecklistTemplatesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostV1ChecklistTemplatesBadRequest ¶
func NewPostV1ChecklistTemplatesBadRequest() *PostV1ChecklistTemplatesBadRequest
NewPostV1ChecklistTemplatesBadRequest creates a PostV1ChecklistTemplatesBadRequest with default headers values
func (*PostV1ChecklistTemplatesBadRequest) Error ¶
func (o *PostV1ChecklistTemplatesBadRequest) Error() string
func (*PostV1ChecklistTemplatesBadRequest) GetPayload ¶
func (o *PostV1ChecklistTemplatesBadRequest) GetPayload() *models.ErrorEntity
func (*PostV1ChecklistTemplatesBadRequest) IsClientError ¶
func (o *PostV1ChecklistTemplatesBadRequest) IsClientError() bool
IsClientError returns true when this post v1 checklist templates bad request response has a 4xx status code
func (*PostV1ChecklistTemplatesBadRequest) IsCode ¶
func (o *PostV1ChecklistTemplatesBadRequest) IsCode(code int) bool
IsCode returns true when this post v1 checklist templates bad request response a status code equal to that given
func (*PostV1ChecklistTemplatesBadRequest) IsRedirect ¶
func (o *PostV1ChecklistTemplatesBadRequest) IsRedirect() bool
IsRedirect returns true when this post v1 checklist templates bad request response has a 3xx status code
func (*PostV1ChecklistTemplatesBadRequest) IsServerError ¶
func (o *PostV1ChecklistTemplatesBadRequest) IsServerError() bool
IsServerError returns true when this post v1 checklist templates bad request response has a 5xx status code
func (*PostV1ChecklistTemplatesBadRequest) IsSuccess ¶
func (o *PostV1ChecklistTemplatesBadRequest) IsSuccess() bool
IsSuccess returns true when this post v1 checklist templates bad request response has a 2xx status code
func (*PostV1ChecklistTemplatesBadRequest) String ¶
func (o *PostV1ChecklistTemplatesBadRequest) String() string
type PostV1ChecklistTemplatesCreated ¶
type PostV1ChecklistTemplatesCreated struct {
Payload *models.ChecklistTemplateEntity
}
PostV1ChecklistTemplatesCreated describes a response with status code 201, with default header values.
Creates a checklist template for the organization
func NewPostV1ChecklistTemplatesCreated ¶
func NewPostV1ChecklistTemplatesCreated() *PostV1ChecklistTemplatesCreated
NewPostV1ChecklistTemplatesCreated creates a PostV1ChecklistTemplatesCreated with default headers values
func (*PostV1ChecklistTemplatesCreated) Error ¶
func (o *PostV1ChecklistTemplatesCreated) Error() string
func (*PostV1ChecklistTemplatesCreated) GetPayload ¶
func (o *PostV1ChecklistTemplatesCreated) GetPayload() *models.ChecklistTemplateEntity
func (*PostV1ChecklistTemplatesCreated) IsClientError ¶
func (o *PostV1ChecklistTemplatesCreated) IsClientError() bool
IsClientError returns true when this post v1 checklist templates created response has a 4xx status code
func (*PostV1ChecklistTemplatesCreated) IsCode ¶
func (o *PostV1ChecklistTemplatesCreated) IsCode(code int) bool
IsCode returns true when this post v1 checklist templates created response a status code equal to that given
func (*PostV1ChecklistTemplatesCreated) IsRedirect ¶
func (o *PostV1ChecklistTemplatesCreated) IsRedirect() bool
IsRedirect returns true when this post v1 checklist templates created response has a 3xx status code
func (*PostV1ChecklistTemplatesCreated) IsServerError ¶
func (o *PostV1ChecklistTemplatesCreated) IsServerError() bool
IsServerError returns true when this post v1 checklist templates created response has a 5xx status code
func (*PostV1ChecklistTemplatesCreated) IsSuccess ¶
func (o *PostV1ChecklistTemplatesCreated) IsSuccess() bool
IsSuccess returns true when this post v1 checklist templates created response has a 2xx status code
func (*PostV1ChecklistTemplatesCreated) String ¶
func (o *PostV1ChecklistTemplatesCreated) String() string
type PostV1ChecklistTemplatesParams ¶
type PostV1ChecklistTemplatesParams struct {
// PostV1ChecklistTemplates.
PostV1ChecklistTemplates *models.PostV1ChecklistTemplates
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostV1ChecklistTemplatesParams contains all the parameters to send to the API endpoint
for the post v1 checklist templates operation. Typically these are written to a http.Request.
func NewPostV1ChecklistTemplatesParams ¶
func NewPostV1ChecklistTemplatesParams() *PostV1ChecklistTemplatesParams
NewPostV1ChecklistTemplatesParams creates a new PostV1ChecklistTemplatesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostV1ChecklistTemplatesParamsWithContext ¶
func NewPostV1ChecklistTemplatesParamsWithContext(ctx context.Context) *PostV1ChecklistTemplatesParams
NewPostV1ChecklistTemplatesParamsWithContext creates a new PostV1ChecklistTemplatesParams object with the ability to set a context for a request.
func NewPostV1ChecklistTemplatesParamsWithHTTPClient ¶
func NewPostV1ChecklistTemplatesParamsWithHTTPClient(client *http.Client) *PostV1ChecklistTemplatesParams
NewPostV1ChecklistTemplatesParamsWithHTTPClient creates a new PostV1ChecklistTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1ChecklistTemplatesParamsWithTimeout ¶
func NewPostV1ChecklistTemplatesParamsWithTimeout(timeout time.Duration) *PostV1ChecklistTemplatesParams
NewPostV1ChecklistTemplatesParamsWithTimeout creates a new PostV1ChecklistTemplatesParams object with the ability to set a timeout on a request.
func (*PostV1ChecklistTemplatesParams) SetContext ¶
func (o *PostV1ChecklistTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 checklist templates params
func (*PostV1ChecklistTemplatesParams) SetDefaults ¶
func (o *PostV1ChecklistTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the post v1 checklist templates params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1ChecklistTemplatesParams) SetHTTPClient ¶
func (o *PostV1ChecklistTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 checklist templates params
func (*PostV1ChecklistTemplatesParams) SetPostV1ChecklistTemplates ¶
func (o *PostV1ChecklistTemplatesParams) SetPostV1ChecklistTemplates(postV1ChecklistTemplates *models.PostV1ChecklistTemplates)
SetPostV1ChecklistTemplates adds the postV1ChecklistTemplates to the post v1 checklist templates params
func (*PostV1ChecklistTemplatesParams) SetTimeout ¶
func (o *PostV1ChecklistTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 checklist templates params
func (*PostV1ChecklistTemplatesParams) WithContext ¶
func (o *PostV1ChecklistTemplatesParams) WithContext(ctx context.Context) *PostV1ChecklistTemplatesParams
WithContext adds the context to the post v1 checklist templates params
func (*PostV1ChecklistTemplatesParams) WithDefaults ¶
func (o *PostV1ChecklistTemplatesParams) WithDefaults() *PostV1ChecklistTemplatesParams
WithDefaults hydrates default values in the post v1 checklist templates params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1ChecklistTemplatesParams) WithHTTPClient ¶
func (o *PostV1ChecklistTemplatesParams) WithHTTPClient(client *http.Client) *PostV1ChecklistTemplatesParams
WithHTTPClient adds the HTTPClient to the post v1 checklist templates params
func (*PostV1ChecklistTemplatesParams) WithPostV1ChecklistTemplates ¶
func (o *PostV1ChecklistTemplatesParams) WithPostV1ChecklistTemplates(postV1ChecklistTemplates *models.PostV1ChecklistTemplates) *PostV1ChecklistTemplatesParams
WithPostV1ChecklistTemplates adds the postV1ChecklistTemplates to the post v1 checklist templates params
func (*PostV1ChecklistTemplatesParams) WithTimeout ¶
func (o *PostV1ChecklistTemplatesParams) WithTimeout(timeout time.Duration) *PostV1ChecklistTemplatesParams
WithTimeout adds the timeout to the post v1 checklist templates params
func (*PostV1ChecklistTemplatesParams) WriteToRequest ¶
func (o *PostV1ChecklistTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1ChecklistTemplatesReader ¶
type PostV1ChecklistTemplatesReader struct {
// contains filtered or unexported fields
}
PostV1ChecklistTemplatesReader is a Reader for the PostV1ChecklistTemplates structure.
func (*PostV1ChecklistTemplatesReader) ReadResponse ¶
func (o *PostV1ChecklistTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1IncidentsIncidentIDTaskListsCreated ¶
type PostV1IncidentsIncidentIDTaskListsCreated struct {
Payload *models.TaskEntity
}
PostV1IncidentsIncidentIDTaskListsCreated describes a response with status code 201, with default header values.
Add all tasks from list to incident
func NewPostV1IncidentsIncidentIDTaskListsCreated ¶
func NewPostV1IncidentsIncidentIDTaskListsCreated() *PostV1IncidentsIncidentIDTaskListsCreated
NewPostV1IncidentsIncidentIDTaskListsCreated creates a PostV1IncidentsIncidentIDTaskListsCreated with default headers values
func (*PostV1IncidentsIncidentIDTaskListsCreated) Error ¶
func (o *PostV1IncidentsIncidentIDTaskListsCreated) Error() string
func (*PostV1IncidentsIncidentIDTaskListsCreated) GetPayload ¶
func (o *PostV1IncidentsIncidentIDTaskListsCreated) GetPayload() *models.TaskEntity
func (*PostV1IncidentsIncidentIDTaskListsCreated) IsClientError ¶
func (o *PostV1IncidentsIncidentIDTaskListsCreated) IsClientError() bool
IsClientError returns true when this post v1 incidents incident Id task lists created response has a 4xx status code
func (*PostV1IncidentsIncidentIDTaskListsCreated) IsCode ¶
func (o *PostV1IncidentsIncidentIDTaskListsCreated) IsCode(code int) bool
IsCode returns true when this post v1 incidents incident Id task lists created response a status code equal to that given
func (*PostV1IncidentsIncidentIDTaskListsCreated) IsRedirect ¶
func (o *PostV1IncidentsIncidentIDTaskListsCreated) IsRedirect() bool
IsRedirect returns true when this post v1 incidents incident Id task lists created response has a 3xx status code
func (*PostV1IncidentsIncidentIDTaskListsCreated) IsServerError ¶
func (o *PostV1IncidentsIncidentIDTaskListsCreated) IsServerError() bool
IsServerError returns true when this post v1 incidents incident Id task lists created response has a 5xx status code
func (*PostV1IncidentsIncidentIDTaskListsCreated) IsSuccess ¶
func (o *PostV1IncidentsIncidentIDTaskListsCreated) IsSuccess() bool
IsSuccess returns true when this post v1 incidents incident Id task lists created response has a 2xx status code
func (*PostV1IncidentsIncidentIDTaskListsCreated) String ¶
func (o *PostV1IncidentsIncidentIDTaskListsCreated) String() string
type PostV1IncidentsIncidentIDTaskListsParams ¶
type PostV1IncidentsIncidentIDTaskListsParams struct {
// IncidentID.
IncidentID string
// PostV1IncidentsIncidentIDTaskLists.
PostV1IncidentsIncidentIDTaskLists *models.PostV1IncidentsIncidentIDTaskLists
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostV1IncidentsIncidentIDTaskListsParams contains all the parameters to send to the API endpoint
for the post v1 incidents incident Id task lists operation. Typically these are written to a http.Request.
func NewPostV1IncidentsIncidentIDTaskListsParams ¶
func NewPostV1IncidentsIncidentIDTaskListsParams() *PostV1IncidentsIncidentIDTaskListsParams
NewPostV1IncidentsIncidentIDTaskListsParams creates a new PostV1IncidentsIncidentIDTaskListsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostV1IncidentsIncidentIDTaskListsParamsWithContext ¶
func NewPostV1IncidentsIncidentIDTaskListsParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDTaskListsParams
NewPostV1IncidentsIncidentIDTaskListsParamsWithContext creates a new PostV1IncidentsIncidentIDTaskListsParams object with the ability to set a context for a request.
func NewPostV1IncidentsIncidentIDTaskListsParamsWithHTTPClient ¶
func NewPostV1IncidentsIncidentIDTaskListsParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTaskListsParams
NewPostV1IncidentsIncidentIDTaskListsParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDTaskListsParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1IncidentsIncidentIDTaskListsParamsWithTimeout ¶
func NewPostV1IncidentsIncidentIDTaskListsParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTaskListsParams
NewPostV1IncidentsIncidentIDTaskListsParamsWithTimeout creates a new PostV1IncidentsIncidentIDTaskListsParams object with the ability to set a timeout on a request.
func (*PostV1IncidentsIncidentIDTaskListsParams) SetContext ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 incidents incident Id task lists params
func (*PostV1IncidentsIncidentIDTaskListsParams) SetDefaults ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) SetDefaults()
SetDefaults hydrates default values in the post v1 incidents incident Id task lists params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1IncidentsIncidentIDTaskListsParams) SetHTTPClient ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id task lists params
func (*PostV1IncidentsIncidentIDTaskListsParams) SetIncidentID ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) SetIncidentID(incidentID string)
SetIncidentID adds the incidentId to the post v1 incidents incident Id task lists params
func (*PostV1IncidentsIncidentIDTaskListsParams) SetPostV1IncidentsIncidentIDTaskLists ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) SetPostV1IncidentsIncidentIDTaskLists(postV1IncidentsIncidentIDTaskLists *models.PostV1IncidentsIncidentIDTaskLists)
SetPostV1IncidentsIncidentIDTaskLists adds the postV1IncidentsIncidentIdTaskLists to the post v1 incidents incident Id task lists params
func (*PostV1IncidentsIncidentIDTaskListsParams) SetTimeout ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 incidents incident Id task lists params
func (*PostV1IncidentsIncidentIDTaskListsParams) WithContext ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) WithContext(ctx context.Context) *PostV1IncidentsIncidentIDTaskListsParams
WithContext adds the context to the post v1 incidents incident Id task lists params
func (*PostV1IncidentsIncidentIDTaskListsParams) WithDefaults ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) WithDefaults() *PostV1IncidentsIncidentIDTaskListsParams
WithDefaults hydrates default values in the post v1 incidents incident Id task lists params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1IncidentsIncidentIDTaskListsParams) WithHTTPClient ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) WithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTaskListsParams
WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id task lists params
func (*PostV1IncidentsIncidentIDTaskListsParams) WithIncidentID ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) WithIncidentID(incidentID string) *PostV1IncidentsIncidentIDTaskListsParams
WithIncidentID adds the incidentID to the post v1 incidents incident Id task lists params
func (*PostV1IncidentsIncidentIDTaskListsParams) WithPostV1IncidentsIncidentIDTaskLists ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) WithPostV1IncidentsIncidentIDTaskLists(postV1IncidentsIncidentIDTaskLists *models.PostV1IncidentsIncidentIDTaskLists) *PostV1IncidentsIncidentIDTaskListsParams
WithPostV1IncidentsIncidentIDTaskLists adds the postV1IncidentsIncidentIDTaskLists to the post v1 incidents incident Id task lists params
func (*PostV1IncidentsIncidentIDTaskListsParams) WithTimeout ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) WithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTaskListsParams
WithTimeout adds the timeout to the post v1 incidents incident Id task lists params
func (*PostV1IncidentsIncidentIDTaskListsParams) WriteToRequest ¶
func (o *PostV1IncidentsIncidentIDTaskListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1IncidentsIncidentIDTaskListsReader ¶
type PostV1IncidentsIncidentIDTaskListsReader struct {
// contains filtered or unexported fields
}
PostV1IncidentsIncidentIDTaskListsReader is a Reader for the PostV1IncidentsIncidentIDTaskLists structure.
func (*PostV1IncidentsIncidentIDTaskListsReader) ReadResponse ¶
func (o *PostV1IncidentsIncidentIDTaskListsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1IncidentsIncidentIDTasksCreated ¶
type PostV1IncidentsIncidentIDTasksCreated struct {
Payload *models.TaskEntity
}
PostV1IncidentsIncidentIDTasksCreated describes a response with status code 201, with default header values.
Create a task
func NewPostV1IncidentsIncidentIDTasksCreated ¶
func NewPostV1IncidentsIncidentIDTasksCreated() *PostV1IncidentsIncidentIDTasksCreated
NewPostV1IncidentsIncidentIDTasksCreated creates a PostV1IncidentsIncidentIDTasksCreated with default headers values
func (*PostV1IncidentsIncidentIDTasksCreated) Error ¶
func (o *PostV1IncidentsIncidentIDTasksCreated) Error() string
func (*PostV1IncidentsIncidentIDTasksCreated) GetPayload ¶
func (o *PostV1IncidentsIncidentIDTasksCreated) GetPayload() *models.TaskEntity
func (*PostV1IncidentsIncidentIDTasksCreated) IsClientError ¶
func (o *PostV1IncidentsIncidentIDTasksCreated) IsClientError() bool
IsClientError returns true when this post v1 incidents incident Id tasks created response has a 4xx status code
func (*PostV1IncidentsIncidentIDTasksCreated) IsCode ¶
func (o *PostV1IncidentsIncidentIDTasksCreated) IsCode(code int) bool
IsCode returns true when this post v1 incidents incident Id tasks created response a status code equal to that given
func (*PostV1IncidentsIncidentIDTasksCreated) IsRedirect ¶
func (o *PostV1IncidentsIncidentIDTasksCreated) IsRedirect() bool
IsRedirect returns true when this post v1 incidents incident Id tasks created response has a 3xx status code
func (*PostV1IncidentsIncidentIDTasksCreated) IsServerError ¶
func (o *PostV1IncidentsIncidentIDTasksCreated) IsServerError() bool
IsServerError returns true when this post v1 incidents incident Id tasks created response has a 5xx status code
func (*PostV1IncidentsIncidentIDTasksCreated) IsSuccess ¶
func (o *PostV1IncidentsIncidentIDTasksCreated) IsSuccess() bool
IsSuccess returns true when this post v1 incidents incident Id tasks created response has a 2xx status code
func (*PostV1IncidentsIncidentIDTasksCreated) String ¶
func (o *PostV1IncidentsIncidentIDTasksCreated) String() string
type PostV1IncidentsIncidentIDTasksParams ¶
type PostV1IncidentsIncidentIDTasksParams struct {
// IncidentID.
IncidentID string
// PostV1IncidentsIncidentIDTasks.
PostV1IncidentsIncidentIDTasks *models.PostV1IncidentsIncidentIDTasks
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostV1IncidentsIncidentIDTasksParams contains all the parameters to send to the API endpoint
for the post v1 incidents incident Id tasks operation. Typically these are written to a http.Request.
func NewPostV1IncidentsIncidentIDTasksParams ¶
func NewPostV1IncidentsIncidentIDTasksParams() *PostV1IncidentsIncidentIDTasksParams
NewPostV1IncidentsIncidentIDTasksParams creates a new PostV1IncidentsIncidentIDTasksParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostV1IncidentsIncidentIDTasksParamsWithContext ¶
func NewPostV1IncidentsIncidentIDTasksParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDTasksParams
NewPostV1IncidentsIncidentIDTasksParamsWithContext creates a new PostV1IncidentsIncidentIDTasksParams object with the ability to set a context for a request.
func NewPostV1IncidentsIncidentIDTasksParamsWithHTTPClient ¶
func NewPostV1IncidentsIncidentIDTasksParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTasksParams
NewPostV1IncidentsIncidentIDTasksParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDTasksParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1IncidentsIncidentIDTasksParamsWithTimeout ¶
func NewPostV1IncidentsIncidentIDTasksParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTasksParams
NewPostV1IncidentsIncidentIDTasksParamsWithTimeout creates a new PostV1IncidentsIncidentIDTasksParams object with the ability to set a timeout on a request.
func (*PostV1IncidentsIncidentIDTasksParams) SetContext ¶
func (o *PostV1IncidentsIncidentIDTasksParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 incidents incident Id tasks params
func (*PostV1IncidentsIncidentIDTasksParams) SetDefaults ¶
func (o *PostV1IncidentsIncidentIDTasksParams) SetDefaults()
SetDefaults hydrates default values in the post v1 incidents incident Id tasks params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1IncidentsIncidentIDTasksParams) SetHTTPClient ¶
func (o *PostV1IncidentsIncidentIDTasksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id tasks params
func (*PostV1IncidentsIncidentIDTasksParams) SetIncidentID ¶
func (o *PostV1IncidentsIncidentIDTasksParams) SetIncidentID(incidentID string)
SetIncidentID adds the incidentId to the post v1 incidents incident Id tasks params
func (*PostV1IncidentsIncidentIDTasksParams) SetPostV1IncidentsIncidentIDTasks ¶
func (o *PostV1IncidentsIncidentIDTasksParams) SetPostV1IncidentsIncidentIDTasks(postV1IncidentsIncidentIDTasks *models.PostV1IncidentsIncidentIDTasks)
SetPostV1IncidentsIncidentIDTasks adds the postV1IncidentsIncidentIdTasks to the post v1 incidents incident Id tasks params
func (*PostV1IncidentsIncidentIDTasksParams) SetTimeout ¶
func (o *PostV1IncidentsIncidentIDTasksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 incidents incident Id tasks params
func (*PostV1IncidentsIncidentIDTasksParams) WithContext ¶
func (o *PostV1IncidentsIncidentIDTasksParams) WithContext(ctx context.Context) *PostV1IncidentsIncidentIDTasksParams
WithContext adds the context to the post v1 incidents incident Id tasks params
func (*PostV1IncidentsIncidentIDTasksParams) WithDefaults ¶
func (o *PostV1IncidentsIncidentIDTasksParams) WithDefaults() *PostV1IncidentsIncidentIDTasksParams
WithDefaults hydrates default values in the post v1 incidents incident Id tasks params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1IncidentsIncidentIDTasksParams) WithHTTPClient ¶
func (o *PostV1IncidentsIncidentIDTasksParams) WithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTasksParams
WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id tasks params
func (*PostV1IncidentsIncidentIDTasksParams) WithIncidentID ¶
func (o *PostV1IncidentsIncidentIDTasksParams) WithIncidentID(incidentID string) *PostV1IncidentsIncidentIDTasksParams
WithIncidentID adds the incidentID to the post v1 incidents incident Id tasks params
func (*PostV1IncidentsIncidentIDTasksParams) WithPostV1IncidentsIncidentIDTasks ¶
func (o *PostV1IncidentsIncidentIDTasksParams) WithPostV1IncidentsIncidentIDTasks(postV1IncidentsIncidentIDTasks *models.PostV1IncidentsIncidentIDTasks) *PostV1IncidentsIncidentIDTasksParams
WithPostV1IncidentsIncidentIDTasks adds the postV1IncidentsIncidentIDTasks to the post v1 incidents incident Id tasks params
func (*PostV1IncidentsIncidentIDTasksParams) WithTimeout ¶
func (o *PostV1IncidentsIncidentIDTasksParams) WithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTasksParams
WithTimeout adds the timeout to the post v1 incidents incident Id tasks params
func (*PostV1IncidentsIncidentIDTasksParams) WriteToRequest ¶
func (o *PostV1IncidentsIncidentIDTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1IncidentsIncidentIDTasksReader ¶
type PostV1IncidentsIncidentIDTasksReader struct {
// contains filtered or unexported fields
}
PostV1IncidentsIncidentIDTasksReader is a Reader for the PostV1IncidentsIncidentIDTasks structure.
func (*PostV1IncidentsIncidentIDTasksReader) ReadResponse ¶
func (o *PostV1IncidentsIncidentIDTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1IncidentsIncidentIDTasksTaskIDConvertCreated ¶
type PostV1IncidentsIncidentIDTasksTaskIDConvertCreated struct {
Payload *models.TaskEntityPaginated
}
PostV1IncidentsIncidentIDTasksTaskIDConvertCreated describes a response with status code 201, with default header values.
Convert a task to a follow-up
func NewPostV1IncidentsIncidentIDTasksTaskIDConvertCreated ¶
func NewPostV1IncidentsIncidentIDTasksTaskIDConvertCreated() *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated
NewPostV1IncidentsIncidentIDTasksTaskIDConvertCreated creates a PostV1IncidentsIncidentIDTasksTaskIDConvertCreated with default headers values
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) Error ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) Error() string
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) GetPayload ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) GetPayload() *models.TaskEntityPaginated
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsClientError ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsClientError() bool
IsClientError returns true when this post v1 incidents incident Id tasks task Id convert created response has a 4xx status code
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsCode ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsCode(code int) bool
IsCode returns true when this post v1 incidents incident Id tasks task Id convert created response a status code equal to that given
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsRedirect ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsRedirect() bool
IsRedirect returns true when this post v1 incidents incident Id tasks task Id convert created response has a 3xx status code
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsServerError ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsServerError() bool
IsServerError returns true when this post v1 incidents incident Id tasks task Id convert created response has a 5xx status code
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsSuccess ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsSuccess() bool
IsSuccess returns true when this post v1 incidents incident Id tasks task Id convert created response has a 2xx status code
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) String ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) String() string
type PostV1IncidentsIncidentIDTasksTaskIDConvertParams ¶
type PostV1IncidentsIncidentIDTasksTaskIDConvertParams struct {
// IncidentID.
IncidentID string
// PostV1IncidentsIncidentIDTasksTaskIDConvert.
PostV1IncidentsIncidentIDTasksTaskIDConvert *models.PostV1IncidentsIncidentIDTasksTaskIDConvert
// TaskID.
TaskID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostV1IncidentsIncidentIDTasksTaskIDConvertParams contains all the parameters to send to the API endpoint
for the post v1 incidents incident Id tasks task Id convert operation. Typically these are written to a http.Request.
func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParams ¶
func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParams() *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
NewPostV1IncidentsIncidentIDTasksTaskIDConvertParams creates a new PostV1IncidentsIncidentIDTasksTaskIDConvertParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithContext ¶
func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithContext creates a new PostV1IncidentsIncidentIDTasksTaskIDConvertParams object with the ability to set a context for a request.
func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithHTTPClient ¶
func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDTasksTaskIDConvertParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithTimeout ¶
func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithTimeout creates a new PostV1IncidentsIncidentIDTasksTaskIDConvertParams object with the ability to set a timeout on a request.
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetContext ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 incidents incident Id tasks task Id convert params
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetDefaults ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetDefaults()
SetDefaults hydrates default values in the post v1 incidents incident Id tasks task Id convert params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetHTTPClient ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id tasks task Id convert params
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetIncidentID ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetIncidentID(incidentID string)
SetIncidentID adds the incidentId to the post v1 incidents incident Id tasks task Id convert params
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetPostV1IncidentsIncidentIDTasksTaskIDConvert ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetPostV1IncidentsIncidentIDTasksTaskIDConvert(postV1IncidentsIncidentIDTasksTaskIDConvert *models.PostV1IncidentsIncidentIDTasksTaskIDConvert)
SetPostV1IncidentsIncidentIDTasksTaskIDConvert adds the postV1IncidentsIncidentIdTasksTaskIdConvert to the post v1 incidents incident Id tasks task Id convert params
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetTaskID ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetTaskID(taskID string)
SetTaskID adds the taskId to the post v1 incidents incident Id tasks task Id convert params
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetTimeout ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 incidents incident Id tasks task Id convert params
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithContext ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithContext(ctx context.Context) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
WithContext adds the context to the post v1 incidents incident Id tasks task Id convert params
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithDefaults ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithDefaults() *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
WithDefaults hydrates default values in the post v1 incidents incident Id tasks task Id convert params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithHTTPClient ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id tasks task Id convert params
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithIncidentID ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithIncidentID(incidentID string) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
WithIncidentID adds the incidentID to the post v1 incidents incident Id tasks task Id convert params
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithPostV1IncidentsIncidentIDTasksTaskIDConvert ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithPostV1IncidentsIncidentIDTasksTaskIDConvert(postV1IncidentsIncidentIDTasksTaskIDConvert *models.PostV1IncidentsIncidentIDTasksTaskIDConvert) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
WithPostV1IncidentsIncidentIDTasksTaskIDConvert adds the postV1IncidentsIncidentIDTasksTaskIDConvert to the post v1 incidents incident Id tasks task Id convert params
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithTaskID ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithTaskID(taskID string) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
WithTaskID adds the taskID to the post v1 incidents incident Id tasks task Id convert params
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithTimeout ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams
WithTimeout adds the timeout to the post v1 incidents incident Id tasks task Id convert params
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WriteToRequest ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1IncidentsIncidentIDTasksTaskIDConvertReader ¶
type PostV1IncidentsIncidentIDTasksTaskIDConvertReader struct {
// contains filtered or unexported fields
}
PostV1IncidentsIncidentIDTasksTaskIDConvertReader is a Reader for the PostV1IncidentsIncidentIDTasksTaskIDConvert structure.
func (*PostV1IncidentsIncidentIDTasksTaskIDConvertReader) ReadResponse ¶
func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1TaskListsCreated ¶
type PostV1TaskListsCreated struct {
Payload *models.TaskListEntity
}
PostV1TaskListsCreated describes a response with status code 201, with default header values.
Creates a new task list
func NewPostV1TaskListsCreated ¶
func NewPostV1TaskListsCreated() *PostV1TaskListsCreated
NewPostV1TaskListsCreated creates a PostV1TaskListsCreated with default headers values
func (*PostV1TaskListsCreated) Error ¶
func (o *PostV1TaskListsCreated) Error() string
func (*PostV1TaskListsCreated) GetPayload ¶
func (o *PostV1TaskListsCreated) GetPayload() *models.TaskListEntity
func (*PostV1TaskListsCreated) IsClientError ¶
func (o *PostV1TaskListsCreated) IsClientError() bool
IsClientError returns true when this post v1 task lists created response has a 4xx status code
func (*PostV1TaskListsCreated) IsCode ¶
func (o *PostV1TaskListsCreated) IsCode(code int) bool
IsCode returns true when this post v1 task lists created response a status code equal to that given
func (*PostV1TaskListsCreated) IsRedirect ¶
func (o *PostV1TaskListsCreated) IsRedirect() bool
IsRedirect returns true when this post v1 task lists created response has a 3xx status code
func (*PostV1TaskListsCreated) IsServerError ¶
func (o *PostV1TaskListsCreated) IsServerError() bool
IsServerError returns true when this post v1 task lists created response has a 5xx status code
func (*PostV1TaskListsCreated) IsSuccess ¶
func (o *PostV1TaskListsCreated) IsSuccess() bool
IsSuccess returns true when this post v1 task lists created response has a 2xx status code
func (*PostV1TaskListsCreated) String ¶
func (o *PostV1TaskListsCreated) String() string
type PostV1TaskListsParams ¶
type PostV1TaskListsParams struct {
// PostV1TaskLists.
PostV1TaskLists *models.PostV1TaskLists
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostV1TaskListsParams contains all the parameters to send to the API endpoint
for the post v1 task lists operation. Typically these are written to a http.Request.
func NewPostV1TaskListsParams ¶
func NewPostV1TaskListsParams() *PostV1TaskListsParams
NewPostV1TaskListsParams creates a new PostV1TaskListsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostV1TaskListsParamsWithContext ¶
func NewPostV1TaskListsParamsWithContext(ctx context.Context) *PostV1TaskListsParams
NewPostV1TaskListsParamsWithContext creates a new PostV1TaskListsParams object with the ability to set a context for a request.
func NewPostV1TaskListsParamsWithHTTPClient ¶
func NewPostV1TaskListsParamsWithHTTPClient(client *http.Client) *PostV1TaskListsParams
NewPostV1TaskListsParamsWithHTTPClient creates a new PostV1TaskListsParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1TaskListsParamsWithTimeout ¶
func NewPostV1TaskListsParamsWithTimeout(timeout time.Duration) *PostV1TaskListsParams
NewPostV1TaskListsParamsWithTimeout creates a new PostV1TaskListsParams object with the ability to set a timeout on a request.
func (*PostV1TaskListsParams) SetContext ¶
func (o *PostV1TaskListsParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 task lists params
func (*PostV1TaskListsParams) SetDefaults ¶
func (o *PostV1TaskListsParams) SetDefaults()
SetDefaults hydrates default values in the post v1 task lists params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1TaskListsParams) SetHTTPClient ¶
func (o *PostV1TaskListsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 task lists params
func (*PostV1TaskListsParams) SetPostV1TaskLists ¶
func (o *PostV1TaskListsParams) SetPostV1TaskLists(postV1TaskLists *models.PostV1TaskLists)
SetPostV1TaskLists adds the postV1TaskLists to the post v1 task lists params
func (*PostV1TaskListsParams) SetTimeout ¶
func (o *PostV1TaskListsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 task lists params
func (*PostV1TaskListsParams) WithContext ¶
func (o *PostV1TaskListsParams) WithContext(ctx context.Context) *PostV1TaskListsParams
WithContext adds the context to the post v1 task lists params
func (*PostV1TaskListsParams) WithDefaults ¶
func (o *PostV1TaskListsParams) WithDefaults() *PostV1TaskListsParams
WithDefaults hydrates default values in the post v1 task lists params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1TaskListsParams) WithHTTPClient ¶
func (o *PostV1TaskListsParams) WithHTTPClient(client *http.Client) *PostV1TaskListsParams
WithHTTPClient adds the HTTPClient to the post v1 task lists params
func (*PostV1TaskListsParams) WithPostV1TaskLists ¶
func (o *PostV1TaskListsParams) WithPostV1TaskLists(postV1TaskLists *models.PostV1TaskLists) *PostV1TaskListsParams
WithPostV1TaskLists adds the postV1TaskLists to the post v1 task lists params
func (*PostV1TaskListsParams) WithTimeout ¶
func (o *PostV1TaskListsParams) WithTimeout(timeout time.Duration) *PostV1TaskListsParams
WithTimeout adds the timeout to the post v1 task lists params
func (*PostV1TaskListsParams) WriteToRequest ¶
func (o *PostV1TaskListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1TaskListsReader ¶
type PostV1TaskListsReader struct {
// contains filtered or unexported fields
}
PostV1TaskListsReader is a Reader for the PostV1TaskLists structure.
func (*PostV1TaskListsReader) ReadResponse ¶
func (o *PostV1TaskListsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- delete_v1_checklist_templates_id_parameters.go
- delete_v1_checklist_templates_id_responses.go
- delete_v1_incidents_incident_id_tasks_task_id_parameters.go
- delete_v1_incidents_incident_id_tasks_task_id_responses.go
- delete_v1_task_lists_task_list_id_parameters.go
- delete_v1_task_lists_task_list_id_responses.go
- get_v1_checklist_templates_id_parameters.go
- get_v1_checklist_templates_id_responses.go
- get_v1_checklist_templates_parameters.go
- get_v1_checklist_templates_responses.go
- get_v1_incidents_incident_id_tasks_parameters.go
- get_v1_incidents_incident_id_tasks_responses.go
- get_v1_incidents_incident_id_tasks_task_id_parameters.go
- get_v1_incidents_incident_id_tasks_task_id_responses.go
- get_v1_task_lists_parameters.go
- get_v1_task_lists_responses.go
- get_v1_task_lists_task_list_id_parameters.go
- get_v1_task_lists_task_list_id_responses.go
- patch_v1_checklist_templates_id_parameters.go
- patch_v1_checklist_templates_id_responses.go
- patch_v1_incidents_incident_id_tasks_task_id_parameters.go
- patch_v1_incidents_incident_id_tasks_task_id_responses.go
- patch_v1_task_lists_task_list_id_parameters.go
- patch_v1_task_lists_task_list_id_responses.go
- post_v1_checklist_templates_parameters.go
- post_v1_checklist_templates_responses.go
- post_v1_incidents_incident_id_task_lists_parameters.go
- post_v1_incidents_incident_id_task_lists_responses.go
- post_v1_incidents_incident_id_tasks_parameters.go
- post_v1_incidents_incident_id_tasks_responses.go
- post_v1_incidents_incident_id_tasks_task_id_convert_parameters.go
- post_v1_incidents_incident_id_tasks_task_id_convert_responses.go
- post_v1_task_lists_parameters.go
- post_v1_task_lists_responses.go
- tasks_client.go