Documentation ¶
Index ¶
- Constants
- type AddTask
- type AddTaskBadRequest
- type AddTaskCreated
- type AddTaskHandler
- type AddTaskHandlerFunc
- type AddTaskInternalServerError
- type AddTaskParams
- type AddTaskURL
- func (o *AddTaskURL) Build() (*url.URL, error)
- func (o *AddTaskURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddTaskURL) Must(u *url.URL, err error) *url.URL
- func (o *AddTaskURL) SetBasePath(bp string)
- func (o *AddTaskURL) String() string
- func (o *AddTaskURL) StringFull(scheme, host string) string
- func (o *AddTaskURL) WithBasePath(bp string) *AddTaskURL
- type DeleteTask
- type DeleteTaskBadRequest
- type DeleteTaskHandler
- type DeleteTaskHandlerFunc
- type DeleteTaskInternalServerError
- type DeleteTaskNotFound
- type DeleteTaskOK
- type DeleteTaskParams
- type DeleteTaskURL
- 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 GetTaskByID
- type GetTaskByIDHandler
- type GetTaskByIDHandlerFunc
- type GetTaskByIDInternalServerError
- type GetTaskByIDNotFound
- type GetTaskByIDOK
- type GetTaskByIDParams
- type GetTaskByIDURL
- func (o *GetTaskByIDURL) Build() (*url.URL, error)
- func (o *GetTaskByIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTaskByIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTaskByIDURL) SetBasePath(bp string)
- func (o *GetTaskByIDURL) String() string
- func (o *GetTaskByIDURL) StringFull(scheme, host string) string
- func (o *GetTaskByIDURL) WithBasePath(bp string) *GetTaskByIDURL
- type UpdateTask
- type UpdateTaskBadRequest
- type UpdateTaskHandler
- type UpdateTaskHandlerFunc
- type UpdateTaskInternalServerError
- type UpdateTaskNotFound
- type UpdateTaskOK
- type UpdateTaskParams
- type UpdateTaskURL
- 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
Constants ¶
const AddTaskBadRequestCode int = 400
AddTaskBadRequestCode is the HTTP code returned for type AddTaskBadRequest
const AddTaskCreatedCode int = 201
AddTaskCreatedCode is the HTTP code returned for type AddTaskCreated
const AddTaskInternalServerErrorCode int = 500
AddTaskInternalServerErrorCode is the HTTP code returned for type AddTaskInternalServerError
const DeleteTaskBadRequestCode int = 400
DeleteTaskBadRequestCode is the HTTP code returned for type DeleteTaskBadRequest
const DeleteTaskInternalServerErrorCode int = 500
DeleteTaskInternalServerErrorCode is the HTTP code returned for type DeleteTaskInternalServerError
const DeleteTaskNotFoundCode int = 404
DeleteTaskNotFoundCode is the HTTP code returned for type DeleteTaskNotFound
const DeleteTaskOKCode int = 200
DeleteTaskOKCode is the HTTP code returned for type DeleteTaskOK
const GetTaskByIDInternalServerErrorCode int = 500
GetTaskByIDInternalServerErrorCode is the HTTP code returned for type GetTaskByIDInternalServerError
const GetTaskByIDNotFoundCode int = 404
GetTaskByIDNotFoundCode is the HTTP code returned for type GetTaskByIDNotFound
const GetTaskByIDOKCode int = 200
GetTaskByIDOKCode is the HTTP code returned for type GetTaskByIDOK
const UpdateTaskBadRequestCode int = 400
UpdateTaskBadRequestCode is the HTTP code returned for type UpdateTaskBadRequest
const UpdateTaskInternalServerErrorCode int = 500
UpdateTaskInternalServerErrorCode is the HTTP code returned for type UpdateTaskInternalServerError
const UpdateTaskNotFoundCode int = 404
UpdateTaskNotFoundCode is the HTTP code returned for type UpdateTaskNotFound
const UpdateTaskOKCode int = 200
UpdateTaskOKCode is the HTTP code returned for type UpdateTaskOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTask ¶
type AddTask struct { Context *middleware.Context Handler AddTaskHandler }
AddTask swagger:route POST /internal/tasks service addTask
create task
func NewAddTask ¶
func NewAddTask(ctx *middleware.Context, handler AddTaskHandler) *AddTask
NewAddTask creates a new http.Handler for the add task operation
type AddTaskBadRequest ¶
type AddTaskBadRequest struct { }
AddTaskBadRequest bad request
swagger:response addTaskBadRequest
func NewAddTaskBadRequest ¶
func NewAddTaskBadRequest() *AddTaskBadRequest
NewAddTaskBadRequest creates AddTaskBadRequest with default headers values
func (*AddTaskBadRequest) WriteResponse ¶
func (o *AddTaskBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddTaskCreated ¶
AddTaskCreated task added
swagger:response addTaskCreated
func NewAddTaskCreated ¶
func NewAddTaskCreated() *AddTaskCreated
NewAddTaskCreated creates AddTaskCreated with default headers values
func (*AddTaskCreated) SetPayload ¶
func (o *AddTaskCreated) SetPayload(payload *models.Task)
SetPayload sets the payload to the add task created response
func (*AddTaskCreated) WithPayload ¶
func (o *AddTaskCreated) WithPayload(payload *models.Task) *AddTaskCreated
WithPayload adds the payload to the add task created response
func (*AddTaskCreated) WriteResponse ¶
func (o *AddTaskCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddTaskHandler ¶
type AddTaskHandler interface {
Handle(AddTaskParams) middleware.Responder
}
AddTaskHandler interface for that can handle valid add task params
type AddTaskHandlerFunc ¶
type AddTaskHandlerFunc func(AddTaskParams) middleware.Responder
AddTaskHandlerFunc turns a function with the right signature into a add task handler
func (AddTaskHandlerFunc) Handle ¶
func (fn AddTaskHandlerFunc) Handle(params AddTaskParams) middleware.Responder
Handle executing the request and returning a response
type AddTaskInternalServerError ¶
type AddTaskInternalServerError struct { }
AddTaskInternalServerError internal server error
swagger:response addTaskInternalServerError
func NewAddTaskInternalServerError ¶
func NewAddTaskInternalServerError() *AddTaskInternalServerError
NewAddTaskInternalServerError creates AddTaskInternalServerError with default headers values
func (*AddTaskInternalServerError) WriteResponse ¶
func (o *AddTaskInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddTaskParams ¶
type AddTaskParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*task model Required: true In: body */ Task *models.Task }
AddTaskParams contains all the bound params for the add task operation typically these are obtained from a http.Request
swagger:parameters addTask
func NewAddTaskParams ¶
func NewAddTaskParams() AddTaskParams
NewAddTaskParams creates a new AddTaskParams object
There are no default values defined in the spec.
func (*AddTaskParams) BindRequest ¶
func (o *AddTaskParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewAddTaskParams() beforehand.
type AddTaskURL ¶
type AddTaskURL struct {
// contains filtered or unexported fields
}
AddTaskURL generates an URL for the add task operation
func (*AddTaskURL) Build ¶
func (o *AddTaskURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddTaskURL) BuildFull ¶
func (o *AddTaskURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddTaskURL) SetBasePath ¶
func (o *AddTaskURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*AddTaskURL) String ¶
func (o *AddTaskURL) String() string
String returns the string representation of the path with query string
func (*AddTaskURL) StringFull ¶
func (o *AddTaskURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AddTaskURL) WithBasePath ¶
func (o *AddTaskURL) WithBasePath(bp string) *AddTaskURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteTask ¶
type DeleteTask struct { Context *middleware.Context Handler DeleteTaskHandler }
DeleteTask swagger:route DELETE /internal/tasks/{ID} service deleteTask
delete task based on id
func NewDeleteTask ¶
func NewDeleteTask(ctx *middleware.Context, handler DeleteTaskHandler) *DeleteTask
NewDeleteTask creates a new http.Handler for the delete task operation
func (*DeleteTask) ServeHTTP ¶
func (o *DeleteTask) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteTaskBadRequest ¶
type DeleteTaskBadRequest struct { }
DeleteTaskBadRequest bad request
swagger:response deleteTaskBadRequest
func NewDeleteTaskBadRequest ¶
func NewDeleteTaskBadRequest() *DeleteTaskBadRequest
NewDeleteTaskBadRequest creates DeleteTaskBadRequest with default headers values
func (*DeleteTaskBadRequest) WriteResponse ¶
func (o *DeleteTaskBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTaskHandler ¶
type DeleteTaskHandler interface {
Handle(DeleteTaskParams) middleware.Responder
}
DeleteTaskHandler interface for that can handle valid delete task params
type DeleteTaskHandlerFunc ¶
type DeleteTaskHandlerFunc func(DeleteTaskParams) middleware.Responder
DeleteTaskHandlerFunc turns a function with the right signature into a delete task handler
func (DeleteTaskHandlerFunc) Handle ¶
func (fn DeleteTaskHandlerFunc) Handle(params DeleteTaskParams) middleware.Responder
Handle executing the request and returning a response
type DeleteTaskInternalServerError ¶
type DeleteTaskInternalServerError struct { }
DeleteTaskInternalServerError internal server error
swagger:response deleteTaskInternalServerError
func NewDeleteTaskInternalServerError ¶
func NewDeleteTaskInternalServerError() *DeleteTaskInternalServerError
NewDeleteTaskInternalServerError creates DeleteTaskInternalServerError with default headers values
func (*DeleteTaskInternalServerError) WriteResponse ¶
func (o *DeleteTaskInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTaskNotFound ¶
type DeleteTaskNotFound struct { }
DeleteTaskNotFound task not found
swagger:response deleteTaskNotFound
func NewDeleteTaskNotFound ¶
func NewDeleteTaskNotFound() *DeleteTaskNotFound
NewDeleteTaskNotFound creates DeleteTaskNotFound with default headers values
func (*DeleteTaskNotFound) WriteResponse ¶
func (o *DeleteTaskNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTaskOK ¶
type DeleteTaskOK struct { }
DeleteTaskOK task deleted
swagger:response deleteTaskOK
func NewDeleteTaskOK ¶
func NewDeleteTaskOK() *DeleteTaskOK
NewDeleteTaskOK creates DeleteTaskOK with default headers values
func (*DeleteTaskOK) WriteResponse ¶
func (o *DeleteTaskOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTaskParams ¶
type DeleteTaskParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*id of task Required: true In: path */ ID string }
DeleteTaskParams contains all the bound params for the delete task operation typically these are obtained from a http.Request
swagger:parameters deleteTask
func NewDeleteTaskParams ¶
func NewDeleteTaskParams() DeleteTaskParams
NewDeleteTaskParams creates a new DeleteTaskParams object
There are no default values defined in the spec.
func (*DeleteTaskParams) BindRequest ¶
func (o *DeleteTaskParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteTaskParams() beforehand.
type DeleteTaskURL ¶
type DeleteTaskURL struct { ID string // contains filtered or unexported fields }
DeleteTaskURL generates an URL for the delete task operation
func (*DeleteTaskURL) Build ¶
func (o *DeleteTaskURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteTaskURL) BuildFull ¶
func (o *DeleteTaskURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteTaskURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteTaskURL) SetBasePath ¶
func (o *DeleteTaskURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteTaskURL) String ¶
func (o *DeleteTaskURL) String() string
String returns the string representation of the path with query string
func (*DeleteTaskURL) StringFull ¶
func (o *DeleteTaskURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteTaskURL) WithBasePath ¶
func (o *DeleteTaskURL) WithBasePath(bp string) *DeleteTaskURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetTaskByID ¶
type GetTaskByID struct { Context *middleware.Context Handler GetTaskByIDHandler }
GetTaskByID swagger:route GET /internal/tasks/{ID} service getTaskById
retrieve task based on id
func NewGetTaskByID ¶
func NewGetTaskByID(ctx *middleware.Context, handler GetTaskByIDHandler) *GetTaskByID
NewGetTaskByID creates a new http.Handler for the get task by ID operation
func (*GetTaskByID) ServeHTTP ¶
func (o *GetTaskByID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTaskByIDHandler ¶
type GetTaskByIDHandler interface {
Handle(GetTaskByIDParams) middleware.Responder
}
GetTaskByIDHandler interface for that can handle valid get task by ID params
type GetTaskByIDHandlerFunc ¶
type GetTaskByIDHandlerFunc func(GetTaskByIDParams) middleware.Responder
GetTaskByIDHandlerFunc turns a function with the right signature into a get task by ID handler
func (GetTaskByIDHandlerFunc) Handle ¶
func (fn GetTaskByIDHandlerFunc) Handle(params GetTaskByIDParams) middleware.Responder
Handle executing the request and returning a response
type GetTaskByIDInternalServerError ¶
type GetTaskByIDInternalServerError struct { }
GetTaskByIDInternalServerError internal server error
swagger:response getTaskByIdInternalServerError
func NewGetTaskByIDInternalServerError ¶
func NewGetTaskByIDInternalServerError() *GetTaskByIDInternalServerError
NewGetTaskByIDInternalServerError creates GetTaskByIDInternalServerError with default headers values
func (*GetTaskByIDInternalServerError) WriteResponse ¶
func (o *GetTaskByIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTaskByIDNotFound ¶
type GetTaskByIDNotFound struct { }
GetTaskByIDNotFound task not found
swagger:response getTaskByIdNotFound
func NewGetTaskByIDNotFound ¶
func NewGetTaskByIDNotFound() *GetTaskByIDNotFound
NewGetTaskByIDNotFound creates GetTaskByIDNotFound with default headers values
func (*GetTaskByIDNotFound) WriteResponse ¶
func (o *GetTaskByIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTaskByIDOK ¶
GetTaskByIDOK task retrieved
swagger:response getTaskByIdOK
func NewGetTaskByIDOK ¶
func NewGetTaskByIDOK() *GetTaskByIDOK
NewGetTaskByIDOK creates GetTaskByIDOK with default headers values
func (*GetTaskByIDOK) SetPayload ¶
func (o *GetTaskByIDOK) SetPayload(payload *models.Task)
SetPayload sets the payload to the get task by Id o k response
func (*GetTaskByIDOK) WithPayload ¶
func (o *GetTaskByIDOK) WithPayload(payload *models.Task) *GetTaskByIDOK
WithPayload adds the payload to the get task by Id o k response
func (*GetTaskByIDOK) WriteResponse ¶
func (o *GetTaskByIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTaskByIDParams ¶
type GetTaskByIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*id of task Required: true In: path */ ID string }
GetTaskByIDParams contains all the bound params for the get task by ID operation typically these are obtained from a http.Request
swagger:parameters getTaskByID
func NewGetTaskByIDParams ¶
func NewGetTaskByIDParams() GetTaskByIDParams
NewGetTaskByIDParams creates a new GetTaskByIDParams object
There are no default values defined in the spec.
func (*GetTaskByIDParams) BindRequest ¶
func (o *GetTaskByIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetTaskByIDParams() beforehand.
type GetTaskByIDURL ¶
type GetTaskByIDURL struct { ID string // contains filtered or unexported fields }
GetTaskByIDURL generates an URL for the get task by ID operation
func (*GetTaskByIDURL) Build ¶
func (o *GetTaskByIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTaskByIDURL) BuildFull ¶
func (o *GetTaskByIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTaskByIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTaskByIDURL) SetBasePath ¶
func (o *GetTaskByIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetTaskByIDURL) String ¶
func (o *GetTaskByIDURL) String() string
String returns the string representation of the path with query string
func (*GetTaskByIDURL) StringFull ¶
func (o *GetTaskByIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTaskByIDURL) WithBasePath ¶
func (o *GetTaskByIDURL) WithBasePath(bp string) *GetTaskByIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateTask ¶
type UpdateTask struct { Context *middleware.Context Handler UpdateTaskHandler }
UpdateTask swagger:route PUT /internal/tasks service updateTask
update task
func NewUpdateTask ¶
func NewUpdateTask(ctx *middleware.Context, handler UpdateTaskHandler) *UpdateTask
NewUpdateTask creates a new http.Handler for the update task operation
func (*UpdateTask) ServeHTTP ¶
func (o *UpdateTask) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateTaskBadRequest ¶
type UpdateTaskBadRequest struct { }
UpdateTaskBadRequest bad request
swagger:response updateTaskBadRequest
func NewUpdateTaskBadRequest ¶
func NewUpdateTaskBadRequest() *UpdateTaskBadRequest
NewUpdateTaskBadRequest creates UpdateTaskBadRequest with default headers values
func (*UpdateTaskBadRequest) WriteResponse ¶
func (o *UpdateTaskBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateTaskHandler ¶
type UpdateTaskHandler interface {
Handle(UpdateTaskParams) middleware.Responder
}
UpdateTaskHandler interface for that can handle valid update task params
type UpdateTaskHandlerFunc ¶
type UpdateTaskHandlerFunc func(UpdateTaskParams) middleware.Responder
UpdateTaskHandlerFunc turns a function with the right signature into a update task handler
func (UpdateTaskHandlerFunc) Handle ¶
func (fn UpdateTaskHandlerFunc) Handle(params UpdateTaskParams) middleware.Responder
Handle executing the request and returning a response
type UpdateTaskInternalServerError ¶
type UpdateTaskInternalServerError struct { }
UpdateTaskInternalServerError internal server error
swagger:response updateTaskInternalServerError
func NewUpdateTaskInternalServerError ¶
func NewUpdateTaskInternalServerError() *UpdateTaskInternalServerError
NewUpdateTaskInternalServerError creates UpdateTaskInternalServerError with default headers values
func (*UpdateTaskInternalServerError) WriteResponse ¶
func (o *UpdateTaskInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateTaskNotFound ¶
type UpdateTaskNotFound struct { }
UpdateTaskNotFound Task not found
swagger:response updateTaskNotFound
func NewUpdateTaskNotFound ¶
func NewUpdateTaskNotFound() *UpdateTaskNotFound
NewUpdateTaskNotFound creates UpdateTaskNotFound with default headers values
func (*UpdateTaskNotFound) WriteResponse ¶
func (o *UpdateTaskNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateTaskOK ¶
UpdateTaskOK Task updated
swagger:response updateTaskOK
func NewUpdateTaskOK ¶
func NewUpdateTaskOK() *UpdateTaskOK
NewUpdateTaskOK creates UpdateTaskOK with default headers values
func (*UpdateTaskOK) SetPayload ¶
func (o *UpdateTaskOK) SetPayload(payload *models.Task)
SetPayload sets the payload to the update task o k response
func (*UpdateTaskOK) WithPayload ¶
func (o *UpdateTaskOK) WithPayload(payload *models.Task) *UpdateTaskOK
WithPayload adds the payload to the update task o k response
func (*UpdateTaskOK) WriteResponse ¶
func (o *UpdateTaskOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateTaskParams ¶
type UpdateTaskParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*task model Required: true In: body */ Task *models.Task }
UpdateTaskParams contains all the bound params for the update task operation typically these are obtained from a http.Request
swagger:parameters updateTask
func NewUpdateTaskParams ¶
func NewUpdateTaskParams() UpdateTaskParams
NewUpdateTaskParams creates a new UpdateTaskParams object
There are no default values defined in the spec.
func (*UpdateTaskParams) BindRequest ¶
func (o *UpdateTaskParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateTaskParams() beforehand.
type UpdateTaskURL ¶
type UpdateTaskURL struct {
// contains filtered or unexported fields
}
UpdateTaskURL generates an URL for the update task operation
func (*UpdateTaskURL) Build ¶
func (o *UpdateTaskURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateTaskURL) BuildFull ¶
func (o *UpdateTaskURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateTaskURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateTaskURL) SetBasePath ¶
func (o *UpdateTaskURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateTaskURL) String ¶
func (o *UpdateTaskURL) String() string
String returns the string representation of the path with query string
func (*UpdateTaskURL) StringFull ¶
func (o *UpdateTaskURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateTaskURL) WithBasePath ¶
func (o *UpdateTaskURL) WithBasePath(bp string) *UpdateTaskURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- add_task.go
- add_task_parameters.go
- add_task_responses.go
- add_task_urlbuilder.go
- delete_task.go
- delete_task_parameters.go
- delete_task_responses.go
- delete_task_urlbuilder.go
- get_task_by_id.go
- get_task_by_id_parameters.go
- get_task_by_id_responses.go
- get_task_by_id_urlbuilder.go
- update_task.go
- update_task_parameters.go
- update_task_responses.go
- update_task_urlbuilder.go