certification

package
v0.0.0-...-c407d37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CreateSignedCertificationBadRequestCode int = 400

CreateSignedCertificationBadRequestCode is the HTTP code returned for type CreateSignedCertificationBadRequest

View Source
const CreateSignedCertificationCreatedCode int = 201

CreateSignedCertificationCreatedCode is the HTTP code returned for type CreateSignedCertificationCreated

View Source
const CreateSignedCertificationForbiddenCode int = 403

CreateSignedCertificationForbiddenCode is the HTTP code returned for type CreateSignedCertificationForbidden

View Source
const CreateSignedCertificationInternalServerErrorCode int = 500

CreateSignedCertificationInternalServerErrorCode is the HTTP code returned for type CreateSignedCertificationInternalServerError

View Source
const CreateSignedCertificationNotFoundCode int = 404

CreateSignedCertificationNotFoundCode is the HTTP code returned for type CreateSignedCertificationNotFound

View Source
const CreateSignedCertificationUnauthorizedCode int = 401

CreateSignedCertificationUnauthorizedCode is the HTTP code returned for type CreateSignedCertificationUnauthorized

View Source
const IndexSignedCertificationBadRequestCode int = 400

IndexSignedCertificationBadRequestCode is the HTTP code returned for type IndexSignedCertificationBadRequest

View Source
const IndexSignedCertificationForbiddenCode int = 403

IndexSignedCertificationForbiddenCode is the HTTP code returned for type IndexSignedCertificationForbidden

View Source
const IndexSignedCertificationInternalServerErrorCode int = 500

IndexSignedCertificationInternalServerErrorCode is the HTTP code returned for type IndexSignedCertificationInternalServerError

View Source
const IndexSignedCertificationNotFoundCode int = 404

IndexSignedCertificationNotFoundCode is the HTTP code returned for type IndexSignedCertificationNotFound

View Source
const IndexSignedCertificationOKCode int = 200

IndexSignedCertificationOKCode is the HTTP code returned for type IndexSignedCertificationOK

View Source
const IndexSignedCertificationUnauthorizedCode int = 401

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

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

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

SetPayload sets the payload to the create signed certification created response

func (*CreateSignedCertificationCreated) WithPayload

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

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

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

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

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

func (o *CreateSignedCertificationURL) Must(u *url.URL, err error) *url.URL

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

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

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

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

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

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

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

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

SetPayload sets the payload to the index signed certification o k response

func (*IndexSignedCertificationOK) WithPayload

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

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

func (o *IndexSignedCertificationURL) Must(u *url.URL, err error) *url.URL

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

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

WriteResponse to the client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL