task

package
v0.0.0-...-9e5aecc Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: GPL-2.0 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 task API

func (*Client) DeleteAPITasksID

func (a *Client) DeleteAPITasksID(params *DeleteAPITasksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITasksIDNoContent, error)

DeleteAPITasksID deletes an existing task record

func (*Client) GetAPITasks

func (a *Client) GetAPITasks(params *GetAPITasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPITasksOK, error)
GetAPITasks returns a collection of tasks

Attention: This is a GET request and you can pass in every field of the form as query parameter.

Array values need to be written like this: /api/tasks?projects[]=1&projects[]=2

func (*Client) GetAPITasksID

func (a *Client) GetAPITasksID(params *GetAPITasksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPITasksIDOK, error)

GetAPITasksID returns one task

func (*Client) PatchAPITasksID

func (a *Client) PatchAPITasksID(params *PatchAPITasksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDOK, error)

PatchAPITasksID updates an existing task

Update an existing task, you can pass all or just a subset of all attributes

func (*Client) PatchAPITasksIDAssign

func (a *Client) PatchAPITasksIDAssign(params *PatchAPITasksIDAssignParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDAssignOK, error)

PatchAPITasksIDAssign assigns a task to the current user

Assign a currently unassigned task to the current user

func (*Client) PatchAPITasksIDClose

func (a *Client) PatchAPITasksIDClose(params *PatchAPITasksIDCloseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDCloseOK, error)

PatchAPITasksIDClose closes a task for the current user

Closes an assigned task for the current user

func (*Client) PatchAPITasksIDLog

func (a *Client) PatchAPITasksIDLog(params *PatchAPITasksIDLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDLogOK, error)

PatchAPITasksIDLog logs work for a task record

func (*Client) PatchAPITasksIDReopen

func (a *Client) PatchAPITasksIDReopen(params *PatchAPITasksIDReopenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDReopenOK, error)

PatchAPITasksIDReopen reopens a task for the current user

Reopens an assigned task for the current user

func (*Client) PatchAPITasksIDStart

func (a *Client) PatchAPITasksIDStart(params *PatchAPITasksIDStartParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDStartOK, error)

PatchAPITasksIDStart starts a task record

func (*Client) PatchAPITasksIDStop

func (a *Client) PatchAPITasksIDStop(params *PatchAPITasksIDStopParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDStopOK, error)

PatchAPITasksIDStop stops a task record for the current user

func (*Client) PatchAPITasksIDUnassign

func (a *Client) PatchAPITasksIDUnassign(params *PatchAPITasksIDUnassignParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDUnassignOK, error)

PatchAPITasksIDUnassign unassigns a task from the current user

Unassign a currently assigned task from the current user

func (*Client) PostAPITasks

func (a *Client) PostAPITasks(params *PostAPITasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITasksOK, error)

PostAPITasks creates a new task

Creates a new task and returns it afterwards

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 {
	DeleteAPITasksID(params *DeleteAPITasksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITasksIDNoContent, error)

	GetAPITasks(params *GetAPITasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPITasksOK, error)

	GetAPITasksID(params *GetAPITasksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPITasksIDOK, error)

	PatchAPITasksID(params *PatchAPITasksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDOK, error)

	PatchAPITasksIDAssign(params *PatchAPITasksIDAssignParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDAssignOK, error)

	PatchAPITasksIDClose(params *PatchAPITasksIDCloseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDCloseOK, error)

	PatchAPITasksIDLog(params *PatchAPITasksIDLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDLogOK, error)

	PatchAPITasksIDReopen(params *PatchAPITasksIDReopenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDReopenOK, error)

	PatchAPITasksIDStart(params *PatchAPITasksIDStartParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDStartOK, error)

	PatchAPITasksIDStop(params *PatchAPITasksIDStopParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDStopOK, error)

	PatchAPITasksIDUnassign(params *PatchAPITasksIDUnassignParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITasksIDUnassignOK, error)

	PostAPITasks(params *PostAPITasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITasksOK, 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 task API client.

type DeleteAPITasksIDNoContent

type DeleteAPITasksIDNoContent struct {
}

DeleteAPITasksIDNoContent describes a response with status code 204, with default header values.

Delete one task record

func NewDeleteAPITasksIDNoContent

func NewDeleteAPITasksIDNoContent() *DeleteAPITasksIDNoContent

NewDeleteAPITasksIDNoContent creates a DeleteAPITasksIDNoContent with default headers values

func (*DeleteAPITasksIDNoContent) Error

func (o *DeleteAPITasksIDNoContent) Error() string

func (*DeleteAPITasksIDNoContent) IsClientError

func (o *DeleteAPITasksIDNoContent) IsClientError() bool

IsClientError returns true when this delete Api tasks Id no content response has a 4xx status code

func (*DeleteAPITasksIDNoContent) IsCode

func (o *DeleteAPITasksIDNoContent) IsCode(code int) bool

IsCode returns true when this delete Api tasks Id no content response a status code equal to that given

func (*DeleteAPITasksIDNoContent) IsRedirect

func (o *DeleteAPITasksIDNoContent) IsRedirect() bool

IsRedirect returns true when this delete Api tasks Id no content response has a 3xx status code

func (*DeleteAPITasksIDNoContent) IsServerError

func (o *DeleteAPITasksIDNoContent) IsServerError() bool

IsServerError returns true when this delete Api tasks Id no content response has a 5xx status code

func (*DeleteAPITasksIDNoContent) IsSuccess

func (o *DeleteAPITasksIDNoContent) IsSuccess() bool

IsSuccess returns true when this delete Api tasks Id no content response has a 2xx status code

func (*DeleteAPITasksIDNoContent) String

func (o *DeleteAPITasksIDNoContent) String() string

type DeleteAPITasksIDParams

type DeleteAPITasksIDParams struct {

	/* ID.

	   Task record ID to delete
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAPITasksIDParams contains all the parameters to send to the API endpoint

for the delete API tasks ID operation.

Typically these are written to a http.Request.

func NewDeleteAPITasksIDParams

func NewDeleteAPITasksIDParams() *DeleteAPITasksIDParams

NewDeleteAPITasksIDParams creates a new DeleteAPITasksIDParams 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 NewDeleteAPITasksIDParamsWithContext

func NewDeleteAPITasksIDParamsWithContext(ctx context.Context) *DeleteAPITasksIDParams

NewDeleteAPITasksIDParamsWithContext creates a new DeleteAPITasksIDParams object with the ability to set a context for a request.

func NewDeleteAPITasksIDParamsWithHTTPClient

func NewDeleteAPITasksIDParamsWithHTTPClient(client *http.Client) *DeleteAPITasksIDParams

NewDeleteAPITasksIDParamsWithHTTPClient creates a new DeleteAPITasksIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPITasksIDParamsWithTimeout

func NewDeleteAPITasksIDParamsWithTimeout(timeout time.Duration) *DeleteAPITasksIDParams

NewDeleteAPITasksIDParamsWithTimeout creates a new DeleteAPITasksIDParams object with the ability to set a timeout on a request.

func (*DeleteAPITasksIDParams) SetContext

func (o *DeleteAPITasksIDParams) SetContext(ctx context.Context)

SetContext adds the context to the delete API tasks ID params

func (*DeleteAPITasksIDParams) SetDefaults

func (o *DeleteAPITasksIDParams) SetDefaults()

SetDefaults hydrates default values in the delete API tasks ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAPITasksIDParams) SetHTTPClient

func (o *DeleteAPITasksIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete API tasks ID params

func (*DeleteAPITasksIDParams) SetID

func (o *DeleteAPITasksIDParams) SetID(id int64)

SetID adds the id to the delete API tasks ID params

func (*DeleteAPITasksIDParams) SetTimeout

func (o *DeleteAPITasksIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete API tasks ID params

func (*DeleteAPITasksIDParams) WithContext

WithContext adds the context to the delete API tasks ID params

func (*DeleteAPITasksIDParams) WithDefaults

WithDefaults hydrates default values in the delete API tasks ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAPITasksIDParams) WithHTTPClient

func (o *DeleteAPITasksIDParams) WithHTTPClient(client *http.Client) *DeleteAPITasksIDParams

WithHTTPClient adds the HTTPClient to the delete API tasks ID params

func (*DeleteAPITasksIDParams) WithID

WithID adds the id to the delete API tasks ID params

func (*DeleteAPITasksIDParams) WithTimeout

WithTimeout adds the timeout to the delete API tasks ID params

func (*DeleteAPITasksIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPITasksIDReader

type DeleteAPITasksIDReader struct {
	// contains filtered or unexported fields
}

DeleteAPITasksIDReader is a Reader for the DeleteAPITasksID structure.

func (*DeleteAPITasksIDReader) ReadResponse

func (o *DeleteAPITasksIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAPITasksIDOK

type GetAPITasksIDOK struct {
	Payload *models.Task
}

GetAPITasksIDOK describes a response with status code 200, with default header values.

Returns one task entity

func NewGetAPITasksIDOK

func NewGetAPITasksIDOK() *GetAPITasksIDOK

NewGetAPITasksIDOK creates a GetAPITasksIDOK with default headers values

func (*GetAPITasksIDOK) Error

func (o *GetAPITasksIDOK) Error() string

func (*GetAPITasksIDOK) GetPayload

func (o *GetAPITasksIDOK) GetPayload() *models.Task

func (*GetAPITasksIDOK) IsClientError

func (o *GetAPITasksIDOK) IsClientError() bool

IsClientError returns true when this get Api tasks Id o k response has a 4xx status code

func (*GetAPITasksIDOK) IsCode

func (o *GetAPITasksIDOK) IsCode(code int) bool

IsCode returns true when this get Api tasks Id o k response a status code equal to that given

func (*GetAPITasksIDOK) IsRedirect

func (o *GetAPITasksIDOK) IsRedirect() bool

IsRedirect returns true when this get Api tasks Id o k response has a 3xx status code

func (*GetAPITasksIDOK) IsServerError

func (o *GetAPITasksIDOK) IsServerError() bool

IsServerError returns true when this get Api tasks Id o k response has a 5xx status code

func (*GetAPITasksIDOK) IsSuccess

func (o *GetAPITasksIDOK) IsSuccess() bool

IsSuccess returns true when this get Api tasks Id o k response has a 2xx status code

func (*GetAPITasksIDOK) String

func (o *GetAPITasksIDOK) String() string

type GetAPITasksIDParams

type GetAPITasksIDParams struct {

	/* ID.

	   Task ID to fetch
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAPITasksIDParams contains all the parameters to send to the API endpoint

for the get API tasks ID operation.

Typically these are written to a http.Request.

func NewGetAPITasksIDParams

func NewGetAPITasksIDParams() *GetAPITasksIDParams

NewGetAPITasksIDParams creates a new GetAPITasksIDParams 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 NewGetAPITasksIDParamsWithContext

func NewGetAPITasksIDParamsWithContext(ctx context.Context) *GetAPITasksIDParams

NewGetAPITasksIDParamsWithContext creates a new GetAPITasksIDParams object with the ability to set a context for a request.

func NewGetAPITasksIDParamsWithHTTPClient

func NewGetAPITasksIDParamsWithHTTPClient(client *http.Client) *GetAPITasksIDParams

NewGetAPITasksIDParamsWithHTTPClient creates a new GetAPITasksIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPITasksIDParamsWithTimeout

func NewGetAPITasksIDParamsWithTimeout(timeout time.Duration) *GetAPITasksIDParams

NewGetAPITasksIDParamsWithTimeout creates a new GetAPITasksIDParams object with the ability to set a timeout on a request.

func (*GetAPITasksIDParams) SetContext

func (o *GetAPITasksIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get API tasks ID params

func (*GetAPITasksIDParams) SetDefaults

func (o *GetAPITasksIDParams) SetDefaults()

SetDefaults hydrates default values in the get API tasks ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPITasksIDParams) SetHTTPClient

func (o *GetAPITasksIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get API tasks ID params

func (*GetAPITasksIDParams) SetID

func (o *GetAPITasksIDParams) SetID(id int64)

SetID adds the id to the get API tasks ID params

func (*GetAPITasksIDParams) SetTimeout

func (o *GetAPITasksIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get API tasks ID params

func (*GetAPITasksIDParams) WithContext

WithContext adds the context to the get API tasks ID params

func (*GetAPITasksIDParams) WithDefaults

func (o *GetAPITasksIDParams) WithDefaults() *GetAPITasksIDParams

WithDefaults hydrates default values in the get API tasks ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPITasksIDParams) WithHTTPClient

func (o *GetAPITasksIDParams) WithHTTPClient(client *http.Client) *GetAPITasksIDParams

WithHTTPClient adds the HTTPClient to the get API tasks ID params

func (*GetAPITasksIDParams) WithID

WithID adds the id to the get API tasks ID params

func (*GetAPITasksIDParams) WithTimeout

func (o *GetAPITasksIDParams) WithTimeout(timeout time.Duration) *GetAPITasksIDParams

WithTimeout adds the timeout to the get API tasks ID params

func (*GetAPITasksIDParams) WriteToRequest

func (o *GetAPITasksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAPITasksIDReader

type GetAPITasksIDReader struct {
	// contains filtered or unexported fields
}

GetAPITasksIDReader is a Reader for the GetAPITasksID structure.

func (*GetAPITasksIDReader) ReadResponse

func (o *GetAPITasksIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAPITasksOK

type GetAPITasksOK struct {
	Payload []*models.Task
}

GetAPITasksOK describes a response with status code 200, with default header values.

Returns a collection of task entities

func NewGetAPITasksOK

func NewGetAPITasksOK() *GetAPITasksOK

NewGetAPITasksOK creates a GetAPITasksOK with default headers values

func (*GetAPITasksOK) Error

func (o *GetAPITasksOK) Error() string

func (*GetAPITasksOK) GetPayload

func (o *GetAPITasksOK) GetPayload() []*models.Task

func (*GetAPITasksOK) IsClientError

func (o *GetAPITasksOK) IsClientError() bool

IsClientError returns true when this get Api tasks o k response has a 4xx status code

func (*GetAPITasksOK) IsCode

func (o *GetAPITasksOK) IsCode(code int) bool

IsCode returns true when this get Api tasks o k response a status code equal to that given

func (*GetAPITasksOK) IsRedirect

func (o *GetAPITasksOK) IsRedirect() bool

IsRedirect returns true when this get Api tasks o k response has a 3xx status code

func (*GetAPITasksOK) IsServerError

func (o *GetAPITasksOK) IsServerError() bool

IsServerError returns true when this get Api tasks o k response has a 5xx status code

func (*GetAPITasksOK) IsSuccess

func (o *GetAPITasksOK) IsSuccess() bool

IsSuccess returns true when this get Api tasks o k response has a 2xx status code

func (*GetAPITasksOK) String

func (o *GetAPITasksOK) String() string

type GetAPITasksParams

type GetAPITasksParams struct {

	/* Query.

	   Attention: This is a GET request and you can pass in every field of the form as query parameter.
	*/
	Query *models.TaskQuery

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAPITasksParams contains all the parameters to send to the API endpoint

for the get API tasks operation.

Typically these are written to a http.Request.

func NewGetAPITasksParams

func NewGetAPITasksParams() *GetAPITasksParams

NewGetAPITasksParams creates a new GetAPITasksParams 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 NewGetAPITasksParamsWithContext

func NewGetAPITasksParamsWithContext(ctx context.Context) *GetAPITasksParams

NewGetAPITasksParamsWithContext creates a new GetAPITasksParams object with the ability to set a context for a request.

func NewGetAPITasksParamsWithHTTPClient

func NewGetAPITasksParamsWithHTTPClient(client *http.Client) *GetAPITasksParams

NewGetAPITasksParamsWithHTTPClient creates a new GetAPITasksParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPITasksParamsWithTimeout

func NewGetAPITasksParamsWithTimeout(timeout time.Duration) *GetAPITasksParams

NewGetAPITasksParamsWithTimeout creates a new GetAPITasksParams object with the ability to set a timeout on a request.

func (*GetAPITasksParams) SetContext

func (o *GetAPITasksParams) SetContext(ctx context.Context)

SetContext adds the context to the get API tasks params

func (*GetAPITasksParams) SetDefaults

func (o *GetAPITasksParams) SetDefaults()

SetDefaults hydrates default values in the get API tasks params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPITasksParams) SetHTTPClient

func (o *GetAPITasksParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get API tasks params

func (*GetAPITasksParams) SetQuery

func (o *GetAPITasksParams) SetQuery(query *models.TaskQuery)

SetQuery adds the query to the get API tasks params

func (*GetAPITasksParams) SetTimeout

func (o *GetAPITasksParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get API tasks params

func (*GetAPITasksParams) WithContext

func (o *GetAPITasksParams) WithContext(ctx context.Context) *GetAPITasksParams

WithContext adds the context to the get API tasks params

func (*GetAPITasksParams) WithDefaults

func (o *GetAPITasksParams) WithDefaults() *GetAPITasksParams

WithDefaults hydrates default values in the get API tasks params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPITasksParams) WithHTTPClient

func (o *GetAPITasksParams) WithHTTPClient(client *http.Client) *GetAPITasksParams

WithHTTPClient adds the HTTPClient to the get API tasks params

func (*GetAPITasksParams) WithQuery

func (o *GetAPITasksParams) WithQuery(query *models.TaskQuery) *GetAPITasksParams

WithQuery adds the query to the get API tasks params

func (*GetAPITasksParams) WithTimeout

func (o *GetAPITasksParams) WithTimeout(timeout time.Duration) *GetAPITasksParams

WithTimeout adds the timeout to the get API tasks params

func (*GetAPITasksParams) WriteToRequest

func (o *GetAPITasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAPITasksReader

type GetAPITasksReader struct {
	// contains filtered or unexported fields
}

GetAPITasksReader is a Reader for the GetAPITasks structure.

func (*GetAPITasksReader) ReadResponse

func (o *GetAPITasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchAPITasksIDAssignOK

type PatchAPITasksIDAssignOK struct {
	Payload *models.Task
}

PatchAPITasksIDAssignOK describes a response with status code 200, with default header values.

Returns the updated task

func NewPatchAPITasksIDAssignOK

func NewPatchAPITasksIDAssignOK() *PatchAPITasksIDAssignOK

NewPatchAPITasksIDAssignOK creates a PatchAPITasksIDAssignOK with default headers values

func (*PatchAPITasksIDAssignOK) Error

func (o *PatchAPITasksIDAssignOK) Error() string

func (*PatchAPITasksIDAssignOK) GetPayload

func (o *PatchAPITasksIDAssignOK) GetPayload() *models.Task

func (*PatchAPITasksIDAssignOK) IsClientError

func (o *PatchAPITasksIDAssignOK) IsClientError() bool

IsClientError returns true when this patch Api tasks Id assign o k response has a 4xx status code

func (*PatchAPITasksIDAssignOK) IsCode

func (o *PatchAPITasksIDAssignOK) IsCode(code int) bool

IsCode returns true when this patch Api tasks Id assign o k response a status code equal to that given

func (*PatchAPITasksIDAssignOK) IsRedirect

func (o *PatchAPITasksIDAssignOK) IsRedirect() bool

IsRedirect returns true when this patch Api tasks Id assign o k response has a 3xx status code

func (*PatchAPITasksIDAssignOK) IsServerError

func (o *PatchAPITasksIDAssignOK) IsServerError() bool

IsServerError returns true when this patch Api tasks Id assign o k response has a 5xx status code

func (*PatchAPITasksIDAssignOK) IsSuccess

func (o *PatchAPITasksIDAssignOK) IsSuccess() bool

IsSuccess returns true when this patch Api tasks Id assign o k response has a 2xx status code

func (*PatchAPITasksIDAssignOK) String

func (o *PatchAPITasksIDAssignOK) String() string

type PatchAPITasksIDAssignParams

type PatchAPITasksIDAssignParams struct {

	/* ID.

	   Task ID to update
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchAPITasksIDAssignParams contains all the parameters to send to the API endpoint

for the patch API tasks ID assign operation.

Typically these are written to a http.Request.

func NewPatchAPITasksIDAssignParams

func NewPatchAPITasksIDAssignParams() *PatchAPITasksIDAssignParams

NewPatchAPITasksIDAssignParams creates a new PatchAPITasksIDAssignParams 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 NewPatchAPITasksIDAssignParamsWithContext

func NewPatchAPITasksIDAssignParamsWithContext(ctx context.Context) *PatchAPITasksIDAssignParams

NewPatchAPITasksIDAssignParamsWithContext creates a new PatchAPITasksIDAssignParams object with the ability to set a context for a request.

func NewPatchAPITasksIDAssignParamsWithHTTPClient

func NewPatchAPITasksIDAssignParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDAssignParams

NewPatchAPITasksIDAssignParamsWithHTTPClient creates a new PatchAPITasksIDAssignParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPITasksIDAssignParamsWithTimeout

func NewPatchAPITasksIDAssignParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDAssignParams

NewPatchAPITasksIDAssignParamsWithTimeout creates a new PatchAPITasksIDAssignParams object with the ability to set a timeout on a request.

func (*PatchAPITasksIDAssignParams) SetContext

func (o *PatchAPITasksIDAssignParams) SetContext(ctx context.Context)

SetContext adds the context to the patch API tasks ID assign params

func (*PatchAPITasksIDAssignParams) SetDefaults

func (o *PatchAPITasksIDAssignParams) SetDefaults()

SetDefaults hydrates default values in the patch API tasks ID assign params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDAssignParams) SetHTTPClient

func (o *PatchAPITasksIDAssignParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch API tasks ID assign params

func (*PatchAPITasksIDAssignParams) SetID

func (o *PatchAPITasksIDAssignParams) SetID(id int64)

SetID adds the id to the patch API tasks ID assign params

func (*PatchAPITasksIDAssignParams) SetTimeout

func (o *PatchAPITasksIDAssignParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch API tasks ID assign params

func (*PatchAPITasksIDAssignParams) WithContext

WithContext adds the context to the patch API tasks ID assign params

func (*PatchAPITasksIDAssignParams) WithDefaults

WithDefaults hydrates default values in the patch API tasks ID assign params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDAssignParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API tasks ID assign params

func (*PatchAPITasksIDAssignParams) WithID

WithID adds the id to the patch API tasks ID assign params

func (*PatchAPITasksIDAssignParams) WithTimeout

WithTimeout adds the timeout to the patch API tasks ID assign params

func (*PatchAPITasksIDAssignParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPITasksIDAssignReader

type PatchAPITasksIDAssignReader struct {
	// contains filtered or unexported fields
}

PatchAPITasksIDAssignReader is a Reader for the PatchAPITasksIDAssign structure.

func (*PatchAPITasksIDAssignReader) ReadResponse

func (o *PatchAPITasksIDAssignReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchAPITasksIDCloseOK

type PatchAPITasksIDCloseOK struct {
	Payload *models.Task
}

PatchAPITasksIDCloseOK describes a response with status code 200, with default header values.

Returns the closed task

func NewPatchAPITasksIDCloseOK

func NewPatchAPITasksIDCloseOK() *PatchAPITasksIDCloseOK

NewPatchAPITasksIDCloseOK creates a PatchAPITasksIDCloseOK with default headers values

func (*PatchAPITasksIDCloseOK) Error

func (o *PatchAPITasksIDCloseOK) Error() string

func (*PatchAPITasksIDCloseOK) GetPayload

func (o *PatchAPITasksIDCloseOK) GetPayload() *models.Task

func (*PatchAPITasksIDCloseOK) IsClientError

func (o *PatchAPITasksIDCloseOK) IsClientError() bool

IsClientError returns true when this patch Api tasks Id close o k response has a 4xx status code

func (*PatchAPITasksIDCloseOK) IsCode

func (o *PatchAPITasksIDCloseOK) IsCode(code int) bool

IsCode returns true when this patch Api tasks Id close o k response a status code equal to that given

func (*PatchAPITasksIDCloseOK) IsRedirect

func (o *PatchAPITasksIDCloseOK) IsRedirect() bool

IsRedirect returns true when this patch Api tasks Id close o k response has a 3xx status code

func (*PatchAPITasksIDCloseOK) IsServerError

func (o *PatchAPITasksIDCloseOK) IsServerError() bool

IsServerError returns true when this patch Api tasks Id close o k response has a 5xx status code

func (*PatchAPITasksIDCloseOK) IsSuccess

func (o *PatchAPITasksIDCloseOK) IsSuccess() bool

IsSuccess returns true when this patch Api tasks Id close o k response has a 2xx status code

func (*PatchAPITasksIDCloseOK) String

func (o *PatchAPITasksIDCloseOK) String() string

type PatchAPITasksIDCloseParams

type PatchAPITasksIDCloseParams struct {

	/* ID.

	   Task ID to close
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchAPITasksIDCloseParams contains all the parameters to send to the API endpoint

for the patch API tasks ID close operation.

Typically these are written to a http.Request.

func NewPatchAPITasksIDCloseParams

func NewPatchAPITasksIDCloseParams() *PatchAPITasksIDCloseParams

NewPatchAPITasksIDCloseParams creates a new PatchAPITasksIDCloseParams 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 NewPatchAPITasksIDCloseParamsWithContext

func NewPatchAPITasksIDCloseParamsWithContext(ctx context.Context) *PatchAPITasksIDCloseParams

NewPatchAPITasksIDCloseParamsWithContext creates a new PatchAPITasksIDCloseParams object with the ability to set a context for a request.

func NewPatchAPITasksIDCloseParamsWithHTTPClient

func NewPatchAPITasksIDCloseParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDCloseParams

NewPatchAPITasksIDCloseParamsWithHTTPClient creates a new PatchAPITasksIDCloseParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPITasksIDCloseParamsWithTimeout

func NewPatchAPITasksIDCloseParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDCloseParams

NewPatchAPITasksIDCloseParamsWithTimeout creates a new PatchAPITasksIDCloseParams object with the ability to set a timeout on a request.

func (*PatchAPITasksIDCloseParams) SetContext

func (o *PatchAPITasksIDCloseParams) SetContext(ctx context.Context)

SetContext adds the context to the patch API tasks ID close params

func (*PatchAPITasksIDCloseParams) SetDefaults

func (o *PatchAPITasksIDCloseParams) SetDefaults()

SetDefaults hydrates default values in the patch API tasks ID close params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDCloseParams) SetHTTPClient

func (o *PatchAPITasksIDCloseParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch API tasks ID close params

func (*PatchAPITasksIDCloseParams) SetID

func (o *PatchAPITasksIDCloseParams) SetID(id int64)

SetID adds the id to the patch API tasks ID close params

func (*PatchAPITasksIDCloseParams) SetTimeout

func (o *PatchAPITasksIDCloseParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch API tasks ID close params

func (*PatchAPITasksIDCloseParams) WithContext

WithContext adds the context to the patch API tasks ID close params

func (*PatchAPITasksIDCloseParams) WithDefaults

WithDefaults hydrates default values in the patch API tasks ID close params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDCloseParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API tasks ID close params

func (*PatchAPITasksIDCloseParams) WithID

WithID adds the id to the patch API tasks ID close params

func (*PatchAPITasksIDCloseParams) WithTimeout

WithTimeout adds the timeout to the patch API tasks ID close params

func (*PatchAPITasksIDCloseParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPITasksIDCloseReader

type PatchAPITasksIDCloseReader struct {
	// contains filtered or unexported fields
}

PatchAPITasksIDCloseReader is a Reader for the PatchAPITasksIDClose structure.

func (*PatchAPITasksIDCloseReader) ReadResponse

func (o *PatchAPITasksIDCloseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchAPITasksIDLogOK

type PatchAPITasksIDLogOK struct {
	Payload *models.TimesheetEntityExpanded
}

PatchAPITasksIDLogOK describes a response with status code 200, with default header values.

Logs already performed work on a task

func NewPatchAPITasksIDLogOK

func NewPatchAPITasksIDLogOK() *PatchAPITasksIDLogOK

NewPatchAPITasksIDLogOK creates a PatchAPITasksIDLogOK with default headers values

func (*PatchAPITasksIDLogOK) Error

func (o *PatchAPITasksIDLogOK) Error() string

func (*PatchAPITasksIDLogOK) GetPayload

func (*PatchAPITasksIDLogOK) IsClientError

func (o *PatchAPITasksIDLogOK) IsClientError() bool

IsClientError returns true when this patch Api tasks Id log o k response has a 4xx status code

func (*PatchAPITasksIDLogOK) IsCode

func (o *PatchAPITasksIDLogOK) IsCode(code int) bool

IsCode returns true when this patch Api tasks Id log o k response a status code equal to that given

func (*PatchAPITasksIDLogOK) IsRedirect

func (o *PatchAPITasksIDLogOK) IsRedirect() bool

IsRedirect returns true when this patch Api tasks Id log o k response has a 3xx status code

func (*PatchAPITasksIDLogOK) IsServerError

func (o *PatchAPITasksIDLogOK) IsServerError() bool

IsServerError returns true when this patch Api tasks Id log o k response has a 5xx status code

func (*PatchAPITasksIDLogOK) IsSuccess

func (o *PatchAPITasksIDLogOK) IsSuccess() bool

IsSuccess returns true when this patch Api tasks Id log o k response has a 2xx status code

func (*PatchAPITasksIDLogOK) String

func (o *PatchAPITasksIDLogOK) String() string

type PatchAPITasksIDLogParams

type PatchAPITasksIDLogParams struct {

	// Body.
	Body *models.TaskLogWorkForm

	/* ID.

	   Task ID to log times for
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchAPITasksIDLogParams contains all the parameters to send to the API endpoint

for the patch API tasks ID log operation.

Typically these are written to a http.Request.

func NewPatchAPITasksIDLogParams

func NewPatchAPITasksIDLogParams() *PatchAPITasksIDLogParams

NewPatchAPITasksIDLogParams creates a new PatchAPITasksIDLogParams 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 NewPatchAPITasksIDLogParamsWithContext

func NewPatchAPITasksIDLogParamsWithContext(ctx context.Context) *PatchAPITasksIDLogParams

NewPatchAPITasksIDLogParamsWithContext creates a new PatchAPITasksIDLogParams object with the ability to set a context for a request.

func NewPatchAPITasksIDLogParamsWithHTTPClient

func NewPatchAPITasksIDLogParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDLogParams

NewPatchAPITasksIDLogParamsWithHTTPClient creates a new PatchAPITasksIDLogParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPITasksIDLogParamsWithTimeout

func NewPatchAPITasksIDLogParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDLogParams

NewPatchAPITasksIDLogParamsWithTimeout creates a new PatchAPITasksIDLogParams object with the ability to set a timeout on a request.

func (*PatchAPITasksIDLogParams) SetBody

SetBody adds the body to the patch API tasks ID log params

func (*PatchAPITasksIDLogParams) SetContext

func (o *PatchAPITasksIDLogParams) SetContext(ctx context.Context)

SetContext adds the context to the patch API tasks ID log params

func (*PatchAPITasksIDLogParams) SetDefaults

func (o *PatchAPITasksIDLogParams) SetDefaults()

SetDefaults hydrates default values in the patch API tasks ID log params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDLogParams) SetHTTPClient

func (o *PatchAPITasksIDLogParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch API tasks ID log params

func (*PatchAPITasksIDLogParams) SetID

func (o *PatchAPITasksIDLogParams) SetID(id int64)

SetID adds the id to the patch API tasks ID log params

func (*PatchAPITasksIDLogParams) SetTimeout

func (o *PatchAPITasksIDLogParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch API tasks ID log params

func (*PatchAPITasksIDLogParams) WithBody

WithBody adds the body to the patch API tasks ID log params

func (*PatchAPITasksIDLogParams) WithContext

WithContext adds the context to the patch API tasks ID log params

func (*PatchAPITasksIDLogParams) WithDefaults

WithDefaults hydrates default values in the patch API tasks ID log params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDLogParams) WithHTTPClient

func (o *PatchAPITasksIDLogParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDLogParams

WithHTTPClient adds the HTTPClient to the patch API tasks ID log params

func (*PatchAPITasksIDLogParams) WithID

WithID adds the id to the patch API tasks ID log params

func (*PatchAPITasksIDLogParams) WithTimeout

WithTimeout adds the timeout to the patch API tasks ID log params

func (*PatchAPITasksIDLogParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPITasksIDLogReader

type PatchAPITasksIDLogReader struct {
	// contains filtered or unexported fields
}

PatchAPITasksIDLogReader is a Reader for the PatchAPITasksIDLog structure.

func (*PatchAPITasksIDLogReader) ReadResponse

func (o *PatchAPITasksIDLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchAPITasksIDOK

type PatchAPITasksIDOK struct {
	Payload *models.Task
}

PatchAPITasksIDOK describes a response with status code 200, with default header values.

Returns the updated task

func NewPatchAPITasksIDOK

func NewPatchAPITasksIDOK() *PatchAPITasksIDOK

NewPatchAPITasksIDOK creates a PatchAPITasksIDOK with default headers values

func (*PatchAPITasksIDOK) Error

func (o *PatchAPITasksIDOK) Error() string

func (*PatchAPITasksIDOK) GetPayload

func (o *PatchAPITasksIDOK) GetPayload() *models.Task

func (*PatchAPITasksIDOK) IsClientError

func (o *PatchAPITasksIDOK) IsClientError() bool

IsClientError returns true when this patch Api tasks Id o k response has a 4xx status code

func (*PatchAPITasksIDOK) IsCode

func (o *PatchAPITasksIDOK) IsCode(code int) bool

IsCode returns true when this patch Api tasks Id o k response a status code equal to that given

func (*PatchAPITasksIDOK) IsRedirect

func (o *PatchAPITasksIDOK) IsRedirect() bool

IsRedirect returns true when this patch Api tasks Id o k response has a 3xx status code

func (*PatchAPITasksIDOK) IsServerError

func (o *PatchAPITasksIDOK) IsServerError() bool

IsServerError returns true when this patch Api tasks Id o k response has a 5xx status code

func (*PatchAPITasksIDOK) IsSuccess

func (o *PatchAPITasksIDOK) IsSuccess() bool

IsSuccess returns true when this patch Api tasks Id o k response has a 2xx status code

func (*PatchAPITasksIDOK) String

func (o *PatchAPITasksIDOK) String() string

type PatchAPITasksIDParams

type PatchAPITasksIDParams struct {

	// Body.
	Body *models.TaskEditForm

	/* ID.

	   Task ID to update
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchAPITasksIDParams contains all the parameters to send to the API endpoint

for the patch API tasks ID operation.

Typically these are written to a http.Request.

func NewPatchAPITasksIDParams

func NewPatchAPITasksIDParams() *PatchAPITasksIDParams

NewPatchAPITasksIDParams creates a new PatchAPITasksIDParams 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 NewPatchAPITasksIDParamsWithContext

func NewPatchAPITasksIDParamsWithContext(ctx context.Context) *PatchAPITasksIDParams

NewPatchAPITasksIDParamsWithContext creates a new PatchAPITasksIDParams object with the ability to set a context for a request.

func NewPatchAPITasksIDParamsWithHTTPClient

func NewPatchAPITasksIDParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDParams

NewPatchAPITasksIDParamsWithHTTPClient creates a new PatchAPITasksIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPITasksIDParamsWithTimeout

func NewPatchAPITasksIDParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDParams

NewPatchAPITasksIDParamsWithTimeout creates a new PatchAPITasksIDParams object with the ability to set a timeout on a request.

func (*PatchAPITasksIDParams) SetBody

func (o *PatchAPITasksIDParams) SetBody(body *models.TaskEditForm)

SetBody adds the body to the patch API tasks ID params

func (*PatchAPITasksIDParams) SetContext

func (o *PatchAPITasksIDParams) SetContext(ctx context.Context)

SetContext adds the context to the patch API tasks ID params

func (*PatchAPITasksIDParams) SetDefaults

func (o *PatchAPITasksIDParams) SetDefaults()

SetDefaults hydrates default values in the patch API tasks ID params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDParams) SetHTTPClient

func (o *PatchAPITasksIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch API tasks ID params

func (*PatchAPITasksIDParams) SetID

func (o *PatchAPITasksIDParams) SetID(id int64)

SetID adds the id to the patch API tasks ID params

func (*PatchAPITasksIDParams) SetTimeout

func (o *PatchAPITasksIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch API tasks ID params

func (*PatchAPITasksIDParams) WithBody

WithBody adds the body to the patch API tasks ID params

func (*PatchAPITasksIDParams) WithContext

WithContext adds the context to the patch API tasks ID params

func (*PatchAPITasksIDParams) WithDefaults

func (o *PatchAPITasksIDParams) WithDefaults() *PatchAPITasksIDParams

WithDefaults hydrates default values in the patch API tasks ID params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDParams) WithHTTPClient

func (o *PatchAPITasksIDParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDParams

WithHTTPClient adds the HTTPClient to the patch API tasks ID params

func (*PatchAPITasksIDParams) WithID

WithID adds the id to the patch API tasks ID params

func (*PatchAPITasksIDParams) WithTimeout

func (o *PatchAPITasksIDParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDParams

WithTimeout adds the timeout to the patch API tasks ID params

func (*PatchAPITasksIDParams) WriteToRequest

func (o *PatchAPITasksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchAPITasksIDReader

type PatchAPITasksIDReader struct {
	// contains filtered or unexported fields
}

PatchAPITasksIDReader is a Reader for the PatchAPITasksID structure.

func (*PatchAPITasksIDReader) ReadResponse

func (o *PatchAPITasksIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchAPITasksIDReopenOK

type PatchAPITasksIDReopenOK struct {
	Payload *models.Task
}

PatchAPITasksIDReopenOK describes a response with status code 200, with default header values.

Returns the reopened task

func NewPatchAPITasksIDReopenOK

func NewPatchAPITasksIDReopenOK() *PatchAPITasksIDReopenOK

NewPatchAPITasksIDReopenOK creates a PatchAPITasksIDReopenOK with default headers values

func (*PatchAPITasksIDReopenOK) Error

func (o *PatchAPITasksIDReopenOK) Error() string

func (*PatchAPITasksIDReopenOK) GetPayload

func (o *PatchAPITasksIDReopenOK) GetPayload() *models.Task

func (*PatchAPITasksIDReopenOK) IsClientError

func (o *PatchAPITasksIDReopenOK) IsClientError() bool

IsClientError returns true when this patch Api tasks Id reopen o k response has a 4xx status code

func (*PatchAPITasksIDReopenOK) IsCode

func (o *PatchAPITasksIDReopenOK) IsCode(code int) bool

IsCode returns true when this patch Api tasks Id reopen o k response a status code equal to that given

func (*PatchAPITasksIDReopenOK) IsRedirect

func (o *PatchAPITasksIDReopenOK) IsRedirect() bool

IsRedirect returns true when this patch Api tasks Id reopen o k response has a 3xx status code

func (*PatchAPITasksIDReopenOK) IsServerError

func (o *PatchAPITasksIDReopenOK) IsServerError() bool

IsServerError returns true when this patch Api tasks Id reopen o k response has a 5xx status code

func (*PatchAPITasksIDReopenOK) IsSuccess

func (o *PatchAPITasksIDReopenOK) IsSuccess() bool

IsSuccess returns true when this patch Api tasks Id reopen o k response has a 2xx status code

func (*PatchAPITasksIDReopenOK) String

func (o *PatchAPITasksIDReopenOK) String() string

type PatchAPITasksIDReopenParams

type PatchAPITasksIDReopenParams struct {

	/* ID.

	   Task ID to reopen
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchAPITasksIDReopenParams contains all the parameters to send to the API endpoint

for the patch API tasks ID reopen operation.

Typically these are written to a http.Request.

func NewPatchAPITasksIDReopenParams

func NewPatchAPITasksIDReopenParams() *PatchAPITasksIDReopenParams

NewPatchAPITasksIDReopenParams creates a new PatchAPITasksIDReopenParams 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 NewPatchAPITasksIDReopenParamsWithContext

func NewPatchAPITasksIDReopenParamsWithContext(ctx context.Context) *PatchAPITasksIDReopenParams

NewPatchAPITasksIDReopenParamsWithContext creates a new PatchAPITasksIDReopenParams object with the ability to set a context for a request.

func NewPatchAPITasksIDReopenParamsWithHTTPClient

func NewPatchAPITasksIDReopenParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDReopenParams

NewPatchAPITasksIDReopenParamsWithHTTPClient creates a new PatchAPITasksIDReopenParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPITasksIDReopenParamsWithTimeout

func NewPatchAPITasksIDReopenParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDReopenParams

NewPatchAPITasksIDReopenParamsWithTimeout creates a new PatchAPITasksIDReopenParams object with the ability to set a timeout on a request.

func (*PatchAPITasksIDReopenParams) SetContext

func (o *PatchAPITasksIDReopenParams) SetContext(ctx context.Context)

SetContext adds the context to the patch API tasks ID reopen params

func (*PatchAPITasksIDReopenParams) SetDefaults

func (o *PatchAPITasksIDReopenParams) SetDefaults()

SetDefaults hydrates default values in the patch API tasks ID reopen params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDReopenParams) SetHTTPClient

func (o *PatchAPITasksIDReopenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch API tasks ID reopen params

func (*PatchAPITasksIDReopenParams) SetID

func (o *PatchAPITasksIDReopenParams) SetID(id int64)

SetID adds the id to the patch API tasks ID reopen params

func (*PatchAPITasksIDReopenParams) SetTimeout

func (o *PatchAPITasksIDReopenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch API tasks ID reopen params

func (*PatchAPITasksIDReopenParams) WithContext

WithContext adds the context to the patch API tasks ID reopen params

func (*PatchAPITasksIDReopenParams) WithDefaults

WithDefaults hydrates default values in the patch API tasks ID reopen params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDReopenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API tasks ID reopen params

func (*PatchAPITasksIDReopenParams) WithID

WithID adds the id to the patch API tasks ID reopen params

func (*PatchAPITasksIDReopenParams) WithTimeout

WithTimeout adds the timeout to the patch API tasks ID reopen params

func (*PatchAPITasksIDReopenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPITasksIDReopenReader

type PatchAPITasksIDReopenReader struct {
	// contains filtered or unexported fields
}

PatchAPITasksIDReopenReader is a Reader for the PatchAPITasksIDReopen structure.

func (*PatchAPITasksIDReopenReader) ReadResponse

func (o *PatchAPITasksIDReopenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchAPITasksIDStartOK

type PatchAPITasksIDStartOK struct {
	Payload *models.Task
}

PatchAPITasksIDStartOK describes a response with status code 200, with default header values.

Start working on a task

func NewPatchAPITasksIDStartOK

func NewPatchAPITasksIDStartOK() *PatchAPITasksIDStartOK

NewPatchAPITasksIDStartOK creates a PatchAPITasksIDStartOK with default headers values

func (*PatchAPITasksIDStartOK) Error

func (o *PatchAPITasksIDStartOK) Error() string

func (*PatchAPITasksIDStartOK) GetPayload

func (o *PatchAPITasksIDStartOK) GetPayload() *models.Task

func (*PatchAPITasksIDStartOK) IsClientError

func (o *PatchAPITasksIDStartOK) IsClientError() bool

IsClientError returns true when this patch Api tasks Id start o k response has a 4xx status code

func (*PatchAPITasksIDStartOK) IsCode

func (o *PatchAPITasksIDStartOK) IsCode(code int) bool

IsCode returns true when this patch Api tasks Id start o k response a status code equal to that given

func (*PatchAPITasksIDStartOK) IsRedirect

func (o *PatchAPITasksIDStartOK) IsRedirect() bool

IsRedirect returns true when this patch Api tasks Id start o k response has a 3xx status code

func (*PatchAPITasksIDStartOK) IsServerError

func (o *PatchAPITasksIDStartOK) IsServerError() bool

IsServerError returns true when this patch Api tasks Id start o k response has a 5xx status code

func (*PatchAPITasksIDStartOK) IsSuccess

func (o *PatchAPITasksIDStartOK) IsSuccess() bool

IsSuccess returns true when this patch Api tasks Id start o k response has a 2xx status code

func (*PatchAPITasksIDStartOK) String

func (o *PatchAPITasksIDStartOK) String() string

type PatchAPITasksIDStartParams

type PatchAPITasksIDStartParams struct {

	/* ID.

	   Task ID to start
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchAPITasksIDStartParams contains all the parameters to send to the API endpoint

for the patch API tasks ID start operation.

Typically these are written to a http.Request.

func NewPatchAPITasksIDStartParams

func NewPatchAPITasksIDStartParams() *PatchAPITasksIDStartParams

NewPatchAPITasksIDStartParams creates a new PatchAPITasksIDStartParams 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 NewPatchAPITasksIDStartParamsWithContext

func NewPatchAPITasksIDStartParamsWithContext(ctx context.Context) *PatchAPITasksIDStartParams

NewPatchAPITasksIDStartParamsWithContext creates a new PatchAPITasksIDStartParams object with the ability to set a context for a request.

func NewPatchAPITasksIDStartParamsWithHTTPClient

func NewPatchAPITasksIDStartParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDStartParams

NewPatchAPITasksIDStartParamsWithHTTPClient creates a new PatchAPITasksIDStartParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPITasksIDStartParamsWithTimeout

func NewPatchAPITasksIDStartParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDStartParams

NewPatchAPITasksIDStartParamsWithTimeout creates a new PatchAPITasksIDStartParams object with the ability to set a timeout on a request.

func (*PatchAPITasksIDStartParams) SetContext

func (o *PatchAPITasksIDStartParams) SetContext(ctx context.Context)

SetContext adds the context to the patch API tasks ID start params

func (*PatchAPITasksIDStartParams) SetDefaults

func (o *PatchAPITasksIDStartParams) SetDefaults()

SetDefaults hydrates default values in the patch API tasks ID start params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDStartParams) SetHTTPClient

func (o *PatchAPITasksIDStartParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch API tasks ID start params

func (*PatchAPITasksIDStartParams) SetID

func (o *PatchAPITasksIDStartParams) SetID(id int64)

SetID adds the id to the patch API tasks ID start params

func (*PatchAPITasksIDStartParams) SetTimeout

func (o *PatchAPITasksIDStartParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch API tasks ID start params

func (*PatchAPITasksIDStartParams) WithContext

WithContext adds the context to the patch API tasks ID start params

func (*PatchAPITasksIDStartParams) WithDefaults

WithDefaults hydrates default values in the patch API tasks ID start params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDStartParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API tasks ID start params

func (*PatchAPITasksIDStartParams) WithID

WithID adds the id to the patch API tasks ID start params

func (*PatchAPITasksIDStartParams) WithTimeout

WithTimeout adds the timeout to the patch API tasks ID start params

func (*PatchAPITasksIDStartParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPITasksIDStartReader

type PatchAPITasksIDStartReader struct {
	// contains filtered or unexported fields
}

PatchAPITasksIDStartReader is a Reader for the PatchAPITasksIDStart structure.

func (*PatchAPITasksIDStartReader) ReadResponse

func (o *PatchAPITasksIDStartReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchAPITasksIDStopOK

type PatchAPITasksIDStopOK struct {
	Payload *models.Task
}

PatchAPITasksIDStopOK describes a response with status code 200, with default header values.

Stop working on a task

func NewPatchAPITasksIDStopOK

func NewPatchAPITasksIDStopOK() *PatchAPITasksIDStopOK

NewPatchAPITasksIDStopOK creates a PatchAPITasksIDStopOK with default headers values

func (*PatchAPITasksIDStopOK) Error

func (o *PatchAPITasksIDStopOK) Error() string

func (*PatchAPITasksIDStopOK) GetPayload

func (o *PatchAPITasksIDStopOK) GetPayload() *models.Task

func (*PatchAPITasksIDStopOK) IsClientError

func (o *PatchAPITasksIDStopOK) IsClientError() bool

IsClientError returns true when this patch Api tasks Id stop o k response has a 4xx status code

func (*PatchAPITasksIDStopOK) IsCode

func (o *PatchAPITasksIDStopOK) IsCode(code int) bool

IsCode returns true when this patch Api tasks Id stop o k response a status code equal to that given

func (*PatchAPITasksIDStopOK) IsRedirect

func (o *PatchAPITasksIDStopOK) IsRedirect() bool

IsRedirect returns true when this patch Api tasks Id stop o k response has a 3xx status code

func (*PatchAPITasksIDStopOK) IsServerError

func (o *PatchAPITasksIDStopOK) IsServerError() bool

IsServerError returns true when this patch Api tasks Id stop o k response has a 5xx status code

func (*PatchAPITasksIDStopOK) IsSuccess

func (o *PatchAPITasksIDStopOK) IsSuccess() bool

IsSuccess returns true when this patch Api tasks Id stop o k response has a 2xx status code

func (*PatchAPITasksIDStopOK) String

func (o *PatchAPITasksIDStopOK) String() string

type PatchAPITasksIDStopParams

type PatchAPITasksIDStopParams struct {

	/* ID.

	   Task ID to stop
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchAPITasksIDStopParams contains all the parameters to send to the API endpoint

for the patch API tasks ID stop operation.

Typically these are written to a http.Request.

func NewPatchAPITasksIDStopParams

func NewPatchAPITasksIDStopParams() *PatchAPITasksIDStopParams

NewPatchAPITasksIDStopParams creates a new PatchAPITasksIDStopParams 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 NewPatchAPITasksIDStopParamsWithContext

func NewPatchAPITasksIDStopParamsWithContext(ctx context.Context) *PatchAPITasksIDStopParams

NewPatchAPITasksIDStopParamsWithContext creates a new PatchAPITasksIDStopParams object with the ability to set a context for a request.

func NewPatchAPITasksIDStopParamsWithHTTPClient

func NewPatchAPITasksIDStopParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDStopParams

NewPatchAPITasksIDStopParamsWithHTTPClient creates a new PatchAPITasksIDStopParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPITasksIDStopParamsWithTimeout

func NewPatchAPITasksIDStopParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDStopParams

NewPatchAPITasksIDStopParamsWithTimeout creates a new PatchAPITasksIDStopParams object with the ability to set a timeout on a request.

func (*PatchAPITasksIDStopParams) SetContext

func (o *PatchAPITasksIDStopParams) SetContext(ctx context.Context)

SetContext adds the context to the patch API tasks ID stop params

func (*PatchAPITasksIDStopParams) SetDefaults

func (o *PatchAPITasksIDStopParams) SetDefaults()

SetDefaults hydrates default values in the patch API tasks ID stop params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDStopParams) SetHTTPClient

func (o *PatchAPITasksIDStopParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch API tasks ID stop params

func (*PatchAPITasksIDStopParams) SetID

func (o *PatchAPITasksIDStopParams) SetID(id int64)

SetID adds the id to the patch API tasks ID stop params

func (*PatchAPITasksIDStopParams) SetTimeout

func (o *PatchAPITasksIDStopParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch API tasks ID stop params

func (*PatchAPITasksIDStopParams) WithContext

WithContext adds the context to the patch API tasks ID stop params

func (*PatchAPITasksIDStopParams) WithDefaults

WithDefaults hydrates default values in the patch API tasks ID stop params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDStopParams) WithHTTPClient

func (o *PatchAPITasksIDStopParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDStopParams

WithHTTPClient adds the HTTPClient to the patch API tasks ID stop params

func (*PatchAPITasksIDStopParams) WithID

WithID adds the id to the patch API tasks ID stop params

func (*PatchAPITasksIDStopParams) WithTimeout

WithTimeout adds the timeout to the patch API tasks ID stop params

func (*PatchAPITasksIDStopParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPITasksIDStopReader

type PatchAPITasksIDStopReader struct {
	// contains filtered or unexported fields
}

PatchAPITasksIDStopReader is a Reader for the PatchAPITasksIDStop structure.

func (*PatchAPITasksIDStopReader) ReadResponse

func (o *PatchAPITasksIDStopReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchAPITasksIDUnassignOK

type PatchAPITasksIDUnassignOK struct {
	Payload *models.Task
}

PatchAPITasksIDUnassignOK describes a response with status code 200, with default header values.

Returns the updated task

func NewPatchAPITasksIDUnassignOK

func NewPatchAPITasksIDUnassignOK() *PatchAPITasksIDUnassignOK

NewPatchAPITasksIDUnassignOK creates a PatchAPITasksIDUnassignOK with default headers values

func (*PatchAPITasksIDUnassignOK) Error

func (o *PatchAPITasksIDUnassignOK) Error() string

func (*PatchAPITasksIDUnassignOK) GetPayload

func (o *PatchAPITasksIDUnassignOK) GetPayload() *models.Task

func (*PatchAPITasksIDUnassignOK) IsClientError

func (o *PatchAPITasksIDUnassignOK) IsClientError() bool

IsClientError returns true when this patch Api tasks Id unassign o k response has a 4xx status code

func (*PatchAPITasksIDUnassignOK) IsCode

func (o *PatchAPITasksIDUnassignOK) IsCode(code int) bool

IsCode returns true when this patch Api tasks Id unassign o k response a status code equal to that given

func (*PatchAPITasksIDUnassignOK) IsRedirect

func (o *PatchAPITasksIDUnassignOK) IsRedirect() bool

IsRedirect returns true when this patch Api tasks Id unassign o k response has a 3xx status code

func (*PatchAPITasksIDUnassignOK) IsServerError

func (o *PatchAPITasksIDUnassignOK) IsServerError() bool

IsServerError returns true when this patch Api tasks Id unassign o k response has a 5xx status code

func (*PatchAPITasksIDUnassignOK) IsSuccess

func (o *PatchAPITasksIDUnassignOK) IsSuccess() bool

IsSuccess returns true when this patch Api tasks Id unassign o k response has a 2xx status code

func (*PatchAPITasksIDUnassignOK) String

func (o *PatchAPITasksIDUnassignOK) String() string

type PatchAPITasksIDUnassignParams

type PatchAPITasksIDUnassignParams struct {

	/* ID.

	   Task ID to update
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchAPITasksIDUnassignParams contains all the parameters to send to the API endpoint

for the patch API tasks ID unassign operation.

Typically these are written to a http.Request.

func NewPatchAPITasksIDUnassignParams

func NewPatchAPITasksIDUnassignParams() *PatchAPITasksIDUnassignParams

NewPatchAPITasksIDUnassignParams creates a new PatchAPITasksIDUnassignParams 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 NewPatchAPITasksIDUnassignParamsWithContext

func NewPatchAPITasksIDUnassignParamsWithContext(ctx context.Context) *PatchAPITasksIDUnassignParams

NewPatchAPITasksIDUnassignParamsWithContext creates a new PatchAPITasksIDUnassignParams object with the ability to set a context for a request.

func NewPatchAPITasksIDUnassignParamsWithHTTPClient

func NewPatchAPITasksIDUnassignParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDUnassignParams

NewPatchAPITasksIDUnassignParamsWithHTTPClient creates a new PatchAPITasksIDUnassignParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPITasksIDUnassignParamsWithTimeout

func NewPatchAPITasksIDUnassignParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDUnassignParams

NewPatchAPITasksIDUnassignParamsWithTimeout creates a new PatchAPITasksIDUnassignParams object with the ability to set a timeout on a request.

func (*PatchAPITasksIDUnassignParams) SetContext

func (o *PatchAPITasksIDUnassignParams) SetContext(ctx context.Context)

SetContext adds the context to the patch API tasks ID unassign params

func (*PatchAPITasksIDUnassignParams) SetDefaults

func (o *PatchAPITasksIDUnassignParams) SetDefaults()

SetDefaults hydrates default values in the patch API tasks ID unassign params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDUnassignParams) SetHTTPClient

func (o *PatchAPITasksIDUnassignParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch API tasks ID unassign params

func (*PatchAPITasksIDUnassignParams) SetID

func (o *PatchAPITasksIDUnassignParams) SetID(id int64)

SetID adds the id to the patch API tasks ID unassign params

func (*PatchAPITasksIDUnassignParams) SetTimeout

func (o *PatchAPITasksIDUnassignParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch API tasks ID unassign params

func (*PatchAPITasksIDUnassignParams) WithContext

WithContext adds the context to the patch API tasks ID unassign params

func (*PatchAPITasksIDUnassignParams) WithDefaults

WithDefaults hydrates default values in the patch API tasks ID unassign params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPITasksIDUnassignParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API tasks ID unassign params

func (*PatchAPITasksIDUnassignParams) WithID

WithID adds the id to the patch API tasks ID unassign params

func (*PatchAPITasksIDUnassignParams) WithTimeout

WithTimeout adds the timeout to the patch API tasks ID unassign params

func (*PatchAPITasksIDUnassignParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPITasksIDUnassignReader

type PatchAPITasksIDUnassignReader struct {
	// contains filtered or unexported fields
}

PatchAPITasksIDUnassignReader is a Reader for the PatchAPITasksIDUnassign structure.

func (*PatchAPITasksIDUnassignReader) ReadResponse

func (o *PatchAPITasksIDUnassignReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostAPITasksOK

type PostAPITasksOK struct {
	Payload *models.Task
}

PostAPITasksOK describes a response with status code 200, with default header values.

Returns the new created task

func NewPostAPITasksOK

func NewPostAPITasksOK() *PostAPITasksOK

NewPostAPITasksOK creates a PostAPITasksOK with default headers values

func (*PostAPITasksOK) Error

func (o *PostAPITasksOK) Error() string

func (*PostAPITasksOK) GetPayload

func (o *PostAPITasksOK) GetPayload() *models.Task

func (*PostAPITasksOK) IsClientError

func (o *PostAPITasksOK) IsClientError() bool

IsClientError returns true when this post Api tasks o k response has a 4xx status code

func (*PostAPITasksOK) IsCode

func (o *PostAPITasksOK) IsCode(code int) bool

IsCode returns true when this post Api tasks o k response a status code equal to that given

func (*PostAPITasksOK) IsRedirect

func (o *PostAPITasksOK) IsRedirect() bool

IsRedirect returns true when this post Api tasks o k response has a 3xx status code

func (*PostAPITasksOK) IsServerError

func (o *PostAPITasksOK) IsServerError() bool

IsServerError returns true when this post Api tasks o k response has a 5xx status code

func (*PostAPITasksOK) IsSuccess

func (o *PostAPITasksOK) IsSuccess() bool

IsSuccess returns true when this post Api tasks o k response has a 2xx status code

func (*PostAPITasksOK) String

func (o *PostAPITasksOK) String() string

type PostAPITasksParams

type PostAPITasksParams struct {

	// Body.
	Body *models.TaskEditForm

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAPITasksParams contains all the parameters to send to the API endpoint

for the post API tasks operation.

Typically these are written to a http.Request.

func NewPostAPITasksParams

func NewPostAPITasksParams() *PostAPITasksParams

NewPostAPITasksParams creates a new PostAPITasksParams 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 NewPostAPITasksParamsWithContext

func NewPostAPITasksParamsWithContext(ctx context.Context) *PostAPITasksParams

NewPostAPITasksParamsWithContext creates a new PostAPITasksParams object with the ability to set a context for a request.

func NewPostAPITasksParamsWithHTTPClient

func NewPostAPITasksParamsWithHTTPClient(client *http.Client) *PostAPITasksParams

NewPostAPITasksParamsWithHTTPClient creates a new PostAPITasksParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPITasksParamsWithTimeout

func NewPostAPITasksParamsWithTimeout(timeout time.Duration) *PostAPITasksParams

NewPostAPITasksParamsWithTimeout creates a new PostAPITasksParams object with the ability to set a timeout on a request.

func (*PostAPITasksParams) SetBody

func (o *PostAPITasksParams) SetBody(body *models.TaskEditForm)

SetBody adds the body to the post API tasks params

func (*PostAPITasksParams) SetContext

func (o *PostAPITasksParams) SetContext(ctx context.Context)

SetContext adds the context to the post API tasks params

func (*PostAPITasksParams) SetDefaults

func (o *PostAPITasksParams) SetDefaults()

SetDefaults hydrates default values in the post API tasks params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPITasksParams) SetHTTPClient

func (o *PostAPITasksParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post API tasks params

func (*PostAPITasksParams) SetTimeout

func (o *PostAPITasksParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post API tasks params

func (*PostAPITasksParams) WithBody

WithBody adds the body to the post API tasks params

func (*PostAPITasksParams) WithContext

WithContext adds the context to the post API tasks params

func (*PostAPITasksParams) WithDefaults

func (o *PostAPITasksParams) WithDefaults() *PostAPITasksParams

WithDefaults hydrates default values in the post API tasks params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPITasksParams) WithHTTPClient

func (o *PostAPITasksParams) WithHTTPClient(client *http.Client) *PostAPITasksParams

WithHTTPClient adds the HTTPClient to the post API tasks params

func (*PostAPITasksParams) WithTimeout

func (o *PostAPITasksParams) WithTimeout(timeout time.Duration) *PostAPITasksParams

WithTimeout adds the timeout to the post API tasks params

func (*PostAPITasksParams) WriteToRequest

func (o *PostAPITasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostAPITasksReader

type PostAPITasksReader struct {
	// contains filtered or unexported fields
}

PostAPITasksReader is a Reader for the PostAPITasks structure.

func (*PostAPITasksReader) ReadResponse

func (o *PostAPITasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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