Documentation
¶
Index ¶
- type AddCommentToTaskBody
- type AddCommentToTaskCreated
- func (o *AddCommentToTaskCreated) Code() int
- func (o *AddCommentToTaskCreated) Error() string
- func (o *AddCommentToTaskCreated) IsClientError() bool
- func (o *AddCommentToTaskCreated) IsCode(code int) bool
- func (o *AddCommentToTaskCreated) IsRedirect() bool
- func (o *AddCommentToTaskCreated) IsServerError() bool
- func (o *AddCommentToTaskCreated) IsSuccess() bool
- func (o *AddCommentToTaskCreated) String() string
- type AddCommentToTaskDefault
- func (o *AddCommentToTaskDefault) Code() int
- func (o *AddCommentToTaskDefault) Error() string
- func (o *AddCommentToTaskDefault) GetPayload() *models.Error
- func (o *AddCommentToTaskDefault) IsClientError() bool
- func (o *AddCommentToTaskDefault) IsCode(code int) bool
- func (o *AddCommentToTaskDefault) IsRedirect() bool
- func (o *AddCommentToTaskDefault) IsServerError() bool
- func (o *AddCommentToTaskDefault) IsSuccess() bool
- func (o *AddCommentToTaskDefault) String() string
- type AddCommentToTaskParams
- func NewAddCommentToTaskParams() *AddCommentToTaskParams
- func NewAddCommentToTaskParamsWithContext(ctx context.Context) *AddCommentToTaskParams
- func NewAddCommentToTaskParamsWithHTTPClient(client *http.Client) *AddCommentToTaskParams
- func NewAddCommentToTaskParamsWithTimeout(timeout time.Duration) *AddCommentToTaskParams
- func (o *AddCommentToTaskParams) SetBody(body AddCommentToTaskBody)
- func (o *AddCommentToTaskParams) SetContext(ctx context.Context)
- func (o *AddCommentToTaskParams) SetDefaults()
- func (o *AddCommentToTaskParams) SetHTTPClient(client *http.Client)
- func (o *AddCommentToTaskParams) SetID(id int64)
- func (o *AddCommentToTaskParams) SetTimeout(timeout time.Duration)
- func (o *AddCommentToTaskParams) WithBody(body AddCommentToTaskBody) *AddCommentToTaskParams
- func (o *AddCommentToTaskParams) WithContext(ctx context.Context) *AddCommentToTaskParams
- func (o *AddCommentToTaskParams) WithDefaults() *AddCommentToTaskParams
- func (o *AddCommentToTaskParams) WithHTTPClient(client *http.Client) *AddCommentToTaskParams
- func (o *AddCommentToTaskParams) WithID(id int64) *AddCommentToTaskParams
- func (o *AddCommentToTaskParams) WithTimeout(timeout time.Duration) *AddCommentToTaskParams
- func (o *AddCommentToTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddCommentToTaskReader
- type Client
- func (a *Client) AddCommentToTask(params *AddCommentToTaskParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddCommentToTaskCreated, error)
- func (a *Client) CreateTask(params *CreateTaskParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTaskCreated, error)
- func (a *Client) DeleteTask(params *DeleteTaskParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTaskNoContent, error)
- func (a *Client) GetTaskComments(params *GetTaskCommentsParams, opts ...ClientOption) (*GetTaskCommentsOK, error)
- func (a *Client) GetTaskDetails(params *GetTaskDetailsParams, opts ...ClientOption) (*GetTaskDetailsOK, error)
- func (a *Client) ListTasks(params *ListTasksParams, opts ...ClientOption) (*ListTasksOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateTask(params *UpdateTaskParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateTaskOK, error)
- func (a *Client) UploadTaskFile(params *UploadTaskFileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadTaskFileCreated, error)
- type ClientOption
- type ClientService
- type CreateTaskCreated
- func (o *CreateTaskCreated) Code() int
- func (o *CreateTaskCreated) Error() string
- func (o *CreateTaskCreated) IsClientError() bool
- func (o *CreateTaskCreated) IsCode(code int) bool
- func (o *CreateTaskCreated) IsRedirect() bool
- func (o *CreateTaskCreated) IsServerError() bool
- func (o *CreateTaskCreated) IsSuccess() bool
- func (o *CreateTaskCreated) String() string
- type CreateTaskDefault
- func (o *CreateTaskDefault) Code() int
- func (o *CreateTaskDefault) Error() string
- func (o *CreateTaskDefault) GetPayload() *models.Error
- func (o *CreateTaskDefault) IsClientError() bool
- func (o *CreateTaskDefault) IsCode(code int) bool
- func (o *CreateTaskDefault) IsRedirect() bool
- func (o *CreateTaskDefault) IsServerError() bool
- func (o *CreateTaskDefault) IsSuccess() bool
- func (o *CreateTaskDefault) String() string
- type CreateTaskParams
- func (o *CreateTaskParams) SetBody(body *models.Task)
- func (o *CreateTaskParams) SetContext(ctx context.Context)
- func (o *CreateTaskParams) SetDefaults()
- func (o *CreateTaskParams) SetHTTPClient(client *http.Client)
- func (o *CreateTaskParams) SetTimeout(timeout time.Duration)
- func (o *CreateTaskParams) WithBody(body *models.Task) *CreateTaskParams
- func (o *CreateTaskParams) WithContext(ctx context.Context) *CreateTaskParams
- func (o *CreateTaskParams) WithDefaults() *CreateTaskParams
- func (o *CreateTaskParams) WithHTTPClient(client *http.Client) *CreateTaskParams
- func (o *CreateTaskParams) WithTimeout(timeout time.Duration) *CreateTaskParams
- func (o *CreateTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTaskReader
- type DeleteTaskDefault
- func (o *DeleteTaskDefault) Code() int
- func (o *DeleteTaskDefault) Error() string
- func (o *DeleteTaskDefault) GetPayload() *models.Error
- func (o *DeleteTaskDefault) IsClientError() bool
- func (o *DeleteTaskDefault) IsCode(code int) bool
- func (o *DeleteTaskDefault) IsRedirect() bool
- func (o *DeleteTaskDefault) IsServerError() bool
- func (o *DeleteTaskDefault) IsSuccess() bool
- func (o *DeleteTaskDefault) String() string
- type DeleteTaskNoContent
- func (o *DeleteTaskNoContent) Code() int
- func (o *DeleteTaskNoContent) Error() string
- func (o *DeleteTaskNoContent) IsClientError() bool
- func (o *DeleteTaskNoContent) IsCode(code int) bool
- func (o *DeleteTaskNoContent) IsRedirect() bool
- func (o *DeleteTaskNoContent) IsServerError() bool
- func (o *DeleteTaskNoContent) IsSuccess() bool
- func (o *DeleteTaskNoContent) String() string
- type DeleteTaskParams
- func (o *DeleteTaskParams) SetContext(ctx context.Context)
- func (o *DeleteTaskParams) SetDefaults()
- func (o *DeleteTaskParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTaskParams) SetID(id int64)
- func (o *DeleteTaskParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTaskParams) WithContext(ctx context.Context) *DeleteTaskParams
- func (o *DeleteTaskParams) WithDefaults() *DeleteTaskParams
- func (o *DeleteTaskParams) WithHTTPClient(client *http.Client) *DeleteTaskParams
- func (o *DeleteTaskParams) WithID(id int64) *DeleteTaskParams
- func (o *DeleteTaskParams) WithTimeout(timeout time.Duration) *DeleteTaskParams
- func (o *DeleteTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTaskReader
- type GetTaskCommentsDefault
- func (o *GetTaskCommentsDefault) Code() int
- func (o *GetTaskCommentsDefault) Error() string
- func (o *GetTaskCommentsDefault) GetPayload() *models.Error
- func (o *GetTaskCommentsDefault) IsClientError() bool
- func (o *GetTaskCommentsDefault) IsCode(code int) bool
- func (o *GetTaskCommentsDefault) IsRedirect() bool
- func (o *GetTaskCommentsDefault) IsServerError() bool
- func (o *GetTaskCommentsDefault) IsSuccess() bool
- func (o *GetTaskCommentsDefault) String() string
- type GetTaskCommentsOK
- func (o *GetTaskCommentsOK) Code() int
- func (o *GetTaskCommentsOK) Error() string
- func (o *GetTaskCommentsOK) GetPayload() []*models.Comment
- func (o *GetTaskCommentsOK) IsClientError() bool
- func (o *GetTaskCommentsOK) IsCode(code int) bool
- func (o *GetTaskCommentsOK) IsRedirect() bool
- func (o *GetTaskCommentsOK) IsServerError() bool
- func (o *GetTaskCommentsOK) IsSuccess() bool
- func (o *GetTaskCommentsOK) String() string
- type GetTaskCommentsParams
- func NewGetTaskCommentsParams() *GetTaskCommentsParams
- func NewGetTaskCommentsParamsWithContext(ctx context.Context) *GetTaskCommentsParams
- func NewGetTaskCommentsParamsWithHTTPClient(client *http.Client) *GetTaskCommentsParams
- func NewGetTaskCommentsParamsWithTimeout(timeout time.Duration) *GetTaskCommentsParams
- func (o *GetTaskCommentsParams) SetContext(ctx context.Context)
- func (o *GetTaskCommentsParams) SetDefaults()
- func (o *GetTaskCommentsParams) SetHTTPClient(client *http.Client)
- func (o *GetTaskCommentsParams) SetID(id int64)
- func (o *GetTaskCommentsParams) SetPageSize(pageSize *int32)
- func (o *GetTaskCommentsParams) SetSince(since *strfmt.DateTime)
- func (o *GetTaskCommentsParams) SetTimeout(timeout time.Duration)
- func (o *GetTaskCommentsParams) WithContext(ctx context.Context) *GetTaskCommentsParams
- func (o *GetTaskCommentsParams) WithDefaults() *GetTaskCommentsParams
- func (o *GetTaskCommentsParams) WithHTTPClient(client *http.Client) *GetTaskCommentsParams
- func (o *GetTaskCommentsParams) WithID(id int64) *GetTaskCommentsParams
- func (o *GetTaskCommentsParams) WithPageSize(pageSize *int32) *GetTaskCommentsParams
- func (o *GetTaskCommentsParams) WithSince(since *strfmt.DateTime) *GetTaskCommentsParams
- func (o *GetTaskCommentsParams) WithTimeout(timeout time.Duration) *GetTaskCommentsParams
- func (o *GetTaskCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTaskCommentsReader
- type GetTaskDetailsDefault
- func (o *GetTaskDetailsDefault) Code() int
- func (o *GetTaskDetailsDefault) Error() string
- func (o *GetTaskDetailsDefault) GetPayload() *models.Error
- func (o *GetTaskDetailsDefault) IsClientError() bool
- func (o *GetTaskDetailsDefault) IsCode(code int) bool
- func (o *GetTaskDetailsDefault) IsRedirect() bool
- func (o *GetTaskDetailsDefault) IsServerError() bool
- func (o *GetTaskDetailsDefault) IsSuccess() bool
- func (o *GetTaskDetailsDefault) String() string
- type GetTaskDetailsOK
- func (o *GetTaskDetailsOK) Code() int
- func (o *GetTaskDetailsOK) Error() string
- func (o *GetTaskDetailsOK) GetPayload() *models.Task
- func (o *GetTaskDetailsOK) IsClientError() bool
- func (o *GetTaskDetailsOK) IsCode(code int) bool
- func (o *GetTaskDetailsOK) IsRedirect() bool
- func (o *GetTaskDetailsOK) IsServerError() bool
- func (o *GetTaskDetailsOK) IsSuccess() bool
- func (o *GetTaskDetailsOK) String() string
- type GetTaskDetailsParams
- func NewGetTaskDetailsParams() *GetTaskDetailsParams
- func NewGetTaskDetailsParamsWithContext(ctx context.Context) *GetTaskDetailsParams
- func NewGetTaskDetailsParamsWithHTTPClient(client *http.Client) *GetTaskDetailsParams
- func NewGetTaskDetailsParamsWithTimeout(timeout time.Duration) *GetTaskDetailsParams
- func (o *GetTaskDetailsParams) SetContext(ctx context.Context)
- func (o *GetTaskDetailsParams) SetDefaults()
- func (o *GetTaskDetailsParams) SetHTTPClient(client *http.Client)
- func (o *GetTaskDetailsParams) SetID(id int64)
- func (o *GetTaskDetailsParams) SetTimeout(timeout time.Duration)
- func (o *GetTaskDetailsParams) WithContext(ctx context.Context) *GetTaskDetailsParams
- func (o *GetTaskDetailsParams) WithDefaults() *GetTaskDetailsParams
- func (o *GetTaskDetailsParams) WithHTTPClient(client *http.Client) *GetTaskDetailsParams
- func (o *GetTaskDetailsParams) WithID(id int64) *GetTaskDetailsParams
- func (o *GetTaskDetailsParams) WithTimeout(timeout time.Duration) *GetTaskDetailsParams
- func (o *GetTaskDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTaskDetailsReader
- type GetTaskDetailsUnprocessableEntity
- func (o *GetTaskDetailsUnprocessableEntity) Code() int
- func (o *GetTaskDetailsUnprocessableEntity) Error() string
- func (o *GetTaskDetailsUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *GetTaskDetailsUnprocessableEntity) IsClientError() bool
- func (o *GetTaskDetailsUnprocessableEntity) IsCode(code int) bool
- func (o *GetTaskDetailsUnprocessableEntity) IsRedirect() bool
- func (o *GetTaskDetailsUnprocessableEntity) IsServerError() bool
- func (o *GetTaskDetailsUnprocessableEntity) IsSuccess() bool
- func (o *GetTaskDetailsUnprocessableEntity) String() string
- type ListTasksDefault
- func (o *ListTasksDefault) Code() int
- func (o *ListTasksDefault) Error() string
- func (o *ListTasksDefault) GetPayload() *models.Error
- func (o *ListTasksDefault) IsClientError() bool
- func (o *ListTasksDefault) IsCode(code int) bool
- func (o *ListTasksDefault) IsRedirect() bool
- func (o *ListTasksDefault) IsServerError() bool
- func (o *ListTasksDefault) IsSuccess() bool
- func (o *ListTasksDefault) String() string
- type ListTasksOK
- func (o *ListTasksOK) Code() int
- func (o *ListTasksOK) Error() string
- func (o *ListTasksOK) GetPayload() []*models.TaskCard
- func (o *ListTasksOK) IsClientError() bool
- func (o *ListTasksOK) IsCode(code int) bool
- func (o *ListTasksOK) IsRedirect() bool
- func (o *ListTasksOK) IsServerError() bool
- func (o *ListTasksOK) IsSuccess() bool
- func (o *ListTasksOK) String() string
- type ListTasksParams
- func (o *ListTasksParams) SetContext(ctx context.Context)
- func (o *ListTasksParams) SetDefaults()
- func (o *ListTasksParams) SetHTTPClient(client *http.Client)
- func (o *ListTasksParams) SetPageSize(pageSize *int32)
- func (o *ListTasksParams) SetSinceID(sinceID *int64)
- func (o *ListTasksParams) SetStatus(status []string)
- func (o *ListTasksParams) SetTags(tags []string)
- func (o *ListTasksParams) SetTimeout(timeout time.Duration)
- func (o *ListTasksParams) WithContext(ctx context.Context) *ListTasksParams
- func (o *ListTasksParams) WithDefaults() *ListTasksParams
- func (o *ListTasksParams) WithHTTPClient(client *http.Client) *ListTasksParams
- func (o *ListTasksParams) WithPageSize(pageSize *int32) *ListTasksParams
- func (o *ListTasksParams) WithSinceID(sinceID *int64) *ListTasksParams
- func (o *ListTasksParams) WithStatus(status []string) *ListTasksParams
- func (o *ListTasksParams) WithTags(tags []string) *ListTasksParams
- func (o *ListTasksParams) WithTimeout(timeout time.Duration) *ListTasksParams
- func (o *ListTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTasksReader
- type ListTasksUnprocessableEntity
- func (o *ListTasksUnprocessableEntity) Code() int
- func (o *ListTasksUnprocessableEntity) Error() string
- func (o *ListTasksUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *ListTasksUnprocessableEntity) IsClientError() bool
- func (o *ListTasksUnprocessableEntity) IsCode(code int) bool
- func (o *ListTasksUnprocessableEntity) IsRedirect() bool
- func (o *ListTasksUnprocessableEntity) IsServerError() bool
- func (o *ListTasksUnprocessableEntity) IsSuccess() bool
- func (o *ListTasksUnprocessableEntity) String() string
- type UpdateTaskDefault
- func (o *UpdateTaskDefault) Code() int
- func (o *UpdateTaskDefault) Error() string
- func (o *UpdateTaskDefault) GetPayload() *models.Error
- func (o *UpdateTaskDefault) IsClientError() bool
- func (o *UpdateTaskDefault) IsCode(code int) bool
- func (o *UpdateTaskDefault) IsRedirect() bool
- func (o *UpdateTaskDefault) IsServerError() bool
- func (o *UpdateTaskDefault) IsSuccess() bool
- func (o *UpdateTaskDefault) String() string
- type UpdateTaskOK
- func (o *UpdateTaskOK) Code() int
- func (o *UpdateTaskOK) Error() string
- func (o *UpdateTaskOK) GetPayload() *models.Task
- func (o *UpdateTaskOK) IsClientError() bool
- func (o *UpdateTaskOK) IsCode(code int) bool
- func (o *UpdateTaskOK) IsRedirect() bool
- func (o *UpdateTaskOK) IsServerError() bool
- func (o *UpdateTaskOK) IsSuccess() bool
- func (o *UpdateTaskOK) String() string
- type UpdateTaskParams
- func (o *UpdateTaskParams) SetBody(body *models.Task)
- func (o *UpdateTaskParams) SetContext(ctx context.Context)
- func (o *UpdateTaskParams) SetDefaults()
- func (o *UpdateTaskParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTaskParams) SetID(id int64)
- func (o *UpdateTaskParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTaskParams) WithBody(body *models.Task) *UpdateTaskParams
- func (o *UpdateTaskParams) WithContext(ctx context.Context) *UpdateTaskParams
- func (o *UpdateTaskParams) WithDefaults() *UpdateTaskParams
- func (o *UpdateTaskParams) WithHTTPClient(client *http.Client) *UpdateTaskParams
- func (o *UpdateTaskParams) WithID(id int64) *UpdateTaskParams
- func (o *UpdateTaskParams) WithTimeout(timeout time.Duration) *UpdateTaskParams
- func (o *UpdateTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTaskReader
- type UpdateTaskUnprocessableEntity
- func (o *UpdateTaskUnprocessableEntity) Code() int
- func (o *UpdateTaskUnprocessableEntity) Error() string
- func (o *UpdateTaskUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *UpdateTaskUnprocessableEntity) IsClientError() bool
- func (o *UpdateTaskUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateTaskUnprocessableEntity) IsRedirect() bool
- func (o *UpdateTaskUnprocessableEntity) IsServerError() bool
- func (o *UpdateTaskUnprocessableEntity) IsSuccess() bool
- func (o *UpdateTaskUnprocessableEntity) String() string
- type UploadTaskFileCreated
- func (o *UploadTaskFileCreated) Code() int
- func (o *UploadTaskFileCreated) Error() string
- func (o *UploadTaskFileCreated) IsClientError() bool
- func (o *UploadTaskFileCreated) IsCode(code int) bool
- func (o *UploadTaskFileCreated) IsRedirect() bool
- func (o *UploadTaskFileCreated) IsServerError() bool
- func (o *UploadTaskFileCreated) IsSuccess() bool
- func (o *UploadTaskFileCreated) String() string
- type UploadTaskFileDefault
- func (o *UploadTaskFileDefault) Code() int
- func (o *UploadTaskFileDefault) Error() string
- func (o *UploadTaskFileDefault) GetPayload() *models.Error
- func (o *UploadTaskFileDefault) IsClientError() bool
- func (o *UploadTaskFileDefault) IsCode(code int) bool
- func (o *UploadTaskFileDefault) IsRedirect() bool
- func (o *UploadTaskFileDefault) IsServerError() bool
- func (o *UploadTaskFileDefault) IsSuccess() bool
- func (o *UploadTaskFileDefault) String() string
- type UploadTaskFileParams
- func NewUploadTaskFileParams() *UploadTaskFileParams
- func NewUploadTaskFileParamsWithContext(ctx context.Context) *UploadTaskFileParams
- func NewUploadTaskFileParamsWithHTTPClient(client *http.Client) *UploadTaskFileParams
- func NewUploadTaskFileParamsWithTimeout(timeout time.Duration) *UploadTaskFileParams
- func (o *UploadTaskFileParams) SetContext(ctx context.Context)
- func (o *UploadTaskFileParams) SetDefaults()
- func (o *UploadTaskFileParams) SetDescription(description *string)
- func (o *UploadTaskFileParams) SetFile(file runtime.NamedReadCloser)
- func (o *UploadTaskFileParams) SetHTTPClient(client *http.Client)
- func (o *UploadTaskFileParams) SetID(id int64)
- func (o *UploadTaskFileParams) SetTimeout(timeout time.Duration)
- func (o *UploadTaskFileParams) WithContext(ctx context.Context) *UploadTaskFileParams
- func (o *UploadTaskFileParams) WithDefaults() *UploadTaskFileParams
- func (o *UploadTaskFileParams) WithDescription(description *string) *UploadTaskFileParams
- func (o *UploadTaskFileParams) WithFile(file runtime.NamedReadCloser) *UploadTaskFileParams
- func (o *UploadTaskFileParams) WithHTTPClient(client *http.Client) *UploadTaskFileParams
- func (o *UploadTaskFileParams) WithID(id int64) *UploadTaskFileParams
- func (o *UploadTaskFileParams) WithTimeout(timeout time.Duration) *UploadTaskFileParams
- func (o *UploadTaskFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadTaskFileReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCommentToTaskBody ¶
type AddCommentToTaskBody struct { // content // Required: true Content *string `json:"content"` // user Id // Required: true UserID *int64 `json:"userId"` }
AddCommentToTaskBody A comment to create // // These values can have github flavored markdown. // swagger:model AddCommentToTaskBody
func (*AddCommentToTaskBody) ContextValidate ¶
ContextValidate validates this add comment to task body based on context it is used
func (*AddCommentToTaskBody) MarshalBinary ¶
func (o *AddCommentToTaskBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddCommentToTaskBody) UnmarshalBinary ¶
func (o *AddCommentToTaskBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddCommentToTaskCreated ¶
type AddCommentToTaskCreated struct { }
AddCommentToTaskCreated describes a response with status code 201, with default header values.
Comment added
func NewAddCommentToTaskCreated ¶
func NewAddCommentToTaskCreated() *AddCommentToTaskCreated
NewAddCommentToTaskCreated creates a AddCommentToTaskCreated with default headers values
func (*AddCommentToTaskCreated) Code ¶
func (o *AddCommentToTaskCreated) Code() int
Code gets the status code for the add comment to task created response
func (*AddCommentToTaskCreated) Error ¶
func (o *AddCommentToTaskCreated) Error() string
func (*AddCommentToTaskCreated) IsClientError ¶
func (o *AddCommentToTaskCreated) IsClientError() bool
IsClientError returns true when this add comment to task created response has a 4xx status code
func (*AddCommentToTaskCreated) IsCode ¶
func (o *AddCommentToTaskCreated) IsCode(code int) bool
IsCode returns true when this add comment to task created response a status code equal to that given
func (*AddCommentToTaskCreated) IsRedirect ¶
func (o *AddCommentToTaskCreated) IsRedirect() bool
IsRedirect returns true when this add comment to task created response has a 3xx status code
func (*AddCommentToTaskCreated) IsServerError ¶
func (o *AddCommentToTaskCreated) IsServerError() bool
IsServerError returns true when this add comment to task created response has a 5xx status code
func (*AddCommentToTaskCreated) IsSuccess ¶
func (o *AddCommentToTaskCreated) IsSuccess() bool
IsSuccess returns true when this add comment to task created response has a 2xx status code
func (*AddCommentToTaskCreated) String ¶
func (o *AddCommentToTaskCreated) String() string
type AddCommentToTaskDefault ¶
type AddCommentToTaskDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
AddCommentToTaskDefault describes a response with status code -1, with default header values.
Error response
func NewAddCommentToTaskDefault ¶
func NewAddCommentToTaskDefault(code int) *AddCommentToTaskDefault
NewAddCommentToTaskDefault creates a AddCommentToTaskDefault with default headers values
func (*AddCommentToTaskDefault) Code ¶
func (o *AddCommentToTaskDefault) Code() int
Code gets the status code for the add comment to task default response
func (*AddCommentToTaskDefault) Error ¶
func (o *AddCommentToTaskDefault) Error() string
func (*AddCommentToTaskDefault) GetPayload ¶
func (o *AddCommentToTaskDefault) GetPayload() *models.Error
func (*AddCommentToTaskDefault) IsClientError ¶
func (o *AddCommentToTaskDefault) IsClientError() bool
IsClientError returns true when this add comment to task default response has a 4xx status code
func (*AddCommentToTaskDefault) IsCode ¶
func (o *AddCommentToTaskDefault) IsCode(code int) bool
IsCode returns true when this add comment to task default response a status code equal to that given
func (*AddCommentToTaskDefault) IsRedirect ¶
func (o *AddCommentToTaskDefault) IsRedirect() bool
IsRedirect returns true when this add comment to task default response has a 3xx status code
func (*AddCommentToTaskDefault) IsServerError ¶
func (o *AddCommentToTaskDefault) IsServerError() bool
IsServerError returns true when this add comment to task default response has a 5xx status code
func (*AddCommentToTaskDefault) IsSuccess ¶
func (o *AddCommentToTaskDefault) IsSuccess() bool
IsSuccess returns true when this add comment to task default response has a 2xx status code
func (*AddCommentToTaskDefault) String ¶
func (o *AddCommentToTaskDefault) String() string
type AddCommentToTaskParams ¶
type AddCommentToTaskParams struct { /* Body. The comment to add */ Body AddCommentToTaskBody /* ID. The id of the item Format: int64 */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddCommentToTaskParams contains all the parameters to send to the API endpoint
for the add comment to task operation. Typically these are written to a http.Request.
func NewAddCommentToTaskParams ¶
func NewAddCommentToTaskParams() *AddCommentToTaskParams
NewAddCommentToTaskParams creates a new AddCommentToTaskParams 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 NewAddCommentToTaskParamsWithContext ¶
func NewAddCommentToTaskParamsWithContext(ctx context.Context) *AddCommentToTaskParams
NewAddCommentToTaskParamsWithContext creates a new AddCommentToTaskParams object with the ability to set a context for a request.
func NewAddCommentToTaskParamsWithHTTPClient ¶
func NewAddCommentToTaskParamsWithHTTPClient(client *http.Client) *AddCommentToTaskParams
NewAddCommentToTaskParamsWithHTTPClient creates a new AddCommentToTaskParams object with the ability to set a custom HTTPClient for a request.
func NewAddCommentToTaskParamsWithTimeout ¶
func NewAddCommentToTaskParamsWithTimeout(timeout time.Duration) *AddCommentToTaskParams
NewAddCommentToTaskParamsWithTimeout creates a new AddCommentToTaskParams object with the ability to set a timeout on a request.
func (*AddCommentToTaskParams) SetBody ¶
func (o *AddCommentToTaskParams) SetBody(body AddCommentToTaskBody)
SetBody adds the body to the add comment to task params
func (*AddCommentToTaskParams) SetContext ¶
func (o *AddCommentToTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the add comment to task params
func (*AddCommentToTaskParams) SetDefaults ¶
func (o *AddCommentToTaskParams) SetDefaults()
SetDefaults hydrates default values in the add comment to task params (not the query body).
All values with no default are reset to their zero value.
func (*AddCommentToTaskParams) SetHTTPClient ¶
func (o *AddCommentToTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add comment to task params
func (*AddCommentToTaskParams) SetID ¶
func (o *AddCommentToTaskParams) SetID(id int64)
SetID adds the id to the add comment to task params
func (*AddCommentToTaskParams) SetTimeout ¶
func (o *AddCommentToTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add comment to task params
func (*AddCommentToTaskParams) WithBody ¶
func (o *AddCommentToTaskParams) WithBody(body AddCommentToTaskBody) *AddCommentToTaskParams
WithBody adds the body to the add comment to task params
func (*AddCommentToTaskParams) WithContext ¶
func (o *AddCommentToTaskParams) WithContext(ctx context.Context) *AddCommentToTaskParams
WithContext adds the context to the add comment to task params
func (*AddCommentToTaskParams) WithDefaults ¶
func (o *AddCommentToTaskParams) WithDefaults() *AddCommentToTaskParams
WithDefaults hydrates default values in the add comment to task params (not the query body).
All values with no default are reset to their zero value.
func (*AddCommentToTaskParams) WithHTTPClient ¶
func (o *AddCommentToTaskParams) WithHTTPClient(client *http.Client) *AddCommentToTaskParams
WithHTTPClient adds the HTTPClient to the add comment to task params
func (*AddCommentToTaskParams) WithID ¶
func (o *AddCommentToTaskParams) WithID(id int64) *AddCommentToTaskParams
WithID adds the id to the add comment to task params
func (*AddCommentToTaskParams) WithTimeout ¶
func (o *AddCommentToTaskParams) WithTimeout(timeout time.Duration) *AddCommentToTaskParams
WithTimeout adds the timeout to the add comment to task params
func (*AddCommentToTaskParams) WriteToRequest ¶
func (o *AddCommentToTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddCommentToTaskReader ¶
type AddCommentToTaskReader struct {
// contains filtered or unexported fields
}
AddCommentToTaskReader is a Reader for the AddCommentToTask structure.
func (*AddCommentToTaskReader) ReadResponse ¶
func (o *AddCommentToTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for tasks API
func (*Client) AddCommentToTask ¶
func (a *Client) AddCommentToTask(params *AddCommentToTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCommentToTaskCreated, error)
AddCommentToTask adds a comment to a task The comment can contain ___github markdown___ syntax.
Fenced codeblocks etc are supported through pygments.
func (*Client) CreateTask ¶
func (a *Client) CreateTask(params *CreateTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTaskCreated, error)
CreateTask creates a task object Allows for creating a task.
This operation requires authentication so that we know which user created the task.
func (*Client) DeleteTask ¶
func (a *Client) DeleteTask(params *DeleteTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTaskNoContent, error)
DeleteTask deletes a task
This is a soft delete and changes the task status to ignored.
func (*Client) GetTaskComments ¶
func (a *Client) GetTaskComments(params *GetTaskCommentsParams, opts ...ClientOption) (*GetTaskCommentsOK, error)
GetTaskComments gets the comments for a task
The comments require a size parameter.
func (*Client) GetTaskDetails ¶
func (a *Client) GetTaskDetails(params *GetTaskDetailsParams, opts ...ClientOption) (*GetTaskDetailsOK, error)
GetTaskDetails gets the details for a task The details view has more information than the card view.
You can see who reported the issue and who last updated it when.
There are also comments for each issue.
func (*Client) ListTasks ¶
func (a *Client) ListTasks(params *ListTasksParams, opts ...ClientOption) (*ListTasksOK, error)
ListTasks lists the tasks Allows for specifying a number of filter parameters to
narrow down the results. Also allows for specifying a **sinceId** and **pageSize** parameter to page through large result sets.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateTask ¶
func (a *Client) UpdateTask(params *UpdateTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTaskOK, error)
UpdateTask updates the details for a task Allows for updating a task.
This operation requires authentication so that we know which user last updated the task.
func (*Client) UploadTaskFile ¶
func (a *Client) UploadTaskFile(params *UploadTaskFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadTaskFileCreated, error)
UploadTaskFile adds a file to a task
The file can't be larger than **5MB**
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddCommentToTask(params *AddCommentToTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCommentToTaskCreated, error) CreateTask(params *CreateTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTaskCreated, error) DeleteTask(params *DeleteTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTaskNoContent, error) GetTaskComments(params *GetTaskCommentsParams, opts ...ClientOption) (*GetTaskCommentsOK, error) GetTaskDetails(params *GetTaskDetailsParams, opts ...ClientOption) (*GetTaskDetailsOK, error) ListTasks(params *ListTasksParams, opts ...ClientOption) (*ListTasksOK, error) UpdateTask(params *UpdateTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTaskOK, error) UploadTaskFile(params *UploadTaskFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadTaskFileCreated, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new tasks API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new tasks API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new tasks API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateTaskCreated ¶
CreateTaskCreated describes a response with status code 201, with default header values.
Task created
func NewCreateTaskCreated ¶
func NewCreateTaskCreated() *CreateTaskCreated
NewCreateTaskCreated creates a CreateTaskCreated with default headers values
func (*CreateTaskCreated) Code ¶
func (o *CreateTaskCreated) Code() int
Code gets the status code for the create task created response
func (*CreateTaskCreated) Error ¶
func (o *CreateTaskCreated) Error() string
func (*CreateTaskCreated) IsClientError ¶
func (o *CreateTaskCreated) IsClientError() bool
IsClientError returns true when this create task created response has a 4xx status code
func (*CreateTaskCreated) IsCode ¶
func (o *CreateTaskCreated) IsCode(code int) bool
IsCode returns true when this create task created response a status code equal to that given
func (*CreateTaskCreated) IsRedirect ¶
func (o *CreateTaskCreated) IsRedirect() bool
IsRedirect returns true when this create task created response has a 3xx status code
func (*CreateTaskCreated) IsServerError ¶
func (o *CreateTaskCreated) IsServerError() bool
IsServerError returns true when this create task created response has a 5xx status code
func (*CreateTaskCreated) IsSuccess ¶
func (o *CreateTaskCreated) IsSuccess() bool
IsSuccess returns true when this create task created response has a 2xx status code
func (*CreateTaskCreated) String ¶
func (o *CreateTaskCreated) String() string
type CreateTaskDefault ¶
type CreateTaskDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
CreateTaskDefault describes a response with status code -1, with default header values.
Error response
func NewCreateTaskDefault ¶
func NewCreateTaskDefault(code int) *CreateTaskDefault
NewCreateTaskDefault creates a CreateTaskDefault with default headers values
func (*CreateTaskDefault) Code ¶
func (o *CreateTaskDefault) Code() int
Code gets the status code for the create task default response
func (*CreateTaskDefault) Error ¶
func (o *CreateTaskDefault) Error() string
func (*CreateTaskDefault) GetPayload ¶
func (o *CreateTaskDefault) GetPayload() *models.Error
func (*CreateTaskDefault) IsClientError ¶
func (o *CreateTaskDefault) IsClientError() bool
IsClientError returns true when this create task default response has a 4xx status code
func (*CreateTaskDefault) IsCode ¶
func (o *CreateTaskDefault) IsCode(code int) bool
IsCode returns true when this create task default response a status code equal to that given
func (*CreateTaskDefault) IsRedirect ¶
func (o *CreateTaskDefault) IsRedirect() bool
IsRedirect returns true when this create task default response has a 3xx status code
func (*CreateTaskDefault) IsServerError ¶
func (o *CreateTaskDefault) IsServerError() bool
IsServerError returns true when this create task default response has a 5xx status code
func (*CreateTaskDefault) IsSuccess ¶
func (o *CreateTaskDefault) IsSuccess() bool
IsSuccess returns true when this create task default response has a 2xx status code
func (*CreateTaskDefault) String ¶
func (o *CreateTaskDefault) String() string
type CreateTaskParams ¶
type CreateTaskParams struct { /* Body. The task to create */ Body *models.Task Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTaskParams contains all the parameters to send to the API endpoint
for the create task operation. Typically these are written to a http.Request.
func NewCreateTaskParams ¶
func NewCreateTaskParams() *CreateTaskParams
NewCreateTaskParams creates a new CreateTaskParams 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 NewCreateTaskParamsWithContext ¶
func NewCreateTaskParamsWithContext(ctx context.Context) *CreateTaskParams
NewCreateTaskParamsWithContext creates a new CreateTaskParams object with the ability to set a context for a request.
func NewCreateTaskParamsWithHTTPClient ¶
func NewCreateTaskParamsWithHTTPClient(client *http.Client) *CreateTaskParams
NewCreateTaskParamsWithHTTPClient creates a new CreateTaskParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTaskParamsWithTimeout ¶
func NewCreateTaskParamsWithTimeout(timeout time.Duration) *CreateTaskParams
NewCreateTaskParamsWithTimeout creates a new CreateTaskParams object with the ability to set a timeout on a request.
func (*CreateTaskParams) SetBody ¶
func (o *CreateTaskParams) SetBody(body *models.Task)
SetBody adds the body to the create task params
func (*CreateTaskParams) SetContext ¶
func (o *CreateTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the create task params
func (*CreateTaskParams) SetDefaults ¶
func (o *CreateTaskParams) SetDefaults()
SetDefaults hydrates default values in the create task params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTaskParams) SetHTTPClient ¶
func (o *CreateTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create task params
func (*CreateTaskParams) SetTimeout ¶
func (o *CreateTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create task params
func (*CreateTaskParams) WithBody ¶
func (o *CreateTaskParams) WithBody(body *models.Task) *CreateTaskParams
WithBody adds the body to the create task params
func (*CreateTaskParams) WithContext ¶
func (o *CreateTaskParams) WithContext(ctx context.Context) *CreateTaskParams
WithContext adds the context to the create task params
func (*CreateTaskParams) WithDefaults ¶
func (o *CreateTaskParams) WithDefaults() *CreateTaskParams
WithDefaults hydrates default values in the create task params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTaskParams) WithHTTPClient ¶
func (o *CreateTaskParams) WithHTTPClient(client *http.Client) *CreateTaskParams
WithHTTPClient adds the HTTPClient to the create task params
func (*CreateTaskParams) WithTimeout ¶
func (o *CreateTaskParams) WithTimeout(timeout time.Duration) *CreateTaskParams
WithTimeout adds the timeout to the create task params
func (*CreateTaskParams) WriteToRequest ¶
func (o *CreateTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTaskReader ¶
type CreateTaskReader struct {
// contains filtered or unexported fields
}
CreateTaskReader is a Reader for the CreateTask structure.
func (*CreateTaskReader) ReadResponse ¶
func (o *CreateTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTaskDefault ¶
type DeleteTaskDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
DeleteTaskDefault describes a response with status code -1, with default header values.
Error response
func NewDeleteTaskDefault ¶
func NewDeleteTaskDefault(code int) *DeleteTaskDefault
NewDeleteTaskDefault creates a DeleteTaskDefault with default headers values
func (*DeleteTaskDefault) Code ¶
func (o *DeleteTaskDefault) Code() int
Code gets the status code for the delete task default response
func (*DeleteTaskDefault) Error ¶
func (o *DeleteTaskDefault) Error() string
func (*DeleteTaskDefault) GetPayload ¶
func (o *DeleteTaskDefault) GetPayload() *models.Error
func (*DeleteTaskDefault) IsClientError ¶
func (o *DeleteTaskDefault) IsClientError() bool
IsClientError returns true when this delete task default response has a 4xx status code
func (*DeleteTaskDefault) IsCode ¶
func (o *DeleteTaskDefault) IsCode(code int) bool
IsCode returns true when this delete task default response a status code equal to that given
func (*DeleteTaskDefault) IsRedirect ¶
func (o *DeleteTaskDefault) IsRedirect() bool
IsRedirect returns true when this delete task default response has a 3xx status code
func (*DeleteTaskDefault) IsServerError ¶
func (o *DeleteTaskDefault) IsServerError() bool
IsServerError returns true when this delete task default response has a 5xx status code
func (*DeleteTaskDefault) IsSuccess ¶
func (o *DeleteTaskDefault) IsSuccess() bool
IsSuccess returns true when this delete task default response has a 2xx status code
func (*DeleteTaskDefault) String ¶
func (o *DeleteTaskDefault) String() string
type DeleteTaskNoContent ¶
type DeleteTaskNoContent struct { }
DeleteTaskNoContent describes a response with status code 204, with default header values.
Task deleted
func NewDeleteTaskNoContent ¶
func NewDeleteTaskNoContent() *DeleteTaskNoContent
NewDeleteTaskNoContent creates a DeleteTaskNoContent with default headers values
func (*DeleteTaskNoContent) Code ¶
func (o *DeleteTaskNoContent) Code() int
Code gets the status code for the delete task no content response
func (*DeleteTaskNoContent) Error ¶
func (o *DeleteTaskNoContent) Error() string
func (*DeleteTaskNoContent) IsClientError ¶
func (o *DeleteTaskNoContent) IsClientError() bool
IsClientError returns true when this delete task no content response has a 4xx status code
func (*DeleteTaskNoContent) IsCode ¶
func (o *DeleteTaskNoContent) IsCode(code int) bool
IsCode returns true when this delete task no content response a status code equal to that given
func (*DeleteTaskNoContent) IsRedirect ¶
func (o *DeleteTaskNoContent) IsRedirect() bool
IsRedirect returns true when this delete task no content response has a 3xx status code
func (*DeleteTaskNoContent) IsServerError ¶
func (o *DeleteTaskNoContent) IsServerError() bool
IsServerError returns true when this delete task no content response has a 5xx status code
func (*DeleteTaskNoContent) IsSuccess ¶
func (o *DeleteTaskNoContent) IsSuccess() bool
IsSuccess returns true when this delete task no content response has a 2xx status code
func (*DeleteTaskNoContent) String ¶
func (o *DeleteTaskNoContent) String() string
type DeleteTaskParams ¶
type DeleteTaskParams struct { /* ID. The id of the item Format: int64 */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTaskParams contains all the parameters to send to the API endpoint
for the delete task operation. Typically these are written to a http.Request.
func NewDeleteTaskParams ¶
func NewDeleteTaskParams() *DeleteTaskParams
NewDeleteTaskParams creates a new DeleteTaskParams 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 NewDeleteTaskParamsWithContext ¶
func NewDeleteTaskParamsWithContext(ctx context.Context) *DeleteTaskParams
NewDeleteTaskParamsWithContext creates a new DeleteTaskParams object with the ability to set a context for a request.
func NewDeleteTaskParamsWithHTTPClient ¶
func NewDeleteTaskParamsWithHTTPClient(client *http.Client) *DeleteTaskParams
NewDeleteTaskParamsWithHTTPClient creates a new DeleteTaskParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTaskParamsWithTimeout ¶
func NewDeleteTaskParamsWithTimeout(timeout time.Duration) *DeleteTaskParams
NewDeleteTaskParamsWithTimeout creates a new DeleteTaskParams object with the ability to set a timeout on a request.
func (*DeleteTaskParams) SetContext ¶
func (o *DeleteTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the delete task params
func (*DeleteTaskParams) SetDefaults ¶
func (o *DeleteTaskParams) SetDefaults()
SetDefaults hydrates default values in the delete task params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTaskParams) SetHTTPClient ¶
func (o *DeleteTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete task params
func (*DeleteTaskParams) SetID ¶
func (o *DeleteTaskParams) SetID(id int64)
SetID adds the id to the delete task params
func (*DeleteTaskParams) SetTimeout ¶
func (o *DeleteTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete task params
func (*DeleteTaskParams) WithContext ¶
func (o *DeleteTaskParams) WithContext(ctx context.Context) *DeleteTaskParams
WithContext adds the context to the delete task params
func (*DeleteTaskParams) WithDefaults ¶
func (o *DeleteTaskParams) WithDefaults() *DeleteTaskParams
WithDefaults hydrates default values in the delete task params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTaskParams) WithHTTPClient ¶
func (o *DeleteTaskParams) WithHTTPClient(client *http.Client) *DeleteTaskParams
WithHTTPClient adds the HTTPClient to the delete task params
func (*DeleteTaskParams) WithID ¶
func (o *DeleteTaskParams) WithID(id int64) *DeleteTaskParams
WithID adds the id to the delete task params
func (*DeleteTaskParams) WithTimeout ¶
func (o *DeleteTaskParams) WithTimeout(timeout time.Duration) *DeleteTaskParams
WithTimeout adds the timeout to the delete task params
func (*DeleteTaskParams) WriteToRequest ¶
func (o *DeleteTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTaskReader ¶
type DeleteTaskReader struct {
// contains filtered or unexported fields
}
DeleteTaskReader is a Reader for the DeleteTask structure.
func (*DeleteTaskReader) ReadResponse ¶
func (o *DeleteTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTaskCommentsDefault ¶
type GetTaskCommentsDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
GetTaskCommentsDefault describes a response with status code -1, with default header values.
Error response
func NewGetTaskCommentsDefault ¶
func NewGetTaskCommentsDefault(code int) *GetTaskCommentsDefault
NewGetTaskCommentsDefault creates a GetTaskCommentsDefault with default headers values
func (*GetTaskCommentsDefault) Code ¶
func (o *GetTaskCommentsDefault) Code() int
Code gets the status code for the get task comments default response
func (*GetTaskCommentsDefault) Error ¶
func (o *GetTaskCommentsDefault) Error() string
func (*GetTaskCommentsDefault) GetPayload ¶
func (o *GetTaskCommentsDefault) GetPayload() *models.Error
func (*GetTaskCommentsDefault) IsClientError ¶
func (o *GetTaskCommentsDefault) IsClientError() bool
IsClientError returns true when this get task comments default response has a 4xx status code
func (*GetTaskCommentsDefault) IsCode ¶
func (o *GetTaskCommentsDefault) IsCode(code int) bool
IsCode returns true when this get task comments default response a status code equal to that given
func (*GetTaskCommentsDefault) IsRedirect ¶
func (o *GetTaskCommentsDefault) IsRedirect() bool
IsRedirect returns true when this get task comments default response has a 3xx status code
func (*GetTaskCommentsDefault) IsServerError ¶
func (o *GetTaskCommentsDefault) IsServerError() bool
IsServerError returns true when this get task comments default response has a 5xx status code
func (*GetTaskCommentsDefault) IsSuccess ¶
func (o *GetTaskCommentsDefault) IsSuccess() bool
IsSuccess returns true when this get task comments default response has a 2xx status code
func (*GetTaskCommentsDefault) String ¶
func (o *GetTaskCommentsDefault) String() string
type GetTaskCommentsOK ¶
GetTaskCommentsOK describes a response with status code 200, with default header values.
The list of comments
func NewGetTaskCommentsOK ¶
func NewGetTaskCommentsOK() *GetTaskCommentsOK
NewGetTaskCommentsOK creates a GetTaskCommentsOK with default headers values
func (*GetTaskCommentsOK) Code ¶
func (o *GetTaskCommentsOK) Code() int
Code gets the status code for the get task comments o k response
func (*GetTaskCommentsOK) Error ¶
func (o *GetTaskCommentsOK) Error() string
func (*GetTaskCommentsOK) GetPayload ¶
func (o *GetTaskCommentsOK) GetPayload() []*models.Comment
func (*GetTaskCommentsOK) IsClientError ¶
func (o *GetTaskCommentsOK) IsClientError() bool
IsClientError returns true when this get task comments o k response has a 4xx status code
func (*GetTaskCommentsOK) IsCode ¶
func (o *GetTaskCommentsOK) IsCode(code int) bool
IsCode returns true when this get task comments o k response a status code equal to that given
func (*GetTaskCommentsOK) IsRedirect ¶
func (o *GetTaskCommentsOK) IsRedirect() bool
IsRedirect returns true when this get task comments o k response has a 3xx status code
func (*GetTaskCommentsOK) IsServerError ¶
func (o *GetTaskCommentsOK) IsServerError() bool
IsServerError returns true when this get task comments o k response has a 5xx status code
func (*GetTaskCommentsOK) IsSuccess ¶
func (o *GetTaskCommentsOK) IsSuccess() bool
IsSuccess returns true when this get task comments o k response has a 2xx status code
func (*GetTaskCommentsOK) String ¶
func (o *GetTaskCommentsOK) String() string
type GetTaskCommentsParams ¶
type GetTaskCommentsParams struct { /* ID. The id of the item Format: int64 */ ID int64 /* PageSize. Amount of items to return in a single page Format: int32 Default: 20 */ PageSize *int32 /* Since. The created time of the oldest seen comment Format: date-time */ Since *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTaskCommentsParams contains all the parameters to send to the API endpoint
for the get task comments operation. Typically these are written to a http.Request.
func NewGetTaskCommentsParams ¶
func NewGetTaskCommentsParams() *GetTaskCommentsParams
NewGetTaskCommentsParams creates a new GetTaskCommentsParams 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 NewGetTaskCommentsParamsWithContext ¶
func NewGetTaskCommentsParamsWithContext(ctx context.Context) *GetTaskCommentsParams
NewGetTaskCommentsParamsWithContext creates a new GetTaskCommentsParams object with the ability to set a context for a request.
func NewGetTaskCommentsParamsWithHTTPClient ¶
func NewGetTaskCommentsParamsWithHTTPClient(client *http.Client) *GetTaskCommentsParams
NewGetTaskCommentsParamsWithHTTPClient creates a new GetTaskCommentsParams object with the ability to set a custom HTTPClient for a request.
func NewGetTaskCommentsParamsWithTimeout ¶
func NewGetTaskCommentsParamsWithTimeout(timeout time.Duration) *GetTaskCommentsParams
NewGetTaskCommentsParamsWithTimeout creates a new GetTaskCommentsParams object with the ability to set a timeout on a request.
func (*GetTaskCommentsParams) SetContext ¶
func (o *GetTaskCommentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get task comments params
func (*GetTaskCommentsParams) SetDefaults ¶
func (o *GetTaskCommentsParams) SetDefaults()
SetDefaults hydrates default values in the get task comments params (not the query body).
All values with no default are reset to their zero value.
func (*GetTaskCommentsParams) SetHTTPClient ¶
func (o *GetTaskCommentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get task comments params
func (*GetTaskCommentsParams) SetID ¶
func (o *GetTaskCommentsParams) SetID(id int64)
SetID adds the id to the get task comments params
func (*GetTaskCommentsParams) SetPageSize ¶
func (o *GetTaskCommentsParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get task comments params
func (*GetTaskCommentsParams) SetSince ¶
func (o *GetTaskCommentsParams) SetSince(since *strfmt.DateTime)
SetSince adds the since to the get task comments params
func (*GetTaskCommentsParams) SetTimeout ¶
func (o *GetTaskCommentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get task comments params
func (*GetTaskCommentsParams) WithContext ¶
func (o *GetTaskCommentsParams) WithContext(ctx context.Context) *GetTaskCommentsParams
WithContext adds the context to the get task comments params
func (*GetTaskCommentsParams) WithDefaults ¶
func (o *GetTaskCommentsParams) WithDefaults() *GetTaskCommentsParams
WithDefaults hydrates default values in the get task comments params (not the query body).
All values with no default are reset to their zero value.
func (*GetTaskCommentsParams) WithHTTPClient ¶
func (o *GetTaskCommentsParams) WithHTTPClient(client *http.Client) *GetTaskCommentsParams
WithHTTPClient adds the HTTPClient to the get task comments params
func (*GetTaskCommentsParams) WithID ¶
func (o *GetTaskCommentsParams) WithID(id int64) *GetTaskCommentsParams
WithID adds the id to the get task comments params
func (*GetTaskCommentsParams) WithPageSize ¶
func (o *GetTaskCommentsParams) WithPageSize(pageSize *int32) *GetTaskCommentsParams
WithPageSize adds the pageSize to the get task comments params
func (*GetTaskCommentsParams) WithSince ¶
func (o *GetTaskCommentsParams) WithSince(since *strfmt.DateTime) *GetTaskCommentsParams
WithSince adds the since to the get task comments params
func (*GetTaskCommentsParams) WithTimeout ¶
func (o *GetTaskCommentsParams) WithTimeout(timeout time.Duration) *GetTaskCommentsParams
WithTimeout adds the timeout to the get task comments params
func (*GetTaskCommentsParams) WriteToRequest ¶
func (o *GetTaskCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTaskCommentsReader ¶
type GetTaskCommentsReader struct {
// contains filtered or unexported fields
}
GetTaskCommentsReader is a Reader for the GetTaskComments structure.
func (*GetTaskCommentsReader) ReadResponse ¶
func (o *GetTaskCommentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTaskDetailsDefault ¶
type GetTaskDetailsDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
GetTaskDetailsDefault describes a response with status code -1, with default header values.
Error response
func NewGetTaskDetailsDefault ¶
func NewGetTaskDetailsDefault(code int) *GetTaskDetailsDefault
NewGetTaskDetailsDefault creates a GetTaskDetailsDefault with default headers values
func (*GetTaskDetailsDefault) Code ¶
func (o *GetTaskDetailsDefault) Code() int
Code gets the status code for the get task details default response
func (*GetTaskDetailsDefault) Error ¶
func (o *GetTaskDetailsDefault) Error() string
func (*GetTaskDetailsDefault) GetPayload ¶
func (o *GetTaskDetailsDefault) GetPayload() *models.Error
func (*GetTaskDetailsDefault) IsClientError ¶
func (o *GetTaskDetailsDefault) IsClientError() bool
IsClientError returns true when this get task details default response has a 4xx status code
func (*GetTaskDetailsDefault) IsCode ¶
func (o *GetTaskDetailsDefault) IsCode(code int) bool
IsCode returns true when this get task details default response a status code equal to that given
func (*GetTaskDetailsDefault) IsRedirect ¶
func (o *GetTaskDetailsDefault) IsRedirect() bool
IsRedirect returns true when this get task details default response has a 3xx status code
func (*GetTaskDetailsDefault) IsServerError ¶
func (o *GetTaskDetailsDefault) IsServerError() bool
IsServerError returns true when this get task details default response has a 5xx status code
func (*GetTaskDetailsDefault) IsSuccess ¶
func (o *GetTaskDetailsDefault) IsSuccess() bool
IsSuccess returns true when this get task details default response has a 2xx status code
func (*GetTaskDetailsDefault) String ¶
func (o *GetTaskDetailsDefault) String() string
type GetTaskDetailsOK ¶
GetTaskDetailsOK describes a response with status code 200, with default header values.
Task details
func NewGetTaskDetailsOK ¶
func NewGetTaskDetailsOK() *GetTaskDetailsOK
NewGetTaskDetailsOK creates a GetTaskDetailsOK with default headers values
func (*GetTaskDetailsOK) Code ¶
func (o *GetTaskDetailsOK) Code() int
Code gets the status code for the get task details o k response
func (*GetTaskDetailsOK) Error ¶
func (o *GetTaskDetailsOK) Error() string
func (*GetTaskDetailsOK) GetPayload ¶
func (o *GetTaskDetailsOK) GetPayload() *models.Task
func (*GetTaskDetailsOK) IsClientError ¶
func (o *GetTaskDetailsOK) IsClientError() bool
IsClientError returns true when this get task details o k response has a 4xx status code
func (*GetTaskDetailsOK) IsCode ¶
func (o *GetTaskDetailsOK) IsCode(code int) bool
IsCode returns true when this get task details o k response a status code equal to that given
func (*GetTaskDetailsOK) IsRedirect ¶
func (o *GetTaskDetailsOK) IsRedirect() bool
IsRedirect returns true when this get task details o k response has a 3xx status code
func (*GetTaskDetailsOK) IsServerError ¶
func (o *GetTaskDetailsOK) IsServerError() bool
IsServerError returns true when this get task details o k response has a 5xx status code
func (*GetTaskDetailsOK) IsSuccess ¶
func (o *GetTaskDetailsOK) IsSuccess() bool
IsSuccess returns true when this get task details o k response has a 2xx status code
func (*GetTaskDetailsOK) String ¶
func (o *GetTaskDetailsOK) String() string
type GetTaskDetailsParams ¶
type GetTaskDetailsParams struct { /* ID. The id of the item Format: int64 */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTaskDetailsParams contains all the parameters to send to the API endpoint
for the get task details operation. Typically these are written to a http.Request.
func NewGetTaskDetailsParams ¶
func NewGetTaskDetailsParams() *GetTaskDetailsParams
NewGetTaskDetailsParams creates a new GetTaskDetailsParams 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 NewGetTaskDetailsParamsWithContext ¶
func NewGetTaskDetailsParamsWithContext(ctx context.Context) *GetTaskDetailsParams
NewGetTaskDetailsParamsWithContext creates a new GetTaskDetailsParams object with the ability to set a context for a request.
func NewGetTaskDetailsParamsWithHTTPClient ¶
func NewGetTaskDetailsParamsWithHTTPClient(client *http.Client) *GetTaskDetailsParams
NewGetTaskDetailsParamsWithHTTPClient creates a new GetTaskDetailsParams object with the ability to set a custom HTTPClient for a request.
func NewGetTaskDetailsParamsWithTimeout ¶
func NewGetTaskDetailsParamsWithTimeout(timeout time.Duration) *GetTaskDetailsParams
NewGetTaskDetailsParamsWithTimeout creates a new GetTaskDetailsParams object with the ability to set a timeout on a request.
func (*GetTaskDetailsParams) SetContext ¶
func (o *GetTaskDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the get task details params
func (*GetTaskDetailsParams) SetDefaults ¶
func (o *GetTaskDetailsParams) SetDefaults()
SetDefaults hydrates default values in the get task details params (not the query body).
All values with no default are reset to their zero value.
func (*GetTaskDetailsParams) SetHTTPClient ¶
func (o *GetTaskDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get task details params
func (*GetTaskDetailsParams) SetID ¶
func (o *GetTaskDetailsParams) SetID(id int64)
SetID adds the id to the get task details params
func (*GetTaskDetailsParams) SetTimeout ¶
func (o *GetTaskDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get task details params
func (*GetTaskDetailsParams) WithContext ¶
func (o *GetTaskDetailsParams) WithContext(ctx context.Context) *GetTaskDetailsParams
WithContext adds the context to the get task details params
func (*GetTaskDetailsParams) WithDefaults ¶
func (o *GetTaskDetailsParams) WithDefaults() *GetTaskDetailsParams
WithDefaults hydrates default values in the get task details params (not the query body).
All values with no default are reset to their zero value.
func (*GetTaskDetailsParams) WithHTTPClient ¶
func (o *GetTaskDetailsParams) WithHTTPClient(client *http.Client) *GetTaskDetailsParams
WithHTTPClient adds the HTTPClient to the get task details params
func (*GetTaskDetailsParams) WithID ¶
func (o *GetTaskDetailsParams) WithID(id int64) *GetTaskDetailsParams
WithID adds the id to the get task details params
func (*GetTaskDetailsParams) WithTimeout ¶
func (o *GetTaskDetailsParams) WithTimeout(timeout time.Duration) *GetTaskDetailsParams
WithTimeout adds the timeout to the get task details params
func (*GetTaskDetailsParams) WriteToRequest ¶
func (o *GetTaskDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTaskDetailsReader ¶
type GetTaskDetailsReader struct {
// contains filtered or unexported fields
}
GetTaskDetailsReader is a Reader for the GetTaskDetails structure.
func (*GetTaskDetailsReader) ReadResponse ¶
func (o *GetTaskDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTaskDetailsUnprocessableEntity ¶
type GetTaskDetailsUnprocessableEntity struct {
Payload *models.ValidationError
}
GetTaskDetailsUnprocessableEntity describes a response with status code 422, with default header values.
Validation error
func NewGetTaskDetailsUnprocessableEntity ¶
func NewGetTaskDetailsUnprocessableEntity() *GetTaskDetailsUnprocessableEntity
NewGetTaskDetailsUnprocessableEntity creates a GetTaskDetailsUnprocessableEntity with default headers values
func (*GetTaskDetailsUnprocessableEntity) Code ¶
func (o *GetTaskDetailsUnprocessableEntity) Code() int
Code gets the status code for the get task details unprocessable entity response
func (*GetTaskDetailsUnprocessableEntity) Error ¶
func (o *GetTaskDetailsUnprocessableEntity) Error() string
func (*GetTaskDetailsUnprocessableEntity) GetPayload ¶
func (o *GetTaskDetailsUnprocessableEntity) GetPayload() *models.ValidationError
func (*GetTaskDetailsUnprocessableEntity) IsClientError ¶
func (o *GetTaskDetailsUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get task details unprocessable entity response has a 4xx status code
func (*GetTaskDetailsUnprocessableEntity) IsCode ¶
func (o *GetTaskDetailsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get task details unprocessable entity response a status code equal to that given
func (*GetTaskDetailsUnprocessableEntity) IsRedirect ¶
func (o *GetTaskDetailsUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get task details unprocessable entity response has a 3xx status code
func (*GetTaskDetailsUnprocessableEntity) IsServerError ¶
func (o *GetTaskDetailsUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get task details unprocessable entity response has a 5xx status code
func (*GetTaskDetailsUnprocessableEntity) IsSuccess ¶
func (o *GetTaskDetailsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get task details unprocessable entity response has a 2xx status code
func (*GetTaskDetailsUnprocessableEntity) String ¶
func (o *GetTaskDetailsUnprocessableEntity) String() string
type ListTasksDefault ¶
type ListTasksDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
ListTasksDefault describes a response with status code -1, with default header values.
Error response
func NewListTasksDefault ¶
func NewListTasksDefault(code int) *ListTasksDefault
NewListTasksDefault creates a ListTasksDefault with default headers values
func (*ListTasksDefault) Code ¶
func (o *ListTasksDefault) Code() int
Code gets the status code for the list tasks default response
func (*ListTasksDefault) Error ¶
func (o *ListTasksDefault) Error() string
func (*ListTasksDefault) GetPayload ¶
func (o *ListTasksDefault) GetPayload() *models.Error
func (*ListTasksDefault) IsClientError ¶
func (o *ListTasksDefault) IsClientError() bool
IsClientError returns true when this list tasks default response has a 4xx status code
func (*ListTasksDefault) IsCode ¶
func (o *ListTasksDefault) IsCode(code int) bool
IsCode returns true when this list tasks default response a status code equal to that given
func (*ListTasksDefault) IsRedirect ¶
func (o *ListTasksDefault) IsRedirect() bool
IsRedirect returns true when this list tasks default response has a 3xx status code
func (*ListTasksDefault) IsServerError ¶
func (o *ListTasksDefault) IsServerError() bool
IsServerError returns true when this list tasks default response has a 5xx status code
func (*ListTasksDefault) IsSuccess ¶
func (o *ListTasksDefault) IsSuccess() bool
IsSuccess returns true when this list tasks default response has a 2xx status code
func (*ListTasksDefault) String ¶
func (o *ListTasksDefault) String() string
type ListTasksOK ¶
type ListTasksOK struct { /* the last task id known to the application Format: int64 */ XLastTaskID int64 Payload []*models.TaskCard }
ListTasksOK describes a response with status code 200, with default header values.
Successful response
func NewListTasksOK ¶
func NewListTasksOK() *ListTasksOK
NewListTasksOK creates a ListTasksOK with default headers values
func (*ListTasksOK) Code ¶
func (o *ListTasksOK) Code() int
Code gets the status code for the list tasks o k response
func (*ListTasksOK) Error ¶
func (o *ListTasksOK) Error() string
func (*ListTasksOK) GetPayload ¶
func (o *ListTasksOK) GetPayload() []*models.TaskCard
func (*ListTasksOK) IsClientError ¶
func (o *ListTasksOK) IsClientError() bool
IsClientError returns true when this list tasks o k response has a 4xx status code
func (*ListTasksOK) IsCode ¶
func (o *ListTasksOK) IsCode(code int) bool
IsCode returns true when this list tasks o k response a status code equal to that given
func (*ListTasksOK) IsRedirect ¶
func (o *ListTasksOK) IsRedirect() bool
IsRedirect returns true when this list tasks o k response has a 3xx status code
func (*ListTasksOK) IsServerError ¶
func (o *ListTasksOK) IsServerError() bool
IsServerError returns true when this list tasks o k response has a 5xx status code
func (*ListTasksOK) IsSuccess ¶
func (o *ListTasksOK) IsSuccess() bool
IsSuccess returns true when this list tasks o k response has a 2xx status code
func (*ListTasksOK) String ¶
func (o *ListTasksOK) String() string
type ListTasksParams ¶
type ListTasksParams struct { /* PageSize. Amount of items to return in a single page Format: int32 Default: 20 */ PageSize *int32 /* SinceID. The last id that was seen. Format: int64 */ SinceID *int64 /* Status. the status to filter by */ Status []string /* Tags. the tags to filter by */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTasksParams contains all the parameters to send to the API endpoint
for the list tasks operation. Typically these are written to a http.Request.
func NewListTasksParams ¶
func NewListTasksParams() *ListTasksParams
NewListTasksParams creates a new ListTasksParams 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 NewListTasksParamsWithContext ¶
func NewListTasksParamsWithContext(ctx context.Context) *ListTasksParams
NewListTasksParamsWithContext creates a new ListTasksParams object with the ability to set a context for a request.
func NewListTasksParamsWithHTTPClient ¶
func NewListTasksParamsWithHTTPClient(client *http.Client) *ListTasksParams
NewListTasksParamsWithHTTPClient creates a new ListTasksParams object with the ability to set a custom HTTPClient for a request.
func NewListTasksParamsWithTimeout ¶
func NewListTasksParamsWithTimeout(timeout time.Duration) *ListTasksParams
NewListTasksParamsWithTimeout creates a new ListTasksParams object with the ability to set a timeout on a request.
func (*ListTasksParams) SetContext ¶
func (o *ListTasksParams) SetContext(ctx context.Context)
SetContext adds the context to the list tasks params
func (*ListTasksParams) SetDefaults ¶
func (o *ListTasksParams) SetDefaults()
SetDefaults hydrates default values in the list tasks params (not the query body).
All values with no default are reset to their zero value.
func (*ListTasksParams) SetHTTPClient ¶
func (o *ListTasksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list tasks params
func (*ListTasksParams) SetPageSize ¶
func (o *ListTasksParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the list tasks params
func (*ListTasksParams) SetSinceID ¶
func (o *ListTasksParams) SetSinceID(sinceID *int64)
SetSinceID adds the sinceId to the list tasks params
func (*ListTasksParams) SetStatus ¶
func (o *ListTasksParams) SetStatus(status []string)
SetStatus adds the status to the list tasks params
func (*ListTasksParams) SetTags ¶
func (o *ListTasksParams) SetTags(tags []string)
SetTags adds the tags to the list tasks params
func (*ListTasksParams) SetTimeout ¶
func (o *ListTasksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list tasks params
func (*ListTasksParams) WithContext ¶
func (o *ListTasksParams) WithContext(ctx context.Context) *ListTasksParams
WithContext adds the context to the list tasks params
func (*ListTasksParams) WithDefaults ¶
func (o *ListTasksParams) WithDefaults() *ListTasksParams
WithDefaults hydrates default values in the list tasks params (not the query body).
All values with no default are reset to their zero value.
func (*ListTasksParams) WithHTTPClient ¶
func (o *ListTasksParams) WithHTTPClient(client *http.Client) *ListTasksParams
WithHTTPClient adds the HTTPClient to the list tasks params
func (*ListTasksParams) WithPageSize ¶
func (o *ListTasksParams) WithPageSize(pageSize *int32) *ListTasksParams
WithPageSize adds the pageSize to the list tasks params
func (*ListTasksParams) WithSinceID ¶
func (o *ListTasksParams) WithSinceID(sinceID *int64) *ListTasksParams
WithSinceID adds the sinceID to the list tasks params
func (*ListTasksParams) WithStatus ¶
func (o *ListTasksParams) WithStatus(status []string) *ListTasksParams
WithStatus adds the status to the list tasks params
func (*ListTasksParams) WithTags ¶
func (o *ListTasksParams) WithTags(tags []string) *ListTasksParams
WithTags adds the tags to the list tasks params
func (*ListTasksParams) WithTimeout ¶
func (o *ListTasksParams) WithTimeout(timeout time.Duration) *ListTasksParams
WithTimeout adds the timeout to the list tasks params
func (*ListTasksParams) WriteToRequest ¶
func (o *ListTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTasksReader ¶
type ListTasksReader struct {
// contains filtered or unexported fields
}
ListTasksReader is a Reader for the ListTasks structure.
func (*ListTasksReader) ReadResponse ¶
func (o *ListTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTasksUnprocessableEntity ¶
type ListTasksUnprocessableEntity struct {
Payload *models.ValidationError
}
ListTasksUnprocessableEntity describes a response with status code 422, with default header values.
Validation error
func NewListTasksUnprocessableEntity ¶
func NewListTasksUnprocessableEntity() *ListTasksUnprocessableEntity
NewListTasksUnprocessableEntity creates a ListTasksUnprocessableEntity with default headers values
func (*ListTasksUnprocessableEntity) Code ¶
func (o *ListTasksUnprocessableEntity) Code() int
Code gets the status code for the list tasks unprocessable entity response
func (*ListTasksUnprocessableEntity) Error ¶
func (o *ListTasksUnprocessableEntity) Error() string
func (*ListTasksUnprocessableEntity) GetPayload ¶
func (o *ListTasksUnprocessableEntity) GetPayload() *models.ValidationError
func (*ListTasksUnprocessableEntity) IsClientError ¶
func (o *ListTasksUnprocessableEntity) IsClientError() bool
IsClientError returns true when this list tasks unprocessable entity response has a 4xx status code
func (*ListTasksUnprocessableEntity) IsCode ¶
func (o *ListTasksUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this list tasks unprocessable entity response a status code equal to that given
func (*ListTasksUnprocessableEntity) IsRedirect ¶
func (o *ListTasksUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this list tasks unprocessable entity response has a 3xx status code
func (*ListTasksUnprocessableEntity) IsServerError ¶
func (o *ListTasksUnprocessableEntity) IsServerError() bool
IsServerError returns true when this list tasks unprocessable entity response has a 5xx status code
func (*ListTasksUnprocessableEntity) IsSuccess ¶
func (o *ListTasksUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this list tasks unprocessable entity response has a 2xx status code
func (*ListTasksUnprocessableEntity) String ¶
func (o *ListTasksUnprocessableEntity) String() string
type UpdateTaskDefault ¶
type UpdateTaskDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
UpdateTaskDefault describes a response with status code -1, with default header values.
Error response
func NewUpdateTaskDefault ¶
func NewUpdateTaskDefault(code int) *UpdateTaskDefault
NewUpdateTaskDefault creates a UpdateTaskDefault with default headers values
func (*UpdateTaskDefault) Code ¶
func (o *UpdateTaskDefault) Code() int
Code gets the status code for the update task default response
func (*UpdateTaskDefault) Error ¶
func (o *UpdateTaskDefault) Error() string
func (*UpdateTaskDefault) GetPayload ¶
func (o *UpdateTaskDefault) GetPayload() *models.Error
func (*UpdateTaskDefault) IsClientError ¶
func (o *UpdateTaskDefault) IsClientError() bool
IsClientError returns true when this update task default response has a 4xx status code
func (*UpdateTaskDefault) IsCode ¶
func (o *UpdateTaskDefault) IsCode(code int) bool
IsCode returns true when this update task default response a status code equal to that given
func (*UpdateTaskDefault) IsRedirect ¶
func (o *UpdateTaskDefault) IsRedirect() bool
IsRedirect returns true when this update task default response has a 3xx status code
func (*UpdateTaskDefault) IsServerError ¶
func (o *UpdateTaskDefault) IsServerError() bool
IsServerError returns true when this update task default response has a 5xx status code
func (*UpdateTaskDefault) IsSuccess ¶
func (o *UpdateTaskDefault) IsSuccess() bool
IsSuccess returns true when this update task default response has a 2xx status code
func (*UpdateTaskDefault) String ¶
func (o *UpdateTaskDefault) String() string
type UpdateTaskOK ¶
UpdateTaskOK describes a response with status code 200, with default header values.
Task details
func NewUpdateTaskOK ¶
func NewUpdateTaskOK() *UpdateTaskOK
NewUpdateTaskOK creates a UpdateTaskOK with default headers values
func (*UpdateTaskOK) Code ¶
func (o *UpdateTaskOK) Code() int
Code gets the status code for the update task o k response
func (*UpdateTaskOK) Error ¶
func (o *UpdateTaskOK) Error() string
func (*UpdateTaskOK) GetPayload ¶
func (o *UpdateTaskOK) GetPayload() *models.Task
func (*UpdateTaskOK) IsClientError ¶
func (o *UpdateTaskOK) IsClientError() bool
IsClientError returns true when this update task o k response has a 4xx status code
func (*UpdateTaskOK) IsCode ¶
func (o *UpdateTaskOK) IsCode(code int) bool
IsCode returns true when this update task o k response a status code equal to that given
func (*UpdateTaskOK) IsRedirect ¶
func (o *UpdateTaskOK) IsRedirect() bool
IsRedirect returns true when this update task o k response has a 3xx status code
func (*UpdateTaskOK) IsServerError ¶
func (o *UpdateTaskOK) IsServerError() bool
IsServerError returns true when this update task o k response has a 5xx status code
func (*UpdateTaskOK) IsSuccess ¶
func (o *UpdateTaskOK) IsSuccess() bool
IsSuccess returns true when this update task o k response has a 2xx status code
func (*UpdateTaskOK) String ¶
func (o *UpdateTaskOK) String() string
type UpdateTaskParams ¶
type UpdateTaskParams struct { /* Body. The task to update */ Body *models.Task /* ID. The id of the item Format: int64 */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateTaskParams contains all the parameters to send to the API endpoint
for the update task operation. Typically these are written to a http.Request.
func NewUpdateTaskParams ¶
func NewUpdateTaskParams() *UpdateTaskParams
NewUpdateTaskParams creates a new UpdateTaskParams 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 NewUpdateTaskParamsWithContext ¶
func NewUpdateTaskParamsWithContext(ctx context.Context) *UpdateTaskParams
NewUpdateTaskParamsWithContext creates a new UpdateTaskParams object with the ability to set a context for a request.
func NewUpdateTaskParamsWithHTTPClient ¶
func NewUpdateTaskParamsWithHTTPClient(client *http.Client) *UpdateTaskParams
NewUpdateTaskParamsWithHTTPClient creates a new UpdateTaskParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateTaskParamsWithTimeout ¶
func NewUpdateTaskParamsWithTimeout(timeout time.Duration) *UpdateTaskParams
NewUpdateTaskParamsWithTimeout creates a new UpdateTaskParams object with the ability to set a timeout on a request.
func (*UpdateTaskParams) SetBody ¶
func (o *UpdateTaskParams) SetBody(body *models.Task)
SetBody adds the body to the update task params
func (*UpdateTaskParams) SetContext ¶
func (o *UpdateTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the update task params
func (*UpdateTaskParams) SetDefaults ¶
func (o *UpdateTaskParams) SetDefaults()
SetDefaults hydrates default values in the update task params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTaskParams) SetHTTPClient ¶
func (o *UpdateTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update task params
func (*UpdateTaskParams) SetID ¶
func (o *UpdateTaskParams) SetID(id int64)
SetID adds the id to the update task params
func (*UpdateTaskParams) SetTimeout ¶
func (o *UpdateTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update task params
func (*UpdateTaskParams) WithBody ¶
func (o *UpdateTaskParams) WithBody(body *models.Task) *UpdateTaskParams
WithBody adds the body to the update task params
func (*UpdateTaskParams) WithContext ¶
func (o *UpdateTaskParams) WithContext(ctx context.Context) *UpdateTaskParams
WithContext adds the context to the update task params
func (*UpdateTaskParams) WithDefaults ¶
func (o *UpdateTaskParams) WithDefaults() *UpdateTaskParams
WithDefaults hydrates default values in the update task params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTaskParams) WithHTTPClient ¶
func (o *UpdateTaskParams) WithHTTPClient(client *http.Client) *UpdateTaskParams
WithHTTPClient adds the HTTPClient to the update task params
func (*UpdateTaskParams) WithID ¶
func (o *UpdateTaskParams) WithID(id int64) *UpdateTaskParams
WithID adds the id to the update task params
func (*UpdateTaskParams) WithTimeout ¶
func (o *UpdateTaskParams) WithTimeout(timeout time.Duration) *UpdateTaskParams
WithTimeout adds the timeout to the update task params
func (*UpdateTaskParams) WriteToRequest ¶
func (o *UpdateTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTaskReader ¶
type UpdateTaskReader struct {
// contains filtered or unexported fields
}
UpdateTaskReader is a Reader for the UpdateTask structure.
func (*UpdateTaskReader) ReadResponse ¶
func (o *UpdateTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateTaskUnprocessableEntity ¶
type UpdateTaskUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateTaskUnprocessableEntity describes a response with status code 422, with default header values.
Validation error
func NewUpdateTaskUnprocessableEntity ¶
func NewUpdateTaskUnprocessableEntity() *UpdateTaskUnprocessableEntity
NewUpdateTaskUnprocessableEntity creates a UpdateTaskUnprocessableEntity with default headers values
func (*UpdateTaskUnprocessableEntity) Code ¶
func (o *UpdateTaskUnprocessableEntity) Code() int
Code gets the status code for the update task unprocessable entity response
func (*UpdateTaskUnprocessableEntity) Error ¶
func (o *UpdateTaskUnprocessableEntity) Error() string
func (*UpdateTaskUnprocessableEntity) GetPayload ¶
func (o *UpdateTaskUnprocessableEntity) GetPayload() *models.ValidationError
func (*UpdateTaskUnprocessableEntity) IsClientError ¶
func (o *UpdateTaskUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update task unprocessable entity response has a 4xx status code
func (*UpdateTaskUnprocessableEntity) IsCode ¶
func (o *UpdateTaskUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update task unprocessable entity response a status code equal to that given
func (*UpdateTaskUnprocessableEntity) IsRedirect ¶
func (o *UpdateTaskUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update task unprocessable entity response has a 3xx status code
func (*UpdateTaskUnprocessableEntity) IsServerError ¶
func (o *UpdateTaskUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update task unprocessable entity response has a 5xx status code
func (*UpdateTaskUnprocessableEntity) IsSuccess ¶
func (o *UpdateTaskUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update task unprocessable entity response has a 2xx status code
func (*UpdateTaskUnprocessableEntity) String ¶
func (o *UpdateTaskUnprocessableEntity) String() string
type UploadTaskFileCreated ¶
type UploadTaskFileCreated struct { }
UploadTaskFileCreated describes a response with status code 201, with default header values.
File added
func NewUploadTaskFileCreated ¶
func NewUploadTaskFileCreated() *UploadTaskFileCreated
NewUploadTaskFileCreated creates a UploadTaskFileCreated with default headers values
func (*UploadTaskFileCreated) Code ¶
func (o *UploadTaskFileCreated) Code() int
Code gets the status code for the upload task file created response
func (*UploadTaskFileCreated) Error ¶
func (o *UploadTaskFileCreated) Error() string
func (*UploadTaskFileCreated) IsClientError ¶
func (o *UploadTaskFileCreated) IsClientError() bool
IsClientError returns true when this upload task file created response has a 4xx status code
func (*UploadTaskFileCreated) IsCode ¶
func (o *UploadTaskFileCreated) IsCode(code int) bool
IsCode returns true when this upload task file created response a status code equal to that given
func (*UploadTaskFileCreated) IsRedirect ¶
func (o *UploadTaskFileCreated) IsRedirect() bool
IsRedirect returns true when this upload task file created response has a 3xx status code
func (*UploadTaskFileCreated) IsServerError ¶
func (o *UploadTaskFileCreated) IsServerError() bool
IsServerError returns true when this upload task file created response has a 5xx status code
func (*UploadTaskFileCreated) IsSuccess ¶
func (o *UploadTaskFileCreated) IsSuccess() bool
IsSuccess returns true when this upload task file created response has a 2xx status code
func (*UploadTaskFileCreated) String ¶
func (o *UploadTaskFileCreated) String() string
type UploadTaskFileDefault ¶
type UploadTaskFileDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
UploadTaskFileDefault describes a response with status code -1, with default header values.
Error response
func NewUploadTaskFileDefault ¶
func NewUploadTaskFileDefault(code int) *UploadTaskFileDefault
NewUploadTaskFileDefault creates a UploadTaskFileDefault with default headers values
func (*UploadTaskFileDefault) Code ¶
func (o *UploadTaskFileDefault) Code() int
Code gets the status code for the upload task file default response
func (*UploadTaskFileDefault) Error ¶
func (o *UploadTaskFileDefault) Error() string
func (*UploadTaskFileDefault) GetPayload ¶
func (o *UploadTaskFileDefault) GetPayload() *models.Error
func (*UploadTaskFileDefault) IsClientError ¶
func (o *UploadTaskFileDefault) IsClientError() bool
IsClientError returns true when this upload task file default response has a 4xx status code
func (*UploadTaskFileDefault) IsCode ¶
func (o *UploadTaskFileDefault) IsCode(code int) bool
IsCode returns true when this upload task file default response a status code equal to that given
func (*UploadTaskFileDefault) IsRedirect ¶
func (o *UploadTaskFileDefault) IsRedirect() bool
IsRedirect returns true when this upload task file default response has a 3xx status code
func (*UploadTaskFileDefault) IsServerError ¶
func (o *UploadTaskFileDefault) IsServerError() bool
IsServerError returns true when this upload task file default response has a 5xx status code
func (*UploadTaskFileDefault) IsSuccess ¶
func (o *UploadTaskFileDefault) IsSuccess() bool
IsSuccess returns true when this upload task file default response has a 2xx status code
func (*UploadTaskFileDefault) String ¶
func (o *UploadTaskFileDefault) String() string
type UploadTaskFileParams ¶
type UploadTaskFileParams struct { /* Description. Extra information describing the file */ Description *string /* File. The file to upload */ File runtime.NamedReadCloser /* ID. The id of the item Format: int64 */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadTaskFileParams contains all the parameters to send to the API endpoint
for the upload task file operation. Typically these are written to a http.Request.
func NewUploadTaskFileParams ¶
func NewUploadTaskFileParams() *UploadTaskFileParams
NewUploadTaskFileParams creates a new UploadTaskFileParams 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 NewUploadTaskFileParamsWithContext ¶
func NewUploadTaskFileParamsWithContext(ctx context.Context) *UploadTaskFileParams
NewUploadTaskFileParamsWithContext creates a new UploadTaskFileParams object with the ability to set a context for a request.
func NewUploadTaskFileParamsWithHTTPClient ¶
func NewUploadTaskFileParamsWithHTTPClient(client *http.Client) *UploadTaskFileParams
NewUploadTaskFileParamsWithHTTPClient creates a new UploadTaskFileParams object with the ability to set a custom HTTPClient for a request.
func NewUploadTaskFileParamsWithTimeout ¶
func NewUploadTaskFileParamsWithTimeout(timeout time.Duration) *UploadTaskFileParams
NewUploadTaskFileParamsWithTimeout creates a new UploadTaskFileParams object with the ability to set a timeout on a request.
func (*UploadTaskFileParams) SetContext ¶
func (o *UploadTaskFileParams) SetContext(ctx context.Context)
SetContext adds the context to the upload task file params
func (*UploadTaskFileParams) SetDefaults ¶
func (o *UploadTaskFileParams) SetDefaults()
SetDefaults hydrates default values in the upload task file params (not the query body).
All values with no default are reset to their zero value.
func (*UploadTaskFileParams) SetDescription ¶
func (o *UploadTaskFileParams) SetDescription(description *string)
SetDescription adds the description to the upload task file params
func (*UploadTaskFileParams) SetFile ¶
func (o *UploadTaskFileParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the upload task file params
func (*UploadTaskFileParams) SetHTTPClient ¶
func (o *UploadTaskFileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload task file params
func (*UploadTaskFileParams) SetID ¶
func (o *UploadTaskFileParams) SetID(id int64)
SetID adds the id to the upload task file params
func (*UploadTaskFileParams) SetTimeout ¶
func (o *UploadTaskFileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload task file params
func (*UploadTaskFileParams) WithContext ¶
func (o *UploadTaskFileParams) WithContext(ctx context.Context) *UploadTaskFileParams
WithContext adds the context to the upload task file params
func (*UploadTaskFileParams) WithDefaults ¶
func (o *UploadTaskFileParams) WithDefaults() *UploadTaskFileParams
WithDefaults hydrates default values in the upload task file params (not the query body).
All values with no default are reset to their zero value.
func (*UploadTaskFileParams) WithDescription ¶
func (o *UploadTaskFileParams) WithDescription(description *string) *UploadTaskFileParams
WithDescription adds the description to the upload task file params
func (*UploadTaskFileParams) WithFile ¶
func (o *UploadTaskFileParams) WithFile(file runtime.NamedReadCloser) *UploadTaskFileParams
WithFile adds the file to the upload task file params
func (*UploadTaskFileParams) WithHTTPClient ¶
func (o *UploadTaskFileParams) WithHTTPClient(client *http.Client) *UploadTaskFileParams
WithHTTPClient adds the HTTPClient to the upload task file params
func (*UploadTaskFileParams) WithID ¶
func (o *UploadTaskFileParams) WithID(id int64) *UploadTaskFileParams
WithID adds the id to the upload task file params
func (*UploadTaskFileParams) WithTimeout ¶
func (o *UploadTaskFileParams) WithTimeout(timeout time.Duration) *UploadTaskFileParams
WithTimeout adds the timeout to the upload task file params
func (*UploadTaskFileParams) WriteToRequest ¶
func (o *UploadTaskFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadTaskFileReader ¶
type UploadTaskFileReader struct {
// contains filtered or unexported fields
}
UploadTaskFileReader is a Reader for the UploadTaskFile structure.
func (*UploadTaskFileReader) ReadResponse ¶
func (o *UploadTaskFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- add_comment_to_task_parameters.go
- add_comment_to_task_responses.go
- create_task_parameters.go
- create_task_responses.go
- delete_task_parameters.go
- delete_task_responses.go
- get_task_comments_parameters.go
- get_task_comments_responses.go
- get_task_details_parameters.go
- get_task_details_responses.go
- list_tasks_parameters.go
- list_tasks_responses.go
- tasks_client.go
- update_task_parameters.go
- update_task_responses.go
- upload_task_file_parameters.go
- upload_task_file_responses.go