Documentation
¶
Index ¶
- Constants
- type PostSetResultID
- type PostSetResultIDHandler
- type PostSetResultIDHandlerFunc
- type PostSetResultIDNoContent
- type PostSetResultIDParams
- type PostSetResultIDURL
- func (o *PostSetResultIDURL) Build() (*url.URL, error)
- func (o *PostSetResultIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostSetResultIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PostSetResultIDURL) SetBasePath(bp string)
- func (o *PostSetResultIDURL) String() string
- func (o *PostSetResultIDURL) StringFull(scheme, host string) string
- func (o *PostSetResultIDURL) WithBasePath(bp string) *PostSetResultIDURL
Constants ¶
const PostSetResultIDNoContentCode int = 204
PostSetResultIDNoContentCode is the HTTP code returned for type PostSetResultIDNoContent
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostSetResultID ¶
type PostSetResultID struct { Context *middleware.Context Handler PostSetResultIDHandler }
PostSetResultID swagger:route POST /setResult/{id} setResult postSetResultId
Set result
func NewPostSetResultID ¶
func NewPostSetResultID(ctx *middleware.Context, handler PostSetResultIDHandler) *PostSetResultID
NewPostSetResultID creates a new http.Handler for the post set result ID operation
func (*PostSetResultID) ServeHTTP ¶
func (o *PostSetResultID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostSetResultIDHandler ¶
type PostSetResultIDHandler interface {
Handle(PostSetResultIDParams) middleware.Responder
}
PostSetResultIDHandler interface for that can handle valid post set result ID params
type PostSetResultIDHandlerFunc ¶
type PostSetResultIDHandlerFunc func(PostSetResultIDParams) middleware.Responder
PostSetResultIDHandlerFunc turns a function with the right signature into a post set result ID handler
func (PostSetResultIDHandlerFunc) Handle ¶
func (fn PostSetResultIDHandlerFunc) Handle(params PostSetResultIDParams) middleware.Responder
Handle executing the request and returning a response
type PostSetResultIDNoContent ¶
type PostSetResultIDNoContent struct { }
PostSetResultIDNoContent OK No Content
swagger:response postSetResultIdNoContent
func NewPostSetResultIDNoContent ¶
func NewPostSetResultIDNoContent() *PostSetResultIDNoContent
NewPostSetResultIDNoContent creates PostSetResultIDNoContent with default headers values
func (*PostSetResultIDNoContent) WriteResponse ¶
func (o *PostSetResultIDNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostSetResultIDParams ¶
type PostSetResultIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ResponseTask /* Required: true In: path */ ID string }
PostSetResultIDParams contains all the bound params for the post set result ID operation typically these are obtained from a http.Request
swagger:parameters PostSetResultID
func NewPostSetResultIDParams ¶
func NewPostSetResultIDParams() PostSetResultIDParams
NewPostSetResultIDParams creates a new PostSetResultIDParams object no default values defined in spec.
func (*PostSetResultIDParams) BindRequest ¶
func (o *PostSetResultIDParams) 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 NewPostSetResultIDParams() beforehand.
type PostSetResultIDURL ¶
type PostSetResultIDURL struct { ID string // contains filtered or unexported fields }
PostSetResultIDURL generates an URL for the post set result ID operation
func (*PostSetResultIDURL) Build ¶
func (o *PostSetResultIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostSetResultIDURL) BuildFull ¶
func (o *PostSetResultIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostSetResultIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostSetResultIDURL) SetBasePath ¶
func (o *PostSetResultIDURL) 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 (*PostSetResultIDURL) String ¶
func (o *PostSetResultIDURL) String() string
String returns the string representation of the path with query string
func (*PostSetResultIDURL) StringFull ¶
func (o *PostSetResultIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostSetResultIDURL) WithBasePath ¶
func (o *PostSetResultIDURL) WithBasePath(bp string) *PostSetResultIDURL
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