Documentation ¶
Index ¶
- Constants
- type CreateSignedCertification
- type CreateSignedCertificationBadRequest
- type CreateSignedCertificationCreated
- func (o *CreateSignedCertificationCreated) SetPayload(payload *internalmessages.SignedCertificationPayload)
- func (o *CreateSignedCertificationCreated) WithPayload(payload *internalmessages.SignedCertificationPayload) *CreateSignedCertificationCreated
- func (o *CreateSignedCertificationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateSignedCertificationForbidden
- type CreateSignedCertificationHandler
- type CreateSignedCertificationHandlerFunc
- type CreateSignedCertificationInternalServerError
- type CreateSignedCertificationNotFound
- type CreateSignedCertificationParams
- type CreateSignedCertificationURL
- func (o *CreateSignedCertificationURL) Build() (*url.URL, error)
- func (o *CreateSignedCertificationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateSignedCertificationURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateSignedCertificationURL) SetBasePath(bp string)
- func (o *CreateSignedCertificationURL) String() string
- func (o *CreateSignedCertificationURL) StringFull(scheme, host string) string
- func (o *CreateSignedCertificationURL) WithBasePath(bp string) *CreateSignedCertificationURL
- type CreateSignedCertificationUnauthorized
- type IndexSignedCertification
- type IndexSignedCertificationBadRequest
- type IndexSignedCertificationForbidden
- type IndexSignedCertificationHandler
- type IndexSignedCertificationHandlerFunc
- type IndexSignedCertificationInternalServerError
- type IndexSignedCertificationNotFound
- type IndexSignedCertificationOK
- func (o *IndexSignedCertificationOK) SetPayload(payload internalmessages.SignedCertifications)
- func (o *IndexSignedCertificationOK) WithPayload(payload internalmessages.SignedCertifications) *IndexSignedCertificationOK
- func (o *IndexSignedCertificationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type IndexSignedCertificationParams
- type IndexSignedCertificationURL
- func (o *IndexSignedCertificationURL) Build() (*url.URL, error)
- func (o *IndexSignedCertificationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *IndexSignedCertificationURL) Must(u *url.URL, err error) *url.URL
- func (o *IndexSignedCertificationURL) SetBasePath(bp string)
- func (o *IndexSignedCertificationURL) String() string
- func (o *IndexSignedCertificationURL) StringFull(scheme, host string) string
- func (o *IndexSignedCertificationURL) WithBasePath(bp string) *IndexSignedCertificationURL
- type IndexSignedCertificationUnauthorized
Constants ¶
const CreateSignedCertificationBadRequestCode int = 400
CreateSignedCertificationBadRequestCode is the HTTP code returned for type CreateSignedCertificationBadRequest
const CreateSignedCertificationCreatedCode int = 201
CreateSignedCertificationCreatedCode is the HTTP code returned for type CreateSignedCertificationCreated
const CreateSignedCertificationForbiddenCode int = 403
CreateSignedCertificationForbiddenCode is the HTTP code returned for type CreateSignedCertificationForbidden
const CreateSignedCertificationInternalServerErrorCode int = 500
CreateSignedCertificationInternalServerErrorCode is the HTTP code returned for type CreateSignedCertificationInternalServerError
const CreateSignedCertificationNotFoundCode int = 404
CreateSignedCertificationNotFoundCode is the HTTP code returned for type CreateSignedCertificationNotFound
CreateSignedCertificationUnauthorizedCode is the HTTP code returned for type CreateSignedCertificationUnauthorized
const IndexSignedCertificationBadRequestCode int = 400
IndexSignedCertificationBadRequestCode is the HTTP code returned for type IndexSignedCertificationBadRequest
const IndexSignedCertificationForbiddenCode int = 403
IndexSignedCertificationForbiddenCode is the HTTP code returned for type IndexSignedCertificationForbidden
const IndexSignedCertificationInternalServerErrorCode int = 500
IndexSignedCertificationInternalServerErrorCode is the HTTP code returned for type IndexSignedCertificationInternalServerError
const IndexSignedCertificationNotFoundCode int = 404
IndexSignedCertificationNotFoundCode is the HTTP code returned for type IndexSignedCertificationNotFound
const IndexSignedCertificationOKCode int = 200
IndexSignedCertificationOKCode is the HTTP code returned for type IndexSignedCertificationOK
IndexSignedCertificationUnauthorizedCode is the HTTP code returned for type IndexSignedCertificationUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSignedCertification ¶
type CreateSignedCertification struct { Context *middleware.Context Handler CreateSignedCertificationHandler }
CreateSignedCertification swagger:route POST /moves/{moveId}/signed_certifications certification createSignedCertification
Submits signed certification for the given move ID ¶
Create an instance of signed_certification tied to the move ID
func NewCreateSignedCertification ¶
func NewCreateSignedCertification(ctx *middleware.Context, handler CreateSignedCertificationHandler) *CreateSignedCertification
NewCreateSignedCertification creates a new http.Handler for the create signed certification operation
func (*CreateSignedCertification) ServeHTTP ¶
func (o *CreateSignedCertification) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateSignedCertificationBadRequest ¶
type CreateSignedCertificationBadRequest struct { }
CreateSignedCertificationBadRequest invalid request
swagger:response createSignedCertificationBadRequest
func NewCreateSignedCertificationBadRequest ¶
func NewCreateSignedCertificationBadRequest() *CreateSignedCertificationBadRequest
NewCreateSignedCertificationBadRequest creates CreateSignedCertificationBadRequest with default headers values
func (*CreateSignedCertificationBadRequest) WriteResponse ¶
func (o *CreateSignedCertificationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSignedCertificationCreated ¶
type CreateSignedCertificationCreated struct { /* In: Body */ Payload *internalmessages.SignedCertificationPayload `json:"body,omitempty"` }
CreateSignedCertificationCreated created instance of signed_certification
swagger:response createSignedCertificationCreated
func NewCreateSignedCertificationCreated ¶
func NewCreateSignedCertificationCreated() *CreateSignedCertificationCreated
NewCreateSignedCertificationCreated creates CreateSignedCertificationCreated with default headers values
func (*CreateSignedCertificationCreated) SetPayload ¶
func (o *CreateSignedCertificationCreated) SetPayload(payload *internalmessages.SignedCertificationPayload)
SetPayload sets the payload to the create signed certification created response
func (*CreateSignedCertificationCreated) WithPayload ¶
func (o *CreateSignedCertificationCreated) WithPayload(payload *internalmessages.SignedCertificationPayload) *CreateSignedCertificationCreated
WithPayload adds the payload to the create signed certification created response
func (*CreateSignedCertificationCreated) WriteResponse ¶
func (o *CreateSignedCertificationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSignedCertificationForbidden ¶
type CreateSignedCertificationForbidden struct { }
CreateSignedCertificationForbidden user is not authorized to sign for this move
swagger:response createSignedCertificationForbidden
func NewCreateSignedCertificationForbidden ¶
func NewCreateSignedCertificationForbidden() *CreateSignedCertificationForbidden
NewCreateSignedCertificationForbidden creates CreateSignedCertificationForbidden with default headers values
func (*CreateSignedCertificationForbidden) WriteResponse ¶
func (o *CreateSignedCertificationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSignedCertificationHandler ¶
type CreateSignedCertificationHandler interface {
Handle(CreateSignedCertificationParams) middleware.Responder
}
CreateSignedCertificationHandler interface for that can handle valid create signed certification params
type CreateSignedCertificationHandlerFunc ¶
type CreateSignedCertificationHandlerFunc func(CreateSignedCertificationParams) middleware.Responder
CreateSignedCertificationHandlerFunc turns a function with the right signature into a create signed certification handler
func (CreateSignedCertificationHandlerFunc) Handle ¶
func (fn CreateSignedCertificationHandlerFunc) Handle(params CreateSignedCertificationParams) middleware.Responder
Handle executing the request and returning a response
type CreateSignedCertificationInternalServerError ¶
type CreateSignedCertificationInternalServerError struct { }
CreateSignedCertificationInternalServerError internal server error
swagger:response createSignedCertificationInternalServerError
func NewCreateSignedCertificationInternalServerError ¶
func NewCreateSignedCertificationInternalServerError() *CreateSignedCertificationInternalServerError
NewCreateSignedCertificationInternalServerError creates CreateSignedCertificationInternalServerError with default headers values
func (*CreateSignedCertificationInternalServerError) WriteResponse ¶
func (o *CreateSignedCertificationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSignedCertificationNotFound ¶
type CreateSignedCertificationNotFound struct { }
CreateSignedCertificationNotFound move not found
swagger:response createSignedCertificationNotFound
func NewCreateSignedCertificationNotFound ¶
func NewCreateSignedCertificationNotFound() *CreateSignedCertificationNotFound
NewCreateSignedCertificationNotFound creates CreateSignedCertificationNotFound with default headers values
func (*CreateSignedCertificationNotFound) WriteResponse ¶
func (o *CreateSignedCertificationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSignedCertificationParams ¶
type CreateSignedCertificationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ CreateSignedCertificationPayload *internalmessages.CreateSignedCertificationPayload /*UUID of the move being signed for Required: true In: path */ MoveID strfmt.UUID }
CreateSignedCertificationParams contains all the bound params for the create signed certification operation typically these are obtained from a http.Request
swagger:parameters createSignedCertification
func NewCreateSignedCertificationParams ¶
func NewCreateSignedCertificationParams() CreateSignedCertificationParams
NewCreateSignedCertificationParams creates a new CreateSignedCertificationParams object
There are no default values defined in the spec.
func (*CreateSignedCertificationParams) BindRequest ¶
func (o *CreateSignedCertificationParams) 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 NewCreateSignedCertificationParams() beforehand.
type CreateSignedCertificationURL ¶
type CreateSignedCertificationURL struct { MoveID strfmt.UUID // contains filtered or unexported fields }
CreateSignedCertificationURL generates an URL for the create signed certification operation
func (*CreateSignedCertificationURL) Build ¶
func (o *CreateSignedCertificationURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateSignedCertificationURL) BuildFull ¶
func (o *CreateSignedCertificationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateSignedCertificationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateSignedCertificationURL) SetBasePath ¶
func (o *CreateSignedCertificationURL) 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 (*CreateSignedCertificationURL) String ¶
func (o *CreateSignedCertificationURL) String() string
String returns the string representation of the path with query string
func (*CreateSignedCertificationURL) StringFull ¶
func (o *CreateSignedCertificationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateSignedCertificationURL) WithBasePath ¶
func (o *CreateSignedCertificationURL) WithBasePath(bp string) *CreateSignedCertificationURL
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 CreateSignedCertificationUnauthorized ¶
type CreateSignedCertificationUnauthorized struct { }
CreateSignedCertificationUnauthorized request requires user authentication
swagger:response createSignedCertificationUnauthorized
func NewCreateSignedCertificationUnauthorized ¶
func NewCreateSignedCertificationUnauthorized() *CreateSignedCertificationUnauthorized
NewCreateSignedCertificationUnauthorized creates CreateSignedCertificationUnauthorized with default headers values
func (*CreateSignedCertificationUnauthorized) WriteResponse ¶
func (o *CreateSignedCertificationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexSignedCertification ¶
type IndexSignedCertification struct { Context *middleware.Context Handler IndexSignedCertificationHandler }
IndexSignedCertification swagger:route GET /moves/{moveId}/signed_certifications certification indexSignedCertification
gets the signed certifications for the given move ID
returns a list of all signed_certifications associated with the move ID
func NewIndexSignedCertification ¶
func NewIndexSignedCertification(ctx *middleware.Context, handler IndexSignedCertificationHandler) *IndexSignedCertification
NewIndexSignedCertification creates a new http.Handler for the index signed certification operation
func (*IndexSignedCertification) ServeHTTP ¶
func (o *IndexSignedCertification) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type IndexSignedCertificationBadRequest ¶
type IndexSignedCertificationBadRequest struct { }
IndexSignedCertificationBadRequest invalid request
swagger:response indexSignedCertificationBadRequest
func NewIndexSignedCertificationBadRequest ¶
func NewIndexSignedCertificationBadRequest() *IndexSignedCertificationBadRequest
NewIndexSignedCertificationBadRequest creates IndexSignedCertificationBadRequest with default headers values
func (*IndexSignedCertificationBadRequest) WriteResponse ¶
func (o *IndexSignedCertificationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexSignedCertificationForbidden ¶
type IndexSignedCertificationForbidden struct { }
IndexSignedCertificationForbidden user is not authorized
swagger:response indexSignedCertificationForbidden
func NewIndexSignedCertificationForbidden ¶
func NewIndexSignedCertificationForbidden() *IndexSignedCertificationForbidden
NewIndexSignedCertificationForbidden creates IndexSignedCertificationForbidden with default headers values
func (*IndexSignedCertificationForbidden) WriteResponse ¶
func (o *IndexSignedCertificationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexSignedCertificationHandler ¶
type IndexSignedCertificationHandler interface {
Handle(IndexSignedCertificationParams) middleware.Responder
}
IndexSignedCertificationHandler interface for that can handle valid index signed certification params
type IndexSignedCertificationHandlerFunc ¶
type IndexSignedCertificationHandlerFunc func(IndexSignedCertificationParams) middleware.Responder
IndexSignedCertificationHandlerFunc turns a function with the right signature into a index signed certification handler
func (IndexSignedCertificationHandlerFunc) Handle ¶
func (fn IndexSignedCertificationHandlerFunc) Handle(params IndexSignedCertificationParams) middleware.Responder
Handle executing the request and returning a response
type IndexSignedCertificationInternalServerError ¶
type IndexSignedCertificationInternalServerError struct { }
IndexSignedCertificationInternalServerError internal server error
swagger:response indexSignedCertificationInternalServerError
func NewIndexSignedCertificationInternalServerError ¶
func NewIndexSignedCertificationInternalServerError() *IndexSignedCertificationInternalServerError
NewIndexSignedCertificationInternalServerError creates IndexSignedCertificationInternalServerError with default headers values
func (*IndexSignedCertificationInternalServerError) WriteResponse ¶
func (o *IndexSignedCertificationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexSignedCertificationNotFound ¶
type IndexSignedCertificationNotFound struct { }
IndexSignedCertificationNotFound move not found
swagger:response indexSignedCertificationNotFound
func NewIndexSignedCertificationNotFound ¶
func NewIndexSignedCertificationNotFound() *IndexSignedCertificationNotFound
NewIndexSignedCertificationNotFound creates IndexSignedCertificationNotFound with default headers values
func (*IndexSignedCertificationNotFound) WriteResponse ¶
func (o *IndexSignedCertificationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexSignedCertificationOK ¶
type IndexSignedCertificationOK struct { /* In: Body */ Payload internalmessages.SignedCertifications `json:"body,omitempty"` }
IndexSignedCertificationOK returns a list of signed certifications
swagger:response indexSignedCertificationOK
func NewIndexSignedCertificationOK ¶
func NewIndexSignedCertificationOK() *IndexSignedCertificationOK
NewIndexSignedCertificationOK creates IndexSignedCertificationOK with default headers values
func (*IndexSignedCertificationOK) SetPayload ¶
func (o *IndexSignedCertificationOK) SetPayload(payload internalmessages.SignedCertifications)
SetPayload sets the payload to the index signed certification o k response
func (*IndexSignedCertificationOK) WithPayload ¶
func (o *IndexSignedCertificationOK) WithPayload(payload internalmessages.SignedCertifications) *IndexSignedCertificationOK
WithPayload adds the payload to the index signed certification o k response
func (*IndexSignedCertificationOK) WriteResponse ¶
func (o *IndexSignedCertificationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexSignedCertificationParams ¶
type IndexSignedCertificationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ MoveID strfmt.UUID }
IndexSignedCertificationParams contains all the bound params for the index signed certification operation typically these are obtained from a http.Request
swagger:parameters indexSignedCertification
func NewIndexSignedCertificationParams ¶
func NewIndexSignedCertificationParams() IndexSignedCertificationParams
NewIndexSignedCertificationParams creates a new IndexSignedCertificationParams object
There are no default values defined in the spec.
func (*IndexSignedCertificationParams) BindRequest ¶
func (o *IndexSignedCertificationParams) 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 NewIndexSignedCertificationParams() beforehand.
type IndexSignedCertificationURL ¶
type IndexSignedCertificationURL struct { MoveID strfmt.UUID // contains filtered or unexported fields }
IndexSignedCertificationURL generates an URL for the index signed certification operation
func (*IndexSignedCertificationURL) Build ¶
func (o *IndexSignedCertificationURL) Build() (*url.URL, error)
Build a url path and query string
func (*IndexSignedCertificationURL) BuildFull ¶
func (o *IndexSignedCertificationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*IndexSignedCertificationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*IndexSignedCertificationURL) SetBasePath ¶
func (o *IndexSignedCertificationURL) 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 (*IndexSignedCertificationURL) String ¶
func (o *IndexSignedCertificationURL) String() string
String returns the string representation of the path with query string
func (*IndexSignedCertificationURL) StringFull ¶
func (o *IndexSignedCertificationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*IndexSignedCertificationURL) WithBasePath ¶
func (o *IndexSignedCertificationURL) WithBasePath(bp string) *IndexSignedCertificationURL
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 IndexSignedCertificationUnauthorized ¶
type IndexSignedCertificationUnauthorized struct { }
IndexSignedCertificationUnauthorized request requires user authentication
swagger:response indexSignedCertificationUnauthorized
func NewIndexSignedCertificationUnauthorized ¶
func NewIndexSignedCertificationUnauthorized() *IndexSignedCertificationUnauthorized
NewIndexSignedCertificationUnauthorized creates IndexSignedCertificationUnauthorized with default headers values
func (*IndexSignedCertificationUnauthorized) WriteResponse ¶
func (o *IndexSignedCertificationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_signed_certification.go
- create_signed_certification_parameters.go
- create_signed_certification_responses.go
- create_signed_certification_urlbuilder.go
- index_signed_certification.go
- index_signed_certification_parameters.go
- index_signed_certification_responses.go
- index_signed_certification_urlbuilder.go