tasks

package
v0.0.0-...-3ee50fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

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

PostV1IncidentsIncidentIDTaskLists adds tasks from a task list to an incident

Add all tasks from list to incident

func (*Client) PostV1IncidentsIncidentIDTasks

PostV1IncidentsIncidentIDTasks creates an incident task

Create a task

func (*Client) PostV1IncidentsIncidentIDTasksTaskIDConvert

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 (*DeleteV1ChecklistTemplatesIDOK) GetPayload

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

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

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

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

WithContext adds the context to the delete v1 checklist templates Id params

func (*DeleteV1ChecklistTemplatesIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete v1 checklist templates Id params

func (*DeleteV1ChecklistTemplatesIDParams) WithID

WithID adds the id to the delete v1 checklist templates Id params

func (*DeleteV1ChecklistTemplatesIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 checklist templates Id params

func (*DeleteV1ChecklistTemplatesIDParams) WriteToRequest

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 (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsClientError

IsClientError returns true when this delete v1 incidents incident Id tasks task Id no content response has a 4xx status code

func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsCode

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

IsRedirect returns true when this delete v1 incidents incident Id tasks task Id no content response has a 3xx status code

func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsServerError

IsServerError returns true when this delete v1 incidents incident Id tasks task Id no content response has a 5xx status code

func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 incidents incident Id tasks task Id no content response has a 2xx status code

func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) 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

SetContext adds the context to the delete v1 incidents incident Id tasks task Id params

func (*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

SetTaskID adds the taskId to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithContext

WithContext adds the context to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID

WithIncidentID adds the incidentID to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID

WithTaskID adds the taskID to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest

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 (*DeleteV1TaskListsTaskListIDOK) GetPayload

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

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

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

WithContext adds the context to the delete v1 task lists task list Id params

func (*DeleteV1TaskListsTaskListIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete v1 task lists task list Id params

func (*DeleteV1TaskListsTaskListIDParams) WithTaskListID

WithTaskListID adds the taskListID to the delete v1 task lists task list Id params

func (*DeleteV1TaskListsTaskListIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 task lists task list Id params

func (*DeleteV1TaskListsTaskListIDParams) WriteToRequest

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 (*GetV1ChecklistTemplatesIDOK) GetPayload

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

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

WithContext adds the context to the get v1 checklist templates Id params

func (*GetV1ChecklistTemplatesIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get v1 checklist templates Id params

func (*GetV1ChecklistTemplatesIDParams) WithID

WithID adds the id to the get v1 checklist templates Id params

func (*GetV1ChecklistTemplatesIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 checklist templates Id params

func (*GetV1ChecklistTemplatesIDParams) WriteToRequest

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 (*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

WithContext adds the context to the get v1 checklist templates params

func (*GetV1ChecklistTemplatesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get v1 checklist templates params

func (*GetV1ChecklistTemplatesParams) WithPage

WithPage adds the page to the get v1 checklist templates params

func (*GetV1ChecklistTemplatesParams) WithPerPage

WithPerPage adds the perPage to the get v1 checklist templates params

func (*GetV1ChecklistTemplatesParams) WithQuery

WithQuery adds the query to the get v1 checklist templates params

func (*GetV1ChecklistTemplatesParams) WithTimeout

WithTimeout adds the timeout to the get v1 checklist templates params

func (*GetV1ChecklistTemplatesParams) WriteToRequest

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 (*GetV1IncidentsIncidentIDTasksOK) GetPayload

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

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

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

WithContext adds the context to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WithPage

WithPage adds the page to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WithPerPage

WithPerPage adds the perPage to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WriteToRequest

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 (*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

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

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

IsSuccess returns true when this get v1 incidents incident Id tasks task Id o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDTasksTaskIDOK) 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

SetContext adds the context to the get v1 incidents incident Id tasks task Id params

func (*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

SetTaskID adds the taskId to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithContext

WithContext adds the context to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID

WithTaskID adds the taskID to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest

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

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 (*GetV1TaskListsTaskListIDOK) GetPayload

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

WithContext adds the context to the get v1 task lists task list Id params

func (*GetV1TaskListsTaskListIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get v1 task lists task list Id params

func (*GetV1TaskListsTaskListIDParams) WithTaskListID

WithTaskListID adds the taskListID to the get v1 task lists task list Id params

func (*GetV1TaskListsTaskListIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 task lists task list Id params

func (*GetV1TaskListsTaskListIDParams) WriteToRequest

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 (*PatchV1ChecklistTemplatesIDOK) GetPayload

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

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

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

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

WithContext adds the context to the patch v1 checklist templates Id params

func (*PatchV1ChecklistTemplatesIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the patch v1 checklist templates Id params

func (*PatchV1ChecklistTemplatesIDParams) WithID

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

WithTimeout adds the timeout to the patch v1 checklist templates Id params

func (*PatchV1ChecklistTemplatesIDParams) WriteToRequest

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 (*PatchV1IncidentsIncidentIDTasksTaskIDOK) GetPayload

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

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

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

IsSuccess returns true when this patch v1 incidents incident Id tasks task Id o k response has a 2xx status code

func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) 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

SetContext adds the context to the patch v1 incidents incident Id tasks task Id params

func (*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

SetTaskID adds the taskId to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithContext

WithContext adds the context to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID

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

WithTaskID adds the taskID to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest

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 (*PatchV1TaskListsTaskListIDOK) GetPayload

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

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

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

WithContext adds the context to the patch v1 task lists task list Id params

func (*PatchV1TaskListsTaskListIDParams) WithDefaults

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

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

WithTaskListID adds the taskListID to the patch v1 task lists task list Id params

func (*PatchV1TaskListsTaskListIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 task lists task list Id params

func (*PatchV1TaskListsTaskListIDParams) WriteToRequest

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 (*PostV1ChecklistTemplatesBadRequest) GetPayload

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

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

IsSuccess returns true when this post v1 checklist templates bad request response has a 2xx status code

func (*PostV1ChecklistTemplatesBadRequest) 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 (*PostV1ChecklistTemplatesCreated) GetPayload

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

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

WithContext adds the context to the post v1 checklist templates params

func (*PostV1ChecklistTemplatesParams) WithDefaults

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

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

WithTimeout adds the timeout to the post v1 checklist templates params

func (*PostV1ChecklistTemplatesParams) WriteToRequest

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 (*PostV1IncidentsIncidentIDTaskListsCreated) GetPayload

func (*PostV1IncidentsIncidentIDTaskListsCreated) IsClientError

IsClientError returns true when this post v1 incidents incident Id task lists created response has a 4xx status code

func (*PostV1IncidentsIncidentIDTaskListsCreated) IsCode

IsCode returns true when this post v1 incidents incident Id task lists created response a status code equal to that given

func (*PostV1IncidentsIncidentIDTaskListsCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id task lists created response has a 3xx status code

func (*PostV1IncidentsIncidentIDTaskListsCreated) IsServerError

IsServerError returns true when this post v1 incidents incident Id task lists created response has a 5xx status code

func (*PostV1IncidentsIncidentIDTaskListsCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id task lists created response has a 2xx status code

func (*PostV1IncidentsIncidentIDTaskListsCreated) 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

SetContext adds the context to the post v1 incidents incident Id task lists params

func (*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

SetTimeout adds the timeout to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) WithContext

WithContext adds the context to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) WithIncidentID

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

WithTimeout adds the timeout to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) WriteToRequest

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 (*PostV1IncidentsIncidentIDTasksCreated) GetPayload

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

IsCode returns true when this post v1 incidents incident Id tasks created response a status code equal to that given

func (*PostV1IncidentsIncidentIDTasksCreated) IsRedirect

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

IsSuccess returns true when this post v1 incidents incident Id tasks created response has a 2xx status code

func (*PostV1IncidentsIncidentIDTasksCreated) 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

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

WithContext adds the context to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) WithIncidentID

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

WithTimeout adds the timeout to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) WriteToRequest

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 (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) GetPayload

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsClientError

IsClientError returns true when this post v1 incidents incident Id tasks task Id convert created response has a 4xx status code

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsCode

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

IsRedirect returns true when this post v1 incidents incident Id tasks task Id convert created response has a 3xx status code

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsServerError

IsServerError returns true when this post v1 incidents incident Id tasks task Id convert created response has a 5xx status code

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id tasks task Id convert created response has a 2xx status code

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) 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

SetContext adds the context to the post v1 incidents incident Id tasks task Id convert params

func (*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

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

SetTaskID adds the taskId to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetTimeout

SetTimeout adds the timeout to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithContext

WithContext adds the context to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithIncidentID

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

WithTaskID adds the taskID to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WriteToRequest

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL