evaluation

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const PostEvaluationBatchOKCode int = 200

PostEvaluationBatchOKCode is the HTTP code returned for type PostEvaluationBatchOK

View Source
const PostEvaluationOKCode int = 200

PostEvaluationOKCode is the HTTP code returned for type PostEvaluationOK

Variables

This section is empty.

Functions

This section is empty.

Types

type PostEvaluation

type PostEvaluation struct {
	Context *middleware.Context
	Handler PostEvaluationHandler
}
PostEvaluation swagger:route POST /evaluation evaluation postEvaluation

PostEvaluation post evaluation API

func NewPostEvaluation

func NewPostEvaluation(ctx *middleware.Context, handler PostEvaluationHandler) *PostEvaluation

NewPostEvaluation creates a new http.Handler for the post evaluation operation

func (*PostEvaluation) ServeHTTP

func (o *PostEvaluation) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PostEvaluationBatch

type PostEvaluationBatch struct {
	Context *middleware.Context
	Handler PostEvaluationBatchHandler
}
PostEvaluationBatch swagger:route POST /evaluation/batch evaluation postEvaluationBatch

PostEvaluationBatch post evaluation batch API

func NewPostEvaluationBatch

func NewPostEvaluationBatch(ctx *middleware.Context, handler PostEvaluationBatchHandler) *PostEvaluationBatch

NewPostEvaluationBatch creates a new http.Handler for the post evaluation batch operation

func (*PostEvaluationBatch) ServeHTTP

func (o *PostEvaluationBatch) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PostEvaluationBatchDefault

type PostEvaluationBatchDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PostEvaluationBatchDefault generic error response

swagger:response postEvaluationBatchDefault

func NewPostEvaluationBatchDefault

func NewPostEvaluationBatchDefault(code int) *PostEvaluationBatchDefault

NewPostEvaluationBatchDefault creates PostEvaluationBatchDefault with default headers values

func (*PostEvaluationBatchDefault) SetPayload

func (o *PostEvaluationBatchDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the post evaluation batch default response

func (*PostEvaluationBatchDefault) SetStatusCode

func (o *PostEvaluationBatchDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post evaluation batch default response

func (*PostEvaluationBatchDefault) WithPayload

WithPayload adds the payload to the post evaluation batch default response

func (*PostEvaluationBatchDefault) WithStatusCode

WithStatusCode adds the status to the post evaluation batch default response

func (*PostEvaluationBatchDefault) WriteResponse

func (o *PostEvaluationBatchDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostEvaluationBatchHandler

type PostEvaluationBatchHandler interface {
	Handle(PostEvaluationBatchParams) middleware.Responder
}

PostEvaluationBatchHandler interface for that can handle valid post evaluation batch params

type PostEvaluationBatchHandlerFunc

type PostEvaluationBatchHandlerFunc func(PostEvaluationBatchParams) middleware.Responder

PostEvaluationBatchHandlerFunc turns a function with the right signature into a post evaluation batch handler

func (PostEvaluationBatchHandlerFunc) Handle

Handle executing the request and returning a response

type PostEvaluationBatchOK

type PostEvaluationBatchOK struct {

	/*
	  In: Body
	*/
	Payload *models.EvaluationBatchResponse `json:"body,omitempty"`
}

PostEvaluationBatchOK evaluation batch result

swagger:response postEvaluationBatchOK

func NewPostEvaluationBatchOK

func NewPostEvaluationBatchOK() *PostEvaluationBatchOK

NewPostEvaluationBatchOK creates PostEvaluationBatchOK with default headers values

func (*PostEvaluationBatchOK) SetPayload

func (o *PostEvaluationBatchOK) SetPayload(payload *models.EvaluationBatchResponse)

SetPayload sets the payload to the post evaluation batch o k response

func (*PostEvaluationBatchOK) WithPayload

WithPayload adds the payload to the post evaluation batch o k response

func (*PostEvaluationBatchOK) WriteResponse

func (o *PostEvaluationBatchOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostEvaluationBatchParams

type PostEvaluationBatchParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*evalution batch request
	  Required: true
	  In: body
	*/
	Body *models.EvaluationBatchRequest
}

PostEvaluationBatchParams contains all the bound params for the post evaluation batch operation typically these are obtained from a http.Request

swagger:parameters postEvaluationBatch

func NewPostEvaluationBatchParams

func NewPostEvaluationBatchParams() PostEvaluationBatchParams

NewPostEvaluationBatchParams creates a new PostEvaluationBatchParams object

There are no default values defined in the spec.

func (*PostEvaluationBatchParams) 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 NewPostEvaluationBatchParams() beforehand.

type PostEvaluationBatchURL

type PostEvaluationBatchURL struct {
	// contains filtered or unexported fields
}

PostEvaluationBatchURL generates an URL for the post evaluation batch operation

func (*PostEvaluationBatchURL) Build

func (o *PostEvaluationBatchURL) Build() (*url.URL, error)

Build a url path and query string

func (*PostEvaluationBatchURL) BuildFull

func (o *PostEvaluationBatchURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PostEvaluationBatchURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*PostEvaluationBatchURL) SetBasePath

func (o *PostEvaluationBatchURL) 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 (*PostEvaluationBatchURL) String

func (o *PostEvaluationBatchURL) String() string

String returns the string representation of the path with query string

func (*PostEvaluationBatchURL) StringFull

func (o *PostEvaluationBatchURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PostEvaluationBatchURL) 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 PostEvaluationDefault

type PostEvaluationDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PostEvaluationDefault generic error response

swagger:response postEvaluationDefault

func NewPostEvaluationDefault

func NewPostEvaluationDefault(code int) *PostEvaluationDefault

NewPostEvaluationDefault creates PostEvaluationDefault with default headers values

func (*PostEvaluationDefault) SetPayload

func (o *PostEvaluationDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the post evaluation default response

func (*PostEvaluationDefault) SetStatusCode

func (o *PostEvaluationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post evaluation default response

func (*PostEvaluationDefault) WithPayload

func (o *PostEvaluationDefault) WithPayload(payload *models.Error) *PostEvaluationDefault

WithPayload adds the payload to the post evaluation default response

func (*PostEvaluationDefault) WithStatusCode

func (o *PostEvaluationDefault) WithStatusCode(code int) *PostEvaluationDefault

WithStatusCode adds the status to the post evaluation default response

func (*PostEvaluationDefault) WriteResponse

func (o *PostEvaluationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostEvaluationHandler

type PostEvaluationHandler interface {
	Handle(PostEvaluationParams) middleware.Responder
}

PostEvaluationHandler interface for that can handle valid post evaluation params

type PostEvaluationHandlerFunc

type PostEvaluationHandlerFunc func(PostEvaluationParams) middleware.Responder

PostEvaluationHandlerFunc turns a function with the right signature into a post evaluation handler

func (PostEvaluationHandlerFunc) Handle

Handle executing the request and returning a response

type PostEvaluationOK

type PostEvaluationOK struct {

	/*
	  In: Body
	*/
	Payload *models.EvalResult `json:"body,omitempty"`
}

PostEvaluationOK evaluation result

swagger:response postEvaluationOK

func NewPostEvaluationOK

func NewPostEvaluationOK() *PostEvaluationOK

NewPostEvaluationOK creates PostEvaluationOK with default headers values

func (*PostEvaluationOK) SetPayload

func (o *PostEvaluationOK) SetPayload(payload *models.EvalResult)

SetPayload sets the payload to the post evaluation o k response

func (*PostEvaluationOK) WithPayload

func (o *PostEvaluationOK) WithPayload(payload *models.EvalResult) *PostEvaluationOK

WithPayload adds the payload to the post evaluation o k response

func (*PostEvaluationOK) WriteResponse

func (o *PostEvaluationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostEvaluationParams

type PostEvaluationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*evalution context
	  Required: true
	  In: body
	*/
	Body *models.EvalContext
}

PostEvaluationParams contains all the bound params for the post evaluation operation typically these are obtained from a http.Request

swagger:parameters postEvaluation

func NewPostEvaluationParams

func NewPostEvaluationParams() PostEvaluationParams

NewPostEvaluationParams creates a new PostEvaluationParams object

There are no default values defined in the spec.

func (*PostEvaluationParams) BindRequest

func (o *PostEvaluationParams) 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 NewPostEvaluationParams() beforehand.

type PostEvaluationURL

type PostEvaluationURL struct {
	// contains filtered or unexported fields
}

PostEvaluationURL generates an URL for the post evaluation operation

func (*PostEvaluationURL) Build

func (o *PostEvaluationURL) Build() (*url.URL, error)

Build a url path and query string

func (*PostEvaluationURL) BuildFull

func (o *PostEvaluationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PostEvaluationURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*PostEvaluationURL) SetBasePath

func (o *PostEvaluationURL) 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 (*PostEvaluationURL) String

func (o *PostEvaluationURL) String() string

String returns the string representation of the path with query string

func (*PostEvaluationURL) StringFull

func (o *PostEvaluationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PostEvaluationURL) WithBasePath

func (o *PostEvaluationURL) WithBasePath(bp string) *PostEvaluationURL

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

Jump to

Keyboard shortcuts

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