Versions in this module Expand all Collapse all v0 v0.19.0 Mar 20, 2019 v0.18.0 Dec 22, 2018 v0.17.2 Oct 25, 2018 v0.17.1 Oct 22, 2018 v0.17.0 Oct 7, 2018 Changes in this version + const AddCommentToTaskCreatedCode + const CreateTaskCreatedCode + const DeleteTaskNoContentCode + const GetTaskCommentsOKCode + const GetTaskDetailsOKCode + const GetTaskDetailsUnprocessableEntityCode + const ListTasksOKCode + const ListTasksUnprocessableEntityCode + const UpdateTaskOKCode + const UpdateTaskUnprocessableEntityCode + const UploadTaskFileCreatedCode + type AddCommentToTask struct + Context *middleware.Context + Handler AddCommentToTaskHandler + func NewAddCommentToTask(ctx *middleware.Context, handler AddCommentToTaskHandler) *AddCommentToTask + func (o *AddCommentToTask) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type AddCommentToTaskBody struct + Content *string + UserID *int64 + func (o *AddCommentToTaskBody) MarshalBinary() ([]byte, error) + func (o *AddCommentToTaskBody) UnmarshalBinary(b []byte) error + func (o *AddCommentToTaskBody) Validate(formats strfmt.Registry) error + type AddCommentToTaskCreated struct + func NewAddCommentToTaskCreated() *AddCommentToTaskCreated + func (o *AddCommentToTaskCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type AddCommentToTaskDefault struct + Payload *models.Error + XErrorCode string + func NewAddCommentToTaskDefault(code int) *AddCommentToTaskDefault + func (o *AddCommentToTaskDefault) SetPayload(payload *models.Error) + func (o *AddCommentToTaskDefault) SetStatusCode(code int) + func (o *AddCommentToTaskDefault) SetXErrorCode(xErrorCode string) + func (o *AddCommentToTaskDefault) WithPayload(payload *models.Error) *AddCommentToTaskDefault + func (o *AddCommentToTaskDefault) WithStatusCode(code int) *AddCommentToTaskDefault + func (o *AddCommentToTaskDefault) WithXErrorCode(xErrorCode string) *AddCommentToTaskDefault + func (o *AddCommentToTaskDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type AddCommentToTaskHandler interface + Handle func(AddCommentToTaskParams, interface{}) middleware.Responder + type AddCommentToTaskHandlerFunc func(AddCommentToTaskParams, interface{}) middleware.Responder + func (fn AddCommentToTaskHandlerFunc) Handle(params AddCommentToTaskParams, principal interface{}) middleware.Responder + type AddCommentToTaskParams struct + Body AddCommentToTaskBody + HTTPRequest *http.Request + ID int64 + func NewAddCommentToTaskParams() AddCommentToTaskParams + func (o *AddCommentToTaskParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type AddCommentToTaskURL struct + ID int64 + func (o *AddCommentToTaskURL) Build() (*url.URL, error) + func (o *AddCommentToTaskURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *AddCommentToTaskURL) Must(u *url.URL, err error) *url.URL + func (o *AddCommentToTaskURL) SetBasePath(bp string) + func (o *AddCommentToTaskURL) String() string + func (o *AddCommentToTaskURL) StringFull(scheme, host string) string + func (o *AddCommentToTaskURL) WithBasePath(bp string) *AddCommentToTaskURL + type CreateTask struct + Context *middleware.Context + Handler CreateTaskHandler + func NewCreateTask(ctx *middleware.Context, handler CreateTaskHandler) *CreateTask + func (o *CreateTask) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type CreateTaskCreated struct + func NewCreateTaskCreated() *CreateTaskCreated + func (o *CreateTaskCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type CreateTaskDefault struct + Payload *models.Error + XErrorCode string + func NewCreateTaskDefault(code int) *CreateTaskDefault + func (o *CreateTaskDefault) SetPayload(payload *models.Error) + func (o *CreateTaskDefault) SetStatusCode(code int) + func (o *CreateTaskDefault) SetXErrorCode(xErrorCode string) + func (o *CreateTaskDefault) WithPayload(payload *models.Error) *CreateTaskDefault + func (o *CreateTaskDefault) WithStatusCode(code int) *CreateTaskDefault + func (o *CreateTaskDefault) WithXErrorCode(xErrorCode string) *CreateTaskDefault + func (o *CreateTaskDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type CreateTaskHandler interface + Handle func(CreateTaskParams, interface{}) middleware.Responder + type CreateTaskHandlerFunc func(CreateTaskParams, interface{}) middleware.Responder + func (fn CreateTaskHandlerFunc) Handle(params CreateTaskParams, principal interface{}) middleware.Responder + type CreateTaskParams struct + Body *models.Task + HTTPRequest *http.Request + func NewCreateTaskParams() CreateTaskParams + func (o *CreateTaskParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type CreateTaskURL struct + func (o *CreateTaskURL) Build() (*url.URL, error) + func (o *CreateTaskURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *CreateTaskURL) Must(u *url.URL, err error) *url.URL + func (o *CreateTaskURL) SetBasePath(bp string) + func (o *CreateTaskURL) String() string + func (o *CreateTaskURL) StringFull(scheme, host string) string + func (o *CreateTaskURL) WithBasePath(bp string) *CreateTaskURL + type DeleteTask struct + Context *middleware.Context + Handler DeleteTaskHandler + func NewDeleteTask(ctx *middleware.Context, handler DeleteTaskHandler) *DeleteTask + func (o *DeleteTask) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type DeleteTaskDefault struct + Payload *models.Error + XErrorCode string + func NewDeleteTaskDefault(code int) *DeleteTaskDefault + func (o *DeleteTaskDefault) SetPayload(payload *models.Error) + func (o *DeleteTaskDefault) SetStatusCode(code int) + func (o *DeleteTaskDefault) SetXErrorCode(xErrorCode string) + func (o *DeleteTaskDefault) WithPayload(payload *models.Error) *DeleteTaskDefault + func (o *DeleteTaskDefault) WithStatusCode(code int) *DeleteTaskDefault + func (o *DeleteTaskDefault) WithXErrorCode(xErrorCode string) *DeleteTaskDefault + func (o *DeleteTaskDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type DeleteTaskHandler interface + Handle func(DeleteTaskParams, interface{}) middleware.Responder + type DeleteTaskHandlerFunc func(DeleteTaskParams, interface{}) middleware.Responder + func (fn DeleteTaskHandlerFunc) Handle(params DeleteTaskParams, principal interface{}) middleware.Responder + type DeleteTaskNoContent struct + func NewDeleteTaskNoContent() *DeleteTaskNoContent + func (o *DeleteTaskNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type DeleteTaskParams struct + HTTPRequest *http.Request + ID int64 + func NewDeleteTaskParams() DeleteTaskParams + func (o *DeleteTaskParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type DeleteTaskURL struct + ID int64 + func (o *DeleteTaskURL) Build() (*url.URL, error) + func (o *DeleteTaskURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *DeleteTaskURL) Must(u *url.URL, err error) *url.URL + func (o *DeleteTaskURL) SetBasePath(bp string) + func (o *DeleteTaskURL) String() string + func (o *DeleteTaskURL) StringFull(scheme, host string) string + func (o *DeleteTaskURL) WithBasePath(bp string) *DeleteTaskURL + type GetTaskComments struct + Context *middleware.Context + Handler GetTaskCommentsHandler + func NewGetTaskComments(ctx *middleware.Context, handler GetTaskCommentsHandler) *GetTaskComments + func (o *GetTaskComments) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type GetTaskCommentsDefault struct + Payload *models.Error + XErrorCode string + func NewGetTaskCommentsDefault(code int) *GetTaskCommentsDefault + func (o *GetTaskCommentsDefault) SetPayload(payload *models.Error) + func (o *GetTaskCommentsDefault) SetStatusCode(code int) + func (o *GetTaskCommentsDefault) SetXErrorCode(xErrorCode string) + func (o *GetTaskCommentsDefault) WithPayload(payload *models.Error) *GetTaskCommentsDefault + func (o *GetTaskCommentsDefault) WithStatusCode(code int) *GetTaskCommentsDefault + func (o *GetTaskCommentsDefault) WithXErrorCode(xErrorCode string) *GetTaskCommentsDefault + func (o *GetTaskCommentsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetTaskCommentsHandler interface + Handle func(GetTaskCommentsParams) middleware.Responder + type GetTaskCommentsHandlerFunc func(GetTaskCommentsParams) middleware.Responder + func (fn GetTaskCommentsHandlerFunc) Handle(params GetTaskCommentsParams) middleware.Responder + type GetTaskCommentsOK struct + Payload []*models.Comment + func NewGetTaskCommentsOK() *GetTaskCommentsOK + func (o *GetTaskCommentsOK) SetPayload(payload []*models.Comment) + func (o *GetTaskCommentsOK) WithPayload(payload []*models.Comment) *GetTaskCommentsOK + func (o *GetTaskCommentsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetTaskCommentsParams struct + HTTPRequest *http.Request + ID int64 + PageSize *int32 + Since *strfmt.DateTime + func NewGetTaskCommentsParams() GetTaskCommentsParams + func (o *GetTaskCommentsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type GetTaskCommentsURL struct + ID int64 + PageSize *int32 + Since *strfmt.DateTime + func (o *GetTaskCommentsURL) Build() (*url.URL, error) + func (o *GetTaskCommentsURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *GetTaskCommentsURL) Must(u *url.URL, err error) *url.URL + func (o *GetTaskCommentsURL) SetBasePath(bp string) + func (o *GetTaskCommentsURL) String() string + func (o *GetTaskCommentsURL) StringFull(scheme, host string) string + func (o *GetTaskCommentsURL) WithBasePath(bp string) *GetTaskCommentsURL + type GetTaskDetails struct + Context *middleware.Context + Handler GetTaskDetailsHandler + func NewGetTaskDetails(ctx *middleware.Context, handler GetTaskDetailsHandler) *GetTaskDetails + func (o *GetTaskDetails) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type GetTaskDetailsDefault struct + Payload *models.Error + XErrorCode string + func NewGetTaskDetailsDefault(code int) *GetTaskDetailsDefault + func (o *GetTaskDetailsDefault) SetPayload(payload *models.Error) + func (o *GetTaskDetailsDefault) SetStatusCode(code int) + func (o *GetTaskDetailsDefault) SetXErrorCode(xErrorCode string) + func (o *GetTaskDetailsDefault) WithPayload(payload *models.Error) *GetTaskDetailsDefault + func (o *GetTaskDetailsDefault) WithStatusCode(code int) *GetTaskDetailsDefault + func (o *GetTaskDetailsDefault) WithXErrorCode(xErrorCode string) *GetTaskDetailsDefault + func (o *GetTaskDetailsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetTaskDetailsHandler interface + Handle func(GetTaskDetailsParams) middleware.Responder + type GetTaskDetailsHandlerFunc func(GetTaskDetailsParams) middleware.Responder + func (fn GetTaskDetailsHandlerFunc) Handle(params GetTaskDetailsParams) middleware.Responder + type GetTaskDetailsOK struct + Payload *models.Task + func NewGetTaskDetailsOK() *GetTaskDetailsOK + func (o *GetTaskDetailsOK) SetPayload(payload *models.Task) + func (o *GetTaskDetailsOK) WithPayload(payload *models.Task) *GetTaskDetailsOK + func (o *GetTaskDetailsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetTaskDetailsParams struct + HTTPRequest *http.Request + ID int64 + func NewGetTaskDetailsParams() GetTaskDetailsParams + func (o *GetTaskDetailsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type GetTaskDetailsURL struct + ID int64 + func (o *GetTaskDetailsURL) Build() (*url.URL, error) + func (o *GetTaskDetailsURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *GetTaskDetailsURL) Must(u *url.URL, err error) *url.URL + func (o *GetTaskDetailsURL) SetBasePath(bp string) + func (o *GetTaskDetailsURL) String() string + func (o *GetTaskDetailsURL) StringFull(scheme, host string) string + func (o *GetTaskDetailsURL) WithBasePath(bp string) *GetTaskDetailsURL + type GetTaskDetailsUnprocessableEntity struct + Payload *models.ValidationError + func NewGetTaskDetailsUnprocessableEntity() *GetTaskDetailsUnprocessableEntity + func (o *GetTaskDetailsUnprocessableEntity) SetPayload(payload *models.ValidationError) + func (o *GetTaskDetailsUnprocessableEntity) WithPayload(payload *models.ValidationError) *GetTaskDetailsUnprocessableEntity + func (o *GetTaskDetailsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type ListTasks struct + Context *middleware.Context + Handler ListTasksHandler + func NewListTasks(ctx *middleware.Context, handler ListTasksHandler) *ListTasks + func (o *ListTasks) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type ListTasksDefault struct + Payload *models.Error + XErrorCode string + func NewListTasksDefault(code int) *ListTasksDefault + func (o *ListTasksDefault) SetPayload(payload *models.Error) + func (o *ListTasksDefault) SetStatusCode(code int) + func (o *ListTasksDefault) SetXErrorCode(xErrorCode string) + func (o *ListTasksDefault) WithPayload(payload *models.Error) *ListTasksDefault + func (o *ListTasksDefault) WithStatusCode(code int) *ListTasksDefault + func (o *ListTasksDefault) WithXErrorCode(xErrorCode string) *ListTasksDefault + func (o *ListTasksDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type ListTasksHandler interface + Handle func(ListTasksParams) middleware.Responder + type ListTasksHandlerFunc func(ListTasksParams) middleware.Responder + func (fn ListTasksHandlerFunc) Handle(params ListTasksParams) middleware.Responder + type ListTasksOK struct + Payload []*models.TaskCard + XLastTaskID int64 + func NewListTasksOK() *ListTasksOK + func (o *ListTasksOK) SetPayload(payload []*models.TaskCard) + func (o *ListTasksOK) SetXLastTaskID(xLastTaskID int64) + func (o *ListTasksOK) WithPayload(payload []*models.TaskCard) *ListTasksOK + func (o *ListTasksOK) WithXLastTaskID(xLastTaskID int64) *ListTasksOK + func (o *ListTasksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type ListTasksParams struct + HTTPRequest *http.Request + PageSize *int32 + SinceID *int64 + Status []string + Tags []string + func NewListTasksParams() ListTasksParams + func (o *ListTasksParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type ListTasksURL struct + PageSize *int32 + SinceID *int64 + Status []string + Tags []string + func (o *ListTasksURL) Build() (*url.URL, error) + func (o *ListTasksURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *ListTasksURL) Must(u *url.URL, err error) *url.URL + func (o *ListTasksURL) SetBasePath(bp string) + func (o *ListTasksURL) String() string + func (o *ListTasksURL) StringFull(scheme, host string) string + func (o *ListTasksURL) WithBasePath(bp string) *ListTasksURL + type ListTasksUnprocessableEntity struct + Payload *models.ValidationError + func NewListTasksUnprocessableEntity() *ListTasksUnprocessableEntity + func (o *ListTasksUnprocessableEntity) SetPayload(payload *models.ValidationError) + func (o *ListTasksUnprocessableEntity) WithPayload(payload *models.ValidationError) *ListTasksUnprocessableEntity + func (o *ListTasksUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type UpdateTask struct + Context *middleware.Context + Handler UpdateTaskHandler + func NewUpdateTask(ctx *middleware.Context, handler UpdateTaskHandler) *UpdateTask + func (o *UpdateTask) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type UpdateTaskDefault struct + Payload *models.Error + XErrorCode string + func NewUpdateTaskDefault(code int) *UpdateTaskDefault + func (o *UpdateTaskDefault) SetPayload(payload *models.Error) + func (o *UpdateTaskDefault) SetStatusCode(code int) + func (o *UpdateTaskDefault) SetXErrorCode(xErrorCode string) + func (o *UpdateTaskDefault) WithPayload(payload *models.Error) *UpdateTaskDefault + func (o *UpdateTaskDefault) WithStatusCode(code int) *UpdateTaskDefault + func (o *UpdateTaskDefault) WithXErrorCode(xErrorCode string) *UpdateTaskDefault + func (o *UpdateTaskDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type UpdateTaskHandler interface + Handle func(UpdateTaskParams, interface{}) middleware.Responder + type UpdateTaskHandlerFunc func(UpdateTaskParams, interface{}) middleware.Responder + func (fn UpdateTaskHandlerFunc) Handle(params UpdateTaskParams, principal interface{}) middleware.Responder + type UpdateTaskOK struct + Payload *models.Task + func NewUpdateTaskOK() *UpdateTaskOK + func (o *UpdateTaskOK) SetPayload(payload *models.Task) + func (o *UpdateTaskOK) WithPayload(payload *models.Task) *UpdateTaskOK + func (o *UpdateTaskOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type UpdateTaskParams struct + Body *models.Task + HTTPRequest *http.Request + ID int64 + func NewUpdateTaskParams() UpdateTaskParams + func (o *UpdateTaskParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type UpdateTaskURL struct + ID int64 + func (o *UpdateTaskURL) Build() (*url.URL, error) + func (o *UpdateTaskURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *UpdateTaskURL) Must(u *url.URL, err error) *url.URL + func (o *UpdateTaskURL) SetBasePath(bp string) + func (o *UpdateTaskURL) String() string + func (o *UpdateTaskURL) StringFull(scheme, host string) string + func (o *UpdateTaskURL) WithBasePath(bp string) *UpdateTaskURL + type UpdateTaskUnprocessableEntity struct + Payload *models.ValidationError + func NewUpdateTaskUnprocessableEntity() *UpdateTaskUnprocessableEntity + func (o *UpdateTaskUnprocessableEntity) SetPayload(payload *models.ValidationError) + func (o *UpdateTaskUnprocessableEntity) WithPayload(payload *models.ValidationError) *UpdateTaskUnprocessableEntity + func (o *UpdateTaskUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type UploadTaskFile struct + Context *middleware.Context + Handler UploadTaskFileHandler + func NewUploadTaskFile(ctx *middleware.Context, handler UploadTaskFileHandler) *UploadTaskFile + func (o *UploadTaskFile) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type UploadTaskFileCreated struct + func NewUploadTaskFileCreated() *UploadTaskFileCreated + func (o *UploadTaskFileCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type UploadTaskFileDefault struct + Payload *models.Error + XErrorCode string + func NewUploadTaskFileDefault(code int) *UploadTaskFileDefault + func (o *UploadTaskFileDefault) SetPayload(payload *models.Error) + func (o *UploadTaskFileDefault) SetStatusCode(code int) + func (o *UploadTaskFileDefault) SetXErrorCode(xErrorCode string) + func (o *UploadTaskFileDefault) WithPayload(payload *models.Error) *UploadTaskFileDefault + func (o *UploadTaskFileDefault) WithStatusCode(code int) *UploadTaskFileDefault + func (o *UploadTaskFileDefault) WithXErrorCode(xErrorCode string) *UploadTaskFileDefault + func (o *UploadTaskFileDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type UploadTaskFileHandler interface + Handle func(UploadTaskFileParams, interface{}) middleware.Responder + type UploadTaskFileHandlerFunc func(UploadTaskFileParams, interface{}) middleware.Responder + func (fn UploadTaskFileHandlerFunc) Handle(params UploadTaskFileParams, principal interface{}) middleware.Responder + type UploadTaskFileParams struct + Description *string + File io.ReadCloser + HTTPRequest *http.Request + ID int64 + func NewUploadTaskFileParams() UploadTaskFileParams + func (o *UploadTaskFileParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type UploadTaskFileURL struct + ID int64 + func (o *UploadTaskFileURL) Build() (*url.URL, error) + func (o *UploadTaskFileURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *UploadTaskFileURL) Must(u *url.URL, err error) *url.URL + func (o *UploadTaskFileURL) SetBasePath(bp string) + func (o *UploadTaskFileURL) String() string + func (o *UploadTaskFileURL) StringFull(scheme, host string) string + func (o *UploadTaskFileURL) WithBasePath(bp string) *UploadTaskFileURL