Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteAPITasksID(params *DeleteAPITasksIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAPITasksIDNoContent, error)
- func (a *Client) GetAPITasks(params *GetAPITasksParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPITasksOK, error)
- func (a *Client) GetAPITasksID(params *GetAPITasksIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPITasksIDOK, error)
- func (a *Client) PatchAPITasksID(params *PatchAPITasksIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAPITasksIDOK, error)
- func (a *Client) PatchAPITasksIDAssign(params *PatchAPITasksIDAssignParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAPITasksIDAssignOK, error)
- func (a *Client) PatchAPITasksIDClose(params *PatchAPITasksIDCloseParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAPITasksIDCloseOK, error)
- func (a *Client) PatchAPITasksIDLog(params *PatchAPITasksIDLogParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAPITasksIDLogOK, error)
- func (a *Client) PatchAPITasksIDReopen(params *PatchAPITasksIDReopenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAPITasksIDReopenOK, error)
- func (a *Client) PatchAPITasksIDStart(params *PatchAPITasksIDStartParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAPITasksIDStartOK, error)
- func (a *Client) PatchAPITasksIDStop(params *PatchAPITasksIDStopParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAPITasksIDStopOK, error)
- func (a *Client) PatchAPITasksIDUnassign(params *PatchAPITasksIDUnassignParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAPITasksIDUnassignOK, error)
- func (a *Client) PostAPITasks(params *PostAPITasksParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPITasksOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAPITasksIDNoContent
- func (o *DeleteAPITasksIDNoContent) Error() string
- func (o *DeleteAPITasksIDNoContent) IsClientError() bool
- func (o *DeleteAPITasksIDNoContent) IsCode(code int) bool
- func (o *DeleteAPITasksIDNoContent) IsRedirect() bool
- func (o *DeleteAPITasksIDNoContent) IsServerError() bool
- func (o *DeleteAPITasksIDNoContent) IsSuccess() bool
- func (o *DeleteAPITasksIDNoContent) String() string
- type DeleteAPITasksIDParams
- func NewDeleteAPITasksIDParams() *DeleteAPITasksIDParams
- func NewDeleteAPITasksIDParamsWithContext(ctx context.Context) *DeleteAPITasksIDParams
- func NewDeleteAPITasksIDParamsWithHTTPClient(client *http.Client) *DeleteAPITasksIDParams
- func NewDeleteAPITasksIDParamsWithTimeout(timeout time.Duration) *DeleteAPITasksIDParams
- func (o *DeleteAPITasksIDParams) SetContext(ctx context.Context)
- func (o *DeleteAPITasksIDParams) SetDefaults()
- func (o *DeleteAPITasksIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPITasksIDParams) SetID(id int64)
- func (o *DeleteAPITasksIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPITasksIDParams) WithContext(ctx context.Context) *DeleteAPITasksIDParams
- func (o *DeleteAPITasksIDParams) WithDefaults() *DeleteAPITasksIDParams
- func (o *DeleteAPITasksIDParams) WithHTTPClient(client *http.Client) *DeleteAPITasksIDParams
- func (o *DeleteAPITasksIDParams) WithID(id int64) *DeleteAPITasksIDParams
- func (o *DeleteAPITasksIDParams) WithTimeout(timeout time.Duration) *DeleteAPITasksIDParams
- func (o *DeleteAPITasksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPITasksIDReader
- type GetAPITasksIDOK
- func (o *GetAPITasksIDOK) Error() string
- func (o *GetAPITasksIDOK) GetPayload() *models.Task
- func (o *GetAPITasksIDOK) IsClientError() bool
- func (o *GetAPITasksIDOK) IsCode(code int) bool
- func (o *GetAPITasksIDOK) IsRedirect() bool
- func (o *GetAPITasksIDOK) IsServerError() bool
- func (o *GetAPITasksIDOK) IsSuccess() bool
- func (o *GetAPITasksIDOK) String() string
- type GetAPITasksIDParams
- func (o *GetAPITasksIDParams) SetContext(ctx context.Context)
- func (o *GetAPITasksIDParams) SetDefaults()
- func (o *GetAPITasksIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAPITasksIDParams) SetID(id int64)
- func (o *GetAPITasksIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAPITasksIDParams) WithContext(ctx context.Context) *GetAPITasksIDParams
- func (o *GetAPITasksIDParams) WithDefaults() *GetAPITasksIDParams
- func (o *GetAPITasksIDParams) WithHTTPClient(client *http.Client) *GetAPITasksIDParams
- func (o *GetAPITasksIDParams) WithID(id int64) *GetAPITasksIDParams
- func (o *GetAPITasksIDParams) WithTimeout(timeout time.Duration) *GetAPITasksIDParams
- func (o *GetAPITasksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPITasksIDReader
- type GetAPITasksOK
- func (o *GetAPITasksOK) Error() string
- func (o *GetAPITasksOK) GetPayload() []*models.Task
- func (o *GetAPITasksOK) IsClientError() bool
- func (o *GetAPITasksOK) IsCode(code int) bool
- func (o *GetAPITasksOK) IsRedirect() bool
- func (o *GetAPITasksOK) IsServerError() bool
- func (o *GetAPITasksOK) IsSuccess() bool
- func (o *GetAPITasksOK) String() string
- type GetAPITasksParams
- func (o *GetAPITasksParams) SetContext(ctx context.Context)
- func (o *GetAPITasksParams) SetDefaults()
- func (o *GetAPITasksParams) SetHTTPClient(client *http.Client)
- func (o *GetAPITasksParams) SetQuery(query *models.TaskQuery)
- func (o *GetAPITasksParams) SetTimeout(timeout time.Duration)
- func (o *GetAPITasksParams) WithContext(ctx context.Context) *GetAPITasksParams
- func (o *GetAPITasksParams) WithDefaults() *GetAPITasksParams
- func (o *GetAPITasksParams) WithHTTPClient(client *http.Client) *GetAPITasksParams
- func (o *GetAPITasksParams) WithQuery(query *models.TaskQuery) *GetAPITasksParams
- func (o *GetAPITasksParams) WithTimeout(timeout time.Duration) *GetAPITasksParams
- func (o *GetAPITasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPITasksReader
- type PatchAPITasksIDAssignOK
- func (o *PatchAPITasksIDAssignOK) Error() string
- func (o *PatchAPITasksIDAssignOK) GetPayload() *models.Task
- func (o *PatchAPITasksIDAssignOK) IsClientError() bool
- func (o *PatchAPITasksIDAssignOK) IsCode(code int) bool
- func (o *PatchAPITasksIDAssignOK) IsRedirect() bool
- func (o *PatchAPITasksIDAssignOK) IsServerError() bool
- func (o *PatchAPITasksIDAssignOK) IsSuccess() bool
- func (o *PatchAPITasksIDAssignOK) String() string
- type PatchAPITasksIDAssignParams
- func NewPatchAPITasksIDAssignParams() *PatchAPITasksIDAssignParams
- func NewPatchAPITasksIDAssignParamsWithContext(ctx context.Context) *PatchAPITasksIDAssignParams
- func NewPatchAPITasksIDAssignParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDAssignParams
- func NewPatchAPITasksIDAssignParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDAssignParams
- func (o *PatchAPITasksIDAssignParams) SetContext(ctx context.Context)
- func (o *PatchAPITasksIDAssignParams) SetDefaults()
- func (o *PatchAPITasksIDAssignParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPITasksIDAssignParams) SetID(id int64)
- func (o *PatchAPITasksIDAssignParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPITasksIDAssignParams) WithContext(ctx context.Context) *PatchAPITasksIDAssignParams
- func (o *PatchAPITasksIDAssignParams) WithDefaults() *PatchAPITasksIDAssignParams
- func (o *PatchAPITasksIDAssignParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDAssignParams
- func (o *PatchAPITasksIDAssignParams) WithID(id int64) *PatchAPITasksIDAssignParams
- func (o *PatchAPITasksIDAssignParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDAssignParams
- func (o *PatchAPITasksIDAssignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPITasksIDAssignReader
- type PatchAPITasksIDCloseOK
- func (o *PatchAPITasksIDCloseOK) Error() string
- func (o *PatchAPITasksIDCloseOK) GetPayload() *models.Task
- func (o *PatchAPITasksIDCloseOK) IsClientError() bool
- func (o *PatchAPITasksIDCloseOK) IsCode(code int) bool
- func (o *PatchAPITasksIDCloseOK) IsRedirect() bool
- func (o *PatchAPITasksIDCloseOK) IsServerError() bool
- func (o *PatchAPITasksIDCloseOK) IsSuccess() bool
- func (o *PatchAPITasksIDCloseOK) String() string
- type PatchAPITasksIDCloseParams
- func NewPatchAPITasksIDCloseParams() *PatchAPITasksIDCloseParams
- func NewPatchAPITasksIDCloseParamsWithContext(ctx context.Context) *PatchAPITasksIDCloseParams
- func NewPatchAPITasksIDCloseParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDCloseParams
- func NewPatchAPITasksIDCloseParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDCloseParams
- func (o *PatchAPITasksIDCloseParams) SetContext(ctx context.Context)
- func (o *PatchAPITasksIDCloseParams) SetDefaults()
- func (o *PatchAPITasksIDCloseParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPITasksIDCloseParams) SetID(id int64)
- func (o *PatchAPITasksIDCloseParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPITasksIDCloseParams) WithContext(ctx context.Context) *PatchAPITasksIDCloseParams
- func (o *PatchAPITasksIDCloseParams) WithDefaults() *PatchAPITasksIDCloseParams
- func (o *PatchAPITasksIDCloseParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDCloseParams
- func (o *PatchAPITasksIDCloseParams) WithID(id int64) *PatchAPITasksIDCloseParams
- func (o *PatchAPITasksIDCloseParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDCloseParams
- func (o *PatchAPITasksIDCloseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPITasksIDCloseReader
- type PatchAPITasksIDLogOK
- func (o *PatchAPITasksIDLogOK) Error() string
- func (o *PatchAPITasksIDLogOK) GetPayload() *models.TimesheetEntityExpanded
- func (o *PatchAPITasksIDLogOK) IsClientError() bool
- func (o *PatchAPITasksIDLogOK) IsCode(code int) bool
- func (o *PatchAPITasksIDLogOK) IsRedirect() bool
- func (o *PatchAPITasksIDLogOK) IsServerError() bool
- func (o *PatchAPITasksIDLogOK) IsSuccess() bool
- func (o *PatchAPITasksIDLogOK) String() string
- type PatchAPITasksIDLogParams
- func NewPatchAPITasksIDLogParams() *PatchAPITasksIDLogParams
- func NewPatchAPITasksIDLogParamsWithContext(ctx context.Context) *PatchAPITasksIDLogParams
- func NewPatchAPITasksIDLogParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDLogParams
- func NewPatchAPITasksIDLogParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDLogParams
- func (o *PatchAPITasksIDLogParams) SetBody(body *models.TaskLogWorkForm)
- func (o *PatchAPITasksIDLogParams) SetContext(ctx context.Context)
- func (o *PatchAPITasksIDLogParams) SetDefaults()
- func (o *PatchAPITasksIDLogParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPITasksIDLogParams) SetID(id int64)
- func (o *PatchAPITasksIDLogParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPITasksIDLogParams) WithBody(body *models.TaskLogWorkForm) *PatchAPITasksIDLogParams
- func (o *PatchAPITasksIDLogParams) WithContext(ctx context.Context) *PatchAPITasksIDLogParams
- func (o *PatchAPITasksIDLogParams) WithDefaults() *PatchAPITasksIDLogParams
- func (o *PatchAPITasksIDLogParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDLogParams
- func (o *PatchAPITasksIDLogParams) WithID(id int64) *PatchAPITasksIDLogParams
- func (o *PatchAPITasksIDLogParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDLogParams
- func (o *PatchAPITasksIDLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPITasksIDLogReader
- type PatchAPITasksIDOK
- func (o *PatchAPITasksIDOK) Error() string
- func (o *PatchAPITasksIDOK) GetPayload() *models.Task
- func (o *PatchAPITasksIDOK) IsClientError() bool
- func (o *PatchAPITasksIDOK) IsCode(code int) bool
- func (o *PatchAPITasksIDOK) IsRedirect() bool
- func (o *PatchAPITasksIDOK) IsServerError() bool
- func (o *PatchAPITasksIDOK) IsSuccess() bool
- func (o *PatchAPITasksIDOK) String() string
- type PatchAPITasksIDParams
- func NewPatchAPITasksIDParams() *PatchAPITasksIDParams
- func NewPatchAPITasksIDParamsWithContext(ctx context.Context) *PatchAPITasksIDParams
- func NewPatchAPITasksIDParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDParams
- func NewPatchAPITasksIDParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDParams
- func (o *PatchAPITasksIDParams) SetBody(body *models.TaskEditForm)
- func (o *PatchAPITasksIDParams) SetContext(ctx context.Context)
- func (o *PatchAPITasksIDParams) SetDefaults()
- func (o *PatchAPITasksIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPITasksIDParams) SetID(id int64)
- func (o *PatchAPITasksIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPITasksIDParams) WithBody(body *models.TaskEditForm) *PatchAPITasksIDParams
- func (o *PatchAPITasksIDParams) WithContext(ctx context.Context) *PatchAPITasksIDParams
- func (o *PatchAPITasksIDParams) WithDefaults() *PatchAPITasksIDParams
- func (o *PatchAPITasksIDParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDParams
- func (o *PatchAPITasksIDParams) WithID(id int64) *PatchAPITasksIDParams
- func (o *PatchAPITasksIDParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDParams
- func (o *PatchAPITasksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPITasksIDReader
- type PatchAPITasksIDReopenOK
- func (o *PatchAPITasksIDReopenOK) Error() string
- func (o *PatchAPITasksIDReopenOK) GetPayload() *models.Task
- func (o *PatchAPITasksIDReopenOK) IsClientError() bool
- func (o *PatchAPITasksIDReopenOK) IsCode(code int) bool
- func (o *PatchAPITasksIDReopenOK) IsRedirect() bool
- func (o *PatchAPITasksIDReopenOK) IsServerError() bool
- func (o *PatchAPITasksIDReopenOK) IsSuccess() bool
- func (o *PatchAPITasksIDReopenOK) String() string
- type PatchAPITasksIDReopenParams
- func NewPatchAPITasksIDReopenParams() *PatchAPITasksIDReopenParams
- func NewPatchAPITasksIDReopenParamsWithContext(ctx context.Context) *PatchAPITasksIDReopenParams
- func NewPatchAPITasksIDReopenParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDReopenParams
- func NewPatchAPITasksIDReopenParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDReopenParams
- func (o *PatchAPITasksIDReopenParams) SetContext(ctx context.Context)
- func (o *PatchAPITasksIDReopenParams) SetDefaults()
- func (o *PatchAPITasksIDReopenParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPITasksIDReopenParams) SetID(id int64)
- func (o *PatchAPITasksIDReopenParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPITasksIDReopenParams) WithContext(ctx context.Context) *PatchAPITasksIDReopenParams
- func (o *PatchAPITasksIDReopenParams) WithDefaults() *PatchAPITasksIDReopenParams
- func (o *PatchAPITasksIDReopenParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDReopenParams
- func (o *PatchAPITasksIDReopenParams) WithID(id int64) *PatchAPITasksIDReopenParams
- func (o *PatchAPITasksIDReopenParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDReopenParams
- func (o *PatchAPITasksIDReopenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPITasksIDReopenReader
- type PatchAPITasksIDStartOK
- func (o *PatchAPITasksIDStartOK) Error() string
- func (o *PatchAPITasksIDStartOK) GetPayload() *models.Task
- func (o *PatchAPITasksIDStartOK) IsClientError() bool
- func (o *PatchAPITasksIDStartOK) IsCode(code int) bool
- func (o *PatchAPITasksIDStartOK) IsRedirect() bool
- func (o *PatchAPITasksIDStartOK) IsServerError() bool
- func (o *PatchAPITasksIDStartOK) IsSuccess() bool
- func (o *PatchAPITasksIDStartOK) String() string
- type PatchAPITasksIDStartParams
- func NewPatchAPITasksIDStartParams() *PatchAPITasksIDStartParams
- func NewPatchAPITasksIDStartParamsWithContext(ctx context.Context) *PatchAPITasksIDStartParams
- func NewPatchAPITasksIDStartParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDStartParams
- func NewPatchAPITasksIDStartParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDStartParams
- func (o *PatchAPITasksIDStartParams) SetContext(ctx context.Context)
- func (o *PatchAPITasksIDStartParams) SetDefaults()
- func (o *PatchAPITasksIDStartParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPITasksIDStartParams) SetID(id int64)
- func (o *PatchAPITasksIDStartParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPITasksIDStartParams) WithContext(ctx context.Context) *PatchAPITasksIDStartParams
- func (o *PatchAPITasksIDStartParams) WithDefaults() *PatchAPITasksIDStartParams
- func (o *PatchAPITasksIDStartParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDStartParams
- func (o *PatchAPITasksIDStartParams) WithID(id int64) *PatchAPITasksIDStartParams
- func (o *PatchAPITasksIDStartParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDStartParams
- func (o *PatchAPITasksIDStartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPITasksIDStartReader
- type PatchAPITasksIDStopOK
- func (o *PatchAPITasksIDStopOK) Error() string
- func (o *PatchAPITasksIDStopOK) GetPayload() *models.Task
- func (o *PatchAPITasksIDStopOK) IsClientError() bool
- func (o *PatchAPITasksIDStopOK) IsCode(code int) bool
- func (o *PatchAPITasksIDStopOK) IsRedirect() bool
- func (o *PatchAPITasksIDStopOK) IsServerError() bool
- func (o *PatchAPITasksIDStopOK) IsSuccess() bool
- func (o *PatchAPITasksIDStopOK) String() string
- type PatchAPITasksIDStopParams
- func NewPatchAPITasksIDStopParams() *PatchAPITasksIDStopParams
- func NewPatchAPITasksIDStopParamsWithContext(ctx context.Context) *PatchAPITasksIDStopParams
- func NewPatchAPITasksIDStopParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDStopParams
- func NewPatchAPITasksIDStopParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDStopParams
- func (o *PatchAPITasksIDStopParams) SetContext(ctx context.Context)
- func (o *PatchAPITasksIDStopParams) SetDefaults()
- func (o *PatchAPITasksIDStopParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPITasksIDStopParams) SetID(id int64)
- func (o *PatchAPITasksIDStopParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPITasksIDStopParams) WithContext(ctx context.Context) *PatchAPITasksIDStopParams
- func (o *PatchAPITasksIDStopParams) WithDefaults() *PatchAPITasksIDStopParams
- func (o *PatchAPITasksIDStopParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDStopParams
- func (o *PatchAPITasksIDStopParams) WithID(id int64) *PatchAPITasksIDStopParams
- func (o *PatchAPITasksIDStopParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDStopParams
- func (o *PatchAPITasksIDStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPITasksIDStopReader
- type PatchAPITasksIDUnassignOK
- func (o *PatchAPITasksIDUnassignOK) Error() string
- func (o *PatchAPITasksIDUnassignOK) GetPayload() *models.Task
- func (o *PatchAPITasksIDUnassignOK) IsClientError() bool
- func (o *PatchAPITasksIDUnassignOK) IsCode(code int) bool
- func (o *PatchAPITasksIDUnassignOK) IsRedirect() bool
- func (o *PatchAPITasksIDUnassignOK) IsServerError() bool
- func (o *PatchAPITasksIDUnassignOK) IsSuccess() bool
- func (o *PatchAPITasksIDUnassignOK) String() string
- type PatchAPITasksIDUnassignParams
- func NewPatchAPITasksIDUnassignParams() *PatchAPITasksIDUnassignParams
- func NewPatchAPITasksIDUnassignParamsWithContext(ctx context.Context) *PatchAPITasksIDUnassignParams
- func NewPatchAPITasksIDUnassignParamsWithHTTPClient(client *http.Client) *PatchAPITasksIDUnassignParams
- func NewPatchAPITasksIDUnassignParamsWithTimeout(timeout time.Duration) *PatchAPITasksIDUnassignParams
- func (o *PatchAPITasksIDUnassignParams) SetContext(ctx context.Context)
- func (o *PatchAPITasksIDUnassignParams) SetDefaults()
- func (o *PatchAPITasksIDUnassignParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPITasksIDUnassignParams) SetID(id int64)
- func (o *PatchAPITasksIDUnassignParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPITasksIDUnassignParams) WithContext(ctx context.Context) *PatchAPITasksIDUnassignParams
- func (o *PatchAPITasksIDUnassignParams) WithDefaults() *PatchAPITasksIDUnassignParams
- func (o *PatchAPITasksIDUnassignParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDUnassignParams
- func (o *PatchAPITasksIDUnassignParams) WithID(id int64) *PatchAPITasksIDUnassignParams
- func (o *PatchAPITasksIDUnassignParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDUnassignParams
- func (o *PatchAPITasksIDUnassignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPITasksIDUnassignReader
- type PostAPITasksOK
- func (o *PostAPITasksOK) Error() string
- func (o *PostAPITasksOK) GetPayload() *models.Task
- func (o *PostAPITasksOK) IsClientError() bool
- func (o *PostAPITasksOK) IsCode(code int) bool
- func (o *PostAPITasksOK) IsRedirect() bool
- func (o *PostAPITasksOK) IsServerError() bool
- func (o *PostAPITasksOK) IsSuccess() bool
- func (o *PostAPITasksOK) String() string
- type PostAPITasksParams
- func (o *PostAPITasksParams) SetBody(body *models.TaskEditForm)
- func (o *PostAPITasksParams) SetContext(ctx context.Context)
- func (o *PostAPITasksParams) SetDefaults()
- func (o *PostAPITasksParams) SetHTTPClient(client *http.Client)
- func (o *PostAPITasksParams) SetTimeout(timeout time.Duration)
- func (o *PostAPITasksParams) WithBody(body *models.TaskEditForm) *PostAPITasksParams
- func (o *PostAPITasksParams) WithContext(ctx context.Context) *PostAPITasksParams
- func (o *PostAPITasksParams) WithDefaults() *PostAPITasksParams
- func (o *PostAPITasksParams) WithHTTPClient(client *http.Client) *PostAPITasksParams
- func (o *PostAPITasksParams) WithTimeout(timeout time.Duration) *PostAPITasksParams
- func (o *PostAPITasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPITasksReader
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 ¶
func (o *DeleteAPITasksIDParams) WithContext(ctx context.Context) *DeleteAPITasksIDParams
WithContext adds the context to the delete API tasks ID params
func (*DeleteAPITasksIDParams) WithDefaults ¶
func (o *DeleteAPITasksIDParams) WithDefaults() *DeleteAPITasksIDParams
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 ¶
func (o *DeleteAPITasksIDParams) WithID(id int64) *DeleteAPITasksIDParams
WithID adds the id to the delete API tasks ID params
func (*DeleteAPITasksIDParams) WithTimeout ¶
func (o *DeleteAPITasksIDParams) WithTimeout(timeout time.Duration) *DeleteAPITasksIDParams
WithTimeout adds the timeout to the delete API tasks ID params
func (*DeleteAPITasksIDParams) WriteToRequest ¶
func (o *DeleteAPITasksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetAPITasksIDParams) WithContext(ctx context.Context) *GetAPITasksIDParams
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 ¶
func (o *GetAPITasksIDParams) WithID(id int64) *GetAPITasksIDParams
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 ¶
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 ¶
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 ¶
func (o *PatchAPITasksIDAssignParams) WithContext(ctx context.Context) *PatchAPITasksIDAssignParams
WithContext adds the context to the patch API tasks ID assign params
func (*PatchAPITasksIDAssignParams) WithDefaults ¶
func (o *PatchAPITasksIDAssignParams) WithDefaults() *PatchAPITasksIDAssignParams
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 ¶
func (o *PatchAPITasksIDAssignParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDAssignParams
WithHTTPClient adds the HTTPClient to the patch API tasks ID assign params
func (*PatchAPITasksIDAssignParams) WithID ¶
func (o *PatchAPITasksIDAssignParams) WithID(id int64) *PatchAPITasksIDAssignParams
WithID adds the id to the patch API tasks ID assign params
func (*PatchAPITasksIDAssignParams) WithTimeout ¶
func (o *PatchAPITasksIDAssignParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDAssignParams
WithTimeout adds the timeout to the patch API tasks ID assign params
func (*PatchAPITasksIDAssignParams) WriteToRequest ¶
func (o *PatchAPITasksIDAssignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PatchAPITasksIDCloseParams) WithContext(ctx context.Context) *PatchAPITasksIDCloseParams
WithContext adds the context to the patch API tasks ID close params
func (*PatchAPITasksIDCloseParams) WithDefaults ¶
func (o *PatchAPITasksIDCloseParams) WithDefaults() *PatchAPITasksIDCloseParams
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 ¶
func (o *PatchAPITasksIDCloseParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDCloseParams
WithHTTPClient adds the HTTPClient to the patch API tasks ID close params
func (*PatchAPITasksIDCloseParams) WithID ¶
func (o *PatchAPITasksIDCloseParams) WithID(id int64) *PatchAPITasksIDCloseParams
WithID adds the id to the patch API tasks ID close params
func (*PatchAPITasksIDCloseParams) WithTimeout ¶
func (o *PatchAPITasksIDCloseParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDCloseParams
WithTimeout adds the timeout to the patch API tasks ID close params
func (*PatchAPITasksIDCloseParams) WriteToRequest ¶
func (o *PatchAPITasksIDCloseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PatchAPITasksIDLogOK) GetPayload() *models.TimesheetEntityExpanded
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 ¶
func (o *PatchAPITasksIDLogParams) SetBody(body *models.TaskLogWorkForm)
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 ¶
func (o *PatchAPITasksIDLogParams) WithBody(body *models.TaskLogWorkForm) *PatchAPITasksIDLogParams
WithBody adds the body to the patch API tasks ID log params
func (*PatchAPITasksIDLogParams) WithContext ¶
func (o *PatchAPITasksIDLogParams) WithContext(ctx context.Context) *PatchAPITasksIDLogParams
WithContext adds the context to the patch API tasks ID log params
func (*PatchAPITasksIDLogParams) WithDefaults ¶
func (o *PatchAPITasksIDLogParams) WithDefaults() *PatchAPITasksIDLogParams
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 ¶
func (o *PatchAPITasksIDLogParams) WithID(id int64) *PatchAPITasksIDLogParams
WithID adds the id to the patch API tasks ID log params
func (*PatchAPITasksIDLogParams) WithTimeout ¶
func (o *PatchAPITasksIDLogParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDLogParams
WithTimeout adds the timeout to the patch API tasks ID log params
func (*PatchAPITasksIDLogParams) WriteToRequest ¶
func (o *PatchAPITasksIDLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PatchAPITasksIDParams) WithBody(body *models.TaskEditForm) *PatchAPITasksIDParams
WithBody adds the body to the patch API tasks ID params
func (*PatchAPITasksIDParams) WithContext ¶
func (o *PatchAPITasksIDParams) WithContext(ctx context.Context) *PatchAPITasksIDParams
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 ¶
func (o *PatchAPITasksIDParams) WithID(id int64) *PatchAPITasksIDParams
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 ¶
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 ¶
func (o *PatchAPITasksIDReopenParams) WithContext(ctx context.Context) *PatchAPITasksIDReopenParams
WithContext adds the context to the patch API tasks ID reopen params
func (*PatchAPITasksIDReopenParams) WithDefaults ¶
func (o *PatchAPITasksIDReopenParams) WithDefaults() *PatchAPITasksIDReopenParams
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 ¶
func (o *PatchAPITasksIDReopenParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDReopenParams
WithHTTPClient adds the HTTPClient to the patch API tasks ID reopen params
func (*PatchAPITasksIDReopenParams) WithID ¶
func (o *PatchAPITasksIDReopenParams) WithID(id int64) *PatchAPITasksIDReopenParams
WithID adds the id to the patch API tasks ID reopen params
func (*PatchAPITasksIDReopenParams) WithTimeout ¶
func (o *PatchAPITasksIDReopenParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDReopenParams
WithTimeout adds the timeout to the patch API tasks ID reopen params
func (*PatchAPITasksIDReopenParams) WriteToRequest ¶
func (o *PatchAPITasksIDReopenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PatchAPITasksIDStartParams) WithContext(ctx context.Context) *PatchAPITasksIDStartParams
WithContext adds the context to the patch API tasks ID start params
func (*PatchAPITasksIDStartParams) WithDefaults ¶
func (o *PatchAPITasksIDStartParams) WithDefaults() *PatchAPITasksIDStartParams
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 ¶
func (o *PatchAPITasksIDStartParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDStartParams
WithHTTPClient adds the HTTPClient to the patch API tasks ID start params
func (*PatchAPITasksIDStartParams) WithID ¶
func (o *PatchAPITasksIDStartParams) WithID(id int64) *PatchAPITasksIDStartParams
WithID adds the id to the patch API tasks ID start params
func (*PatchAPITasksIDStartParams) WithTimeout ¶
func (o *PatchAPITasksIDStartParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDStartParams
WithTimeout adds the timeout to the patch API tasks ID start params
func (*PatchAPITasksIDStartParams) WriteToRequest ¶
func (o *PatchAPITasksIDStartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PatchAPITasksIDStopParams) WithContext(ctx context.Context) *PatchAPITasksIDStopParams
WithContext adds the context to the patch API tasks ID stop params
func (*PatchAPITasksIDStopParams) WithDefaults ¶
func (o *PatchAPITasksIDStopParams) WithDefaults() *PatchAPITasksIDStopParams
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 ¶
func (o *PatchAPITasksIDStopParams) WithID(id int64) *PatchAPITasksIDStopParams
WithID adds the id to the patch API tasks ID stop params
func (*PatchAPITasksIDStopParams) WithTimeout ¶
func (o *PatchAPITasksIDStopParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDStopParams
WithTimeout adds the timeout to the patch API tasks ID stop params
func (*PatchAPITasksIDStopParams) WriteToRequest ¶
func (o *PatchAPITasksIDStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PatchAPITasksIDUnassignParams) WithContext(ctx context.Context) *PatchAPITasksIDUnassignParams
WithContext adds the context to the patch API tasks ID unassign params
func (*PatchAPITasksIDUnassignParams) WithDefaults ¶
func (o *PatchAPITasksIDUnassignParams) WithDefaults() *PatchAPITasksIDUnassignParams
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 ¶
func (o *PatchAPITasksIDUnassignParams) WithHTTPClient(client *http.Client) *PatchAPITasksIDUnassignParams
WithHTTPClient adds the HTTPClient to the patch API tasks ID unassign params
func (*PatchAPITasksIDUnassignParams) WithID ¶
func (o *PatchAPITasksIDUnassignParams) WithID(id int64) *PatchAPITasksIDUnassignParams
WithID adds the id to the patch API tasks ID unassign params
func (*PatchAPITasksIDUnassignParams) WithTimeout ¶
func (o *PatchAPITasksIDUnassignParams) WithTimeout(timeout time.Duration) *PatchAPITasksIDUnassignParams
WithTimeout adds the timeout to the patch API tasks ID unassign params
func (*PatchAPITasksIDUnassignParams) WriteToRequest ¶
func (o *PatchAPITasksIDUnassignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PostAPITasksParams) WithBody(body *models.TaskEditForm) *PostAPITasksParams
WithBody adds the body to the post API tasks params
func (*PostAPITasksParams) WithContext ¶
func (o *PostAPITasksParams) WithContext(ctx context.Context) *PostAPITasksParams
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.
Source Files
¶
- delete_api_tasks_id_parameters.go
- delete_api_tasks_id_responses.go
- get_api_tasks_id_parameters.go
- get_api_tasks_id_responses.go
- get_api_tasks_parameters.go
- get_api_tasks_responses.go
- patch_api_tasks_id_assign_parameters.go
- patch_api_tasks_id_assign_responses.go
- patch_api_tasks_id_close_parameters.go
- patch_api_tasks_id_close_responses.go
- patch_api_tasks_id_log_parameters.go
- patch_api_tasks_id_log_responses.go
- patch_api_tasks_id_parameters.go
- patch_api_tasks_id_reopen_parameters.go
- patch_api_tasks_id_reopen_responses.go
- patch_api_tasks_id_responses.go
- patch_api_tasks_id_start_parameters.go
- patch_api_tasks_id_start_responses.go
- patch_api_tasks_id_stop_parameters.go
- patch_api_tasks_id_stop_responses.go
- patch_api_tasks_id_unassign_parameters.go
- patch_api_tasks_id_unassign_responses.go
- post_api_tasks_parameters.go
- post_api_tasks_responses.go
- task_client.go