evaluation_reports

package
v0.0.0-...-c486877 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const CreateEvaluationReportBadRequestCode int = 400

CreateEvaluationReportBadRequestCode is the HTTP code returned for type CreateEvaluationReportBadRequest

View Source
const CreateEvaluationReportInternalServerErrorCode int = 500

CreateEvaluationReportInternalServerErrorCode is the HTTP code returned for type CreateEvaluationReportInternalServerError

View Source
const CreateEvaluationReportNotFoundCode int = 404

CreateEvaluationReportNotFoundCode is the HTTP code returned for type CreateEvaluationReportNotFound

View Source
const CreateEvaluationReportOKCode int = 200

CreateEvaluationReportOKCode is the HTTP code returned for type CreateEvaluationReportOK

View Source
const CreateEvaluationReportUnprocessableEntityCode int = 422

CreateEvaluationReportUnprocessableEntityCode is the HTTP code returned for type CreateEvaluationReportUnprocessableEntity

View Source
const DeleteEvaluationReportBadRequestCode int = 400

DeleteEvaluationReportBadRequestCode is the HTTP code returned for type DeleteEvaluationReportBadRequest

View Source
const DeleteEvaluationReportConflictCode int = 409

DeleteEvaluationReportConflictCode is the HTTP code returned for type DeleteEvaluationReportConflict

View Source
const DeleteEvaluationReportForbiddenCode int = 403

DeleteEvaluationReportForbiddenCode is the HTTP code returned for type DeleteEvaluationReportForbidden

View Source
const DeleteEvaluationReportInternalServerErrorCode int = 500

DeleteEvaluationReportInternalServerErrorCode is the HTTP code returned for type DeleteEvaluationReportInternalServerError

View Source
const DeleteEvaluationReportNoContentCode int = 204

DeleteEvaluationReportNoContentCode is the HTTP code returned for type DeleteEvaluationReportNoContent

View Source
const DeleteEvaluationReportNotFoundCode int = 404

DeleteEvaluationReportNotFoundCode is the HTTP code returned for type DeleteEvaluationReportNotFound

View Source
const DeleteEvaluationReportUnprocessableEntityCode int = 422

DeleteEvaluationReportUnprocessableEntityCode is the HTTP code returned for type DeleteEvaluationReportUnprocessableEntity

View Source
const DownloadEvaluationReportForbiddenCode int = 403

DownloadEvaluationReportForbiddenCode is the HTTP code returned for type DownloadEvaluationReportForbidden

View Source
const DownloadEvaluationReportInternalServerErrorCode int = 500

DownloadEvaluationReportInternalServerErrorCode is the HTTP code returned for type DownloadEvaluationReportInternalServerError

View Source
const DownloadEvaluationReportNotFoundCode int = 404

DownloadEvaluationReportNotFoundCode is the HTTP code returned for type DownloadEvaluationReportNotFound

View Source
const DownloadEvaluationReportOKCode int = 200

DownloadEvaluationReportOKCode is the HTTP code returned for type DownloadEvaluationReportOK

View Source
const GetEvaluationReportBadRequestCode int = 400

GetEvaluationReportBadRequestCode is the HTTP code returned for type GetEvaluationReportBadRequest

View Source
const GetEvaluationReportForbiddenCode int = 403

GetEvaluationReportForbiddenCode is the HTTP code returned for type GetEvaluationReportForbidden

View Source
const GetEvaluationReportInternalServerErrorCode int = 500

GetEvaluationReportInternalServerErrorCode is the HTTP code returned for type GetEvaluationReportInternalServerError

View Source
const GetEvaluationReportNotFoundCode int = 404

GetEvaluationReportNotFoundCode is the HTTP code returned for type GetEvaluationReportNotFound

View Source
const GetEvaluationReportOKCode int = 200

GetEvaluationReportOKCode is the HTTP code returned for type GetEvaluationReportOK

View Source
const SaveEvaluationReportBadRequestCode int = 400

SaveEvaluationReportBadRequestCode is the HTTP code returned for type SaveEvaluationReportBadRequest

View Source
const SaveEvaluationReportConflictCode int = 409

SaveEvaluationReportConflictCode is the HTTP code returned for type SaveEvaluationReportConflict

View Source
const SaveEvaluationReportForbiddenCode int = 403

SaveEvaluationReportForbiddenCode is the HTTP code returned for type SaveEvaluationReportForbidden

View Source
const SaveEvaluationReportInternalServerErrorCode int = 500

SaveEvaluationReportInternalServerErrorCode is the HTTP code returned for type SaveEvaluationReportInternalServerError

View Source
const SaveEvaluationReportNoContentCode int = 204

SaveEvaluationReportNoContentCode is the HTTP code returned for type SaveEvaluationReportNoContent

View Source
const SaveEvaluationReportNotFoundCode int = 404

SaveEvaluationReportNotFoundCode is the HTTP code returned for type SaveEvaluationReportNotFound

View Source
const SaveEvaluationReportPreconditionFailedCode int = 412

SaveEvaluationReportPreconditionFailedCode is the HTTP code returned for type SaveEvaluationReportPreconditionFailed

View Source
const SaveEvaluationReportUnprocessableEntityCode int = 422

SaveEvaluationReportUnprocessableEntityCode is the HTTP code returned for type SaveEvaluationReportUnprocessableEntity

View Source
const SubmitEvaluationReportForbiddenCode int = 403

SubmitEvaluationReportForbiddenCode is the HTTP code returned for type SubmitEvaluationReportForbidden

View Source
const SubmitEvaluationReportInternalServerErrorCode int = 500

SubmitEvaluationReportInternalServerErrorCode is the HTTP code returned for type SubmitEvaluationReportInternalServerError

View Source
const SubmitEvaluationReportNoContentCode int = 204

SubmitEvaluationReportNoContentCode is the HTTP code returned for type SubmitEvaluationReportNoContent

View Source
const SubmitEvaluationReportNotFoundCode int = 404

SubmitEvaluationReportNotFoundCode is the HTTP code returned for type SubmitEvaluationReportNotFound

View Source
const SubmitEvaluationReportPreconditionFailedCode int = 412

SubmitEvaluationReportPreconditionFailedCode is the HTTP code returned for type SubmitEvaluationReportPreconditionFailed

View Source
const SubmitEvaluationReportUnprocessableEntityCode int = 422

SubmitEvaluationReportUnprocessableEntityCode is the HTTP code returned for type SubmitEvaluationReportUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateEvaluationReport

type CreateEvaluationReport struct {
	Context *middleware.Context
	Handler CreateEvaluationReportHandler
}
CreateEvaluationReport swagger:route POST /moves/{locator}/evaluation-reports evaluationReports createEvaluationReport

Creates an evaluation report

Creates an evaluation report

func NewCreateEvaluationReport

func NewCreateEvaluationReport(ctx *middleware.Context, handler CreateEvaluationReportHandler) *CreateEvaluationReport

NewCreateEvaluationReport creates a new http.Handler for the create evaluation report operation

func (*CreateEvaluationReport) ServeHTTP

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

type CreateEvaluationReportBadRequest

type CreateEvaluationReportBadRequest struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

CreateEvaluationReportBadRequest The request payload is invalid

swagger:response createEvaluationReportBadRequest

func NewCreateEvaluationReportBadRequest

func NewCreateEvaluationReportBadRequest() *CreateEvaluationReportBadRequest

NewCreateEvaluationReportBadRequest creates CreateEvaluationReportBadRequest with default headers values

func (*CreateEvaluationReportBadRequest) SetPayload

func (o *CreateEvaluationReportBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the create evaluation report bad request response

func (*CreateEvaluationReportBadRequest) WithPayload

WithPayload adds the payload to the create evaluation report bad request response

func (*CreateEvaluationReportBadRequest) WriteResponse

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

WriteResponse to the client

type CreateEvaluationReportHandler

type CreateEvaluationReportHandler interface {
	Handle(CreateEvaluationReportParams) middleware.Responder
}

CreateEvaluationReportHandler interface for that can handle valid create evaluation report params

type CreateEvaluationReportHandlerFunc

type CreateEvaluationReportHandlerFunc func(CreateEvaluationReportParams) middleware.Responder

CreateEvaluationReportHandlerFunc turns a function with the right signature into a create evaluation report handler

func (CreateEvaluationReportHandlerFunc) Handle

Handle executing the request and returning a response

type CreateEvaluationReportInternalServerError

type CreateEvaluationReportInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

CreateEvaluationReportInternalServerError A server error occurred

swagger:response createEvaluationReportInternalServerError

func NewCreateEvaluationReportInternalServerError

func NewCreateEvaluationReportInternalServerError() *CreateEvaluationReportInternalServerError

NewCreateEvaluationReportInternalServerError creates CreateEvaluationReportInternalServerError with default headers values

func (*CreateEvaluationReportInternalServerError) SetPayload

SetPayload sets the payload to the create evaluation report internal server error response

func (*CreateEvaluationReportInternalServerError) WithPayload

WithPayload adds the payload to the create evaluation report internal server error response

func (*CreateEvaluationReportInternalServerError) WriteResponse

WriteResponse to the client

type CreateEvaluationReportNotFound

type CreateEvaluationReportNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

CreateEvaluationReportNotFound The requested resource wasn't found

swagger:response createEvaluationReportNotFound

func NewCreateEvaluationReportNotFound

func NewCreateEvaluationReportNotFound() *CreateEvaluationReportNotFound

NewCreateEvaluationReportNotFound creates CreateEvaluationReportNotFound with default headers values

func (*CreateEvaluationReportNotFound) SetPayload

func (o *CreateEvaluationReportNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the create evaluation report not found response

func (*CreateEvaluationReportNotFound) WithPayload

WithPayload adds the payload to the create evaluation report not found response

func (*CreateEvaluationReportNotFound) WriteResponse

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

WriteResponse to the client

type CreateEvaluationReportOK

type CreateEvaluationReportOK struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.EvaluationReport `json:"body,omitempty"`
}

CreateEvaluationReportOK Successfully created evaluation report

swagger:response createEvaluationReportOK

func NewCreateEvaluationReportOK

func NewCreateEvaluationReportOK() *CreateEvaluationReportOK

NewCreateEvaluationReportOK creates CreateEvaluationReportOK with default headers values

func (*CreateEvaluationReportOK) SetPayload

func (o *CreateEvaluationReportOK) SetPayload(payload *ghcmessages.EvaluationReport)

SetPayload sets the payload to the create evaluation report o k response

func (*CreateEvaluationReportOK) WithPayload

WithPayload adds the payload to the create evaluation report o k response

func (*CreateEvaluationReportOK) WriteResponse

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

WriteResponse to the client

type CreateEvaluationReportParams

type CreateEvaluationReportParams struct {

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

	/*
	  In: body
	*/
	Body *ghcmessages.CreateEvaluationReport
	/*
	  Required: true
	  In: path
	*/
	Locator string
}

CreateEvaluationReportParams contains all the bound params for the create evaluation report operation typically these are obtained from a http.Request

swagger:parameters createEvaluationReport

func NewCreateEvaluationReportParams

func NewCreateEvaluationReportParams() CreateEvaluationReportParams

NewCreateEvaluationReportParams creates a new CreateEvaluationReportParams object

There are no default values defined in the spec.

func (*CreateEvaluationReportParams) 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 NewCreateEvaluationReportParams() beforehand.

type CreateEvaluationReportURL

type CreateEvaluationReportURL struct {
	Locator string
	// contains filtered or unexported fields
}

CreateEvaluationReportURL generates an URL for the create evaluation report operation

func (*CreateEvaluationReportURL) Build

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

Build a url path and query string

func (*CreateEvaluationReportURL) BuildFull

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

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

func (*CreateEvaluationReportURL) Must

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

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

func (*CreateEvaluationReportURL) SetBasePath

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

func (o *CreateEvaluationReportURL) String() string

String returns the string representation of the path with query string

func (*CreateEvaluationReportURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateEvaluationReportURL) 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 CreateEvaluationReportUnprocessableEntity

type CreateEvaluationReportUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ValidationError `json:"body,omitempty"`
}

CreateEvaluationReportUnprocessableEntity The payload was unprocessable.

swagger:response createEvaluationReportUnprocessableEntity

func NewCreateEvaluationReportUnprocessableEntity

func NewCreateEvaluationReportUnprocessableEntity() *CreateEvaluationReportUnprocessableEntity

NewCreateEvaluationReportUnprocessableEntity creates CreateEvaluationReportUnprocessableEntity with default headers values

func (*CreateEvaluationReportUnprocessableEntity) SetPayload

SetPayload sets the payload to the create evaluation report unprocessable entity response

func (*CreateEvaluationReportUnprocessableEntity) WithPayload

WithPayload adds the payload to the create evaluation report unprocessable entity response

func (*CreateEvaluationReportUnprocessableEntity) WriteResponse

WriteResponse to the client

type DeleteEvaluationReport

type DeleteEvaluationReport struct {
	Context *middleware.Context
	Handler DeleteEvaluationReportHandler
}
DeleteEvaluationReport swagger:route DELETE /evaluation-reports/{reportID} evaluationReports deleteEvaluationReport

Deletes an evaluation report by ID

Deletes an evaluation report by ID

func NewDeleteEvaluationReport

func NewDeleteEvaluationReport(ctx *middleware.Context, handler DeleteEvaluationReportHandler) *DeleteEvaluationReport

NewDeleteEvaluationReport creates a new http.Handler for the delete evaluation report operation

func (*DeleteEvaluationReport) ServeHTTP

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

type DeleteEvaluationReportBadRequest

type DeleteEvaluationReportBadRequest struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

DeleteEvaluationReportBadRequest The request payload is invalid

swagger:response deleteEvaluationReportBadRequest

func NewDeleteEvaluationReportBadRequest

func NewDeleteEvaluationReportBadRequest() *DeleteEvaluationReportBadRequest

NewDeleteEvaluationReportBadRequest creates DeleteEvaluationReportBadRequest with default headers values

func (*DeleteEvaluationReportBadRequest) SetPayload

func (o *DeleteEvaluationReportBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the delete evaluation report bad request response

func (*DeleteEvaluationReportBadRequest) WithPayload

WithPayload adds the payload to the delete evaluation report bad request response

func (*DeleteEvaluationReportBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteEvaluationReportConflict

type DeleteEvaluationReportConflict struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

DeleteEvaluationReportConflict Conflict error

swagger:response deleteEvaluationReportConflict

func NewDeleteEvaluationReportConflict

func NewDeleteEvaluationReportConflict() *DeleteEvaluationReportConflict

NewDeleteEvaluationReportConflict creates DeleteEvaluationReportConflict with default headers values

func (*DeleteEvaluationReportConflict) SetPayload

func (o *DeleteEvaluationReportConflict) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the delete evaluation report conflict response

func (*DeleteEvaluationReportConflict) WithPayload

WithPayload adds the payload to the delete evaluation report conflict response

func (*DeleteEvaluationReportConflict) WriteResponse

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

WriteResponse to the client

type DeleteEvaluationReportForbidden

type DeleteEvaluationReportForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

DeleteEvaluationReportForbidden The request was denied

swagger:response deleteEvaluationReportForbidden

func NewDeleteEvaluationReportForbidden

func NewDeleteEvaluationReportForbidden() *DeleteEvaluationReportForbidden

NewDeleteEvaluationReportForbidden creates DeleteEvaluationReportForbidden with default headers values

func (*DeleteEvaluationReportForbidden) SetPayload

func (o *DeleteEvaluationReportForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the delete evaluation report forbidden response

func (*DeleteEvaluationReportForbidden) WithPayload

WithPayload adds the payload to the delete evaluation report forbidden response

func (*DeleteEvaluationReportForbidden) WriteResponse

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

WriteResponse to the client

type DeleteEvaluationReportHandler

type DeleteEvaluationReportHandler interface {
	Handle(DeleteEvaluationReportParams) middleware.Responder
}

DeleteEvaluationReportHandler interface for that can handle valid delete evaluation report params

type DeleteEvaluationReportHandlerFunc

type DeleteEvaluationReportHandlerFunc func(DeleteEvaluationReportParams) middleware.Responder

DeleteEvaluationReportHandlerFunc turns a function with the right signature into a delete evaluation report handler

func (DeleteEvaluationReportHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteEvaluationReportInternalServerError

type DeleteEvaluationReportInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

DeleteEvaluationReportInternalServerError A server error occurred

swagger:response deleteEvaluationReportInternalServerError

func NewDeleteEvaluationReportInternalServerError

func NewDeleteEvaluationReportInternalServerError() *DeleteEvaluationReportInternalServerError

NewDeleteEvaluationReportInternalServerError creates DeleteEvaluationReportInternalServerError with default headers values

func (*DeleteEvaluationReportInternalServerError) SetPayload

SetPayload sets the payload to the delete evaluation report internal server error response

func (*DeleteEvaluationReportInternalServerError) WithPayload

WithPayload adds the payload to the delete evaluation report internal server error response

func (*DeleteEvaluationReportInternalServerError) WriteResponse

WriteResponse to the client

type DeleteEvaluationReportNoContent

type DeleteEvaluationReportNoContent struct {
}

DeleteEvaluationReportNoContent Successfully deleted the report

swagger:response deleteEvaluationReportNoContent

func NewDeleteEvaluationReportNoContent

func NewDeleteEvaluationReportNoContent() *DeleteEvaluationReportNoContent

NewDeleteEvaluationReportNoContent creates DeleteEvaluationReportNoContent with default headers values

func (*DeleteEvaluationReportNoContent) WriteResponse

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

WriteResponse to the client

type DeleteEvaluationReportNotFound

type DeleteEvaluationReportNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

DeleteEvaluationReportNotFound The requested resource wasn't found

swagger:response deleteEvaluationReportNotFound

func NewDeleteEvaluationReportNotFound

func NewDeleteEvaluationReportNotFound() *DeleteEvaluationReportNotFound

NewDeleteEvaluationReportNotFound creates DeleteEvaluationReportNotFound with default headers values

func (*DeleteEvaluationReportNotFound) SetPayload

func (o *DeleteEvaluationReportNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the delete evaluation report not found response

func (*DeleteEvaluationReportNotFound) WithPayload

WithPayload adds the payload to the delete evaluation report not found response

func (*DeleteEvaluationReportNotFound) WriteResponse

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

WriteResponse to the client

type DeleteEvaluationReportParams

type DeleteEvaluationReportParams struct {

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

	/*the evaluation report ID to be modified
	  Required: true
	  In: path
	*/
	ReportID strfmt.UUID
}

DeleteEvaluationReportParams contains all the bound params for the delete evaluation report operation typically these are obtained from a http.Request

swagger:parameters deleteEvaluationReport

func NewDeleteEvaluationReportParams

func NewDeleteEvaluationReportParams() DeleteEvaluationReportParams

NewDeleteEvaluationReportParams creates a new DeleteEvaluationReportParams object

There are no default values defined in the spec.

func (*DeleteEvaluationReportParams) 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 NewDeleteEvaluationReportParams() beforehand.

type DeleteEvaluationReportURL

type DeleteEvaluationReportURL struct {
	ReportID strfmt.UUID
	// contains filtered or unexported fields
}

DeleteEvaluationReportURL generates an URL for the delete evaluation report operation

func (*DeleteEvaluationReportURL) Build

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

Build a url path and query string

func (*DeleteEvaluationReportURL) BuildFull

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

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

func (*DeleteEvaluationReportURL) Must

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

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

func (*DeleteEvaluationReportURL) SetBasePath

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

func (o *DeleteEvaluationReportURL) String() string

String returns the string representation of the path with query string

func (*DeleteEvaluationReportURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteEvaluationReportURL) 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 DeleteEvaluationReportUnprocessableEntity

type DeleteEvaluationReportUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ValidationError `json:"body,omitempty"`
}

DeleteEvaluationReportUnprocessableEntity The payload was unprocessable.

swagger:response deleteEvaluationReportUnprocessableEntity

func NewDeleteEvaluationReportUnprocessableEntity

func NewDeleteEvaluationReportUnprocessableEntity() *DeleteEvaluationReportUnprocessableEntity

NewDeleteEvaluationReportUnprocessableEntity creates DeleteEvaluationReportUnprocessableEntity with default headers values

func (*DeleteEvaluationReportUnprocessableEntity) SetPayload

SetPayload sets the payload to the delete evaluation report unprocessable entity response

func (*DeleteEvaluationReportUnprocessableEntity) WithPayload

WithPayload adds the payload to the delete evaluation report unprocessable entity response

func (*DeleteEvaluationReportUnprocessableEntity) WriteResponse

WriteResponse to the client

type DownloadEvaluationReport

type DownloadEvaluationReport struct {
	Context *middleware.Context
	Handler DownloadEvaluationReportHandler
}
DownloadEvaluationReport swagger:route GET /evaluation-reports/{reportID}/download evaluationReports downloadEvaluationReport

Downloads an evaluation report as a PDF

Downloads an evaluation report as a PDF

func NewDownloadEvaluationReport

func NewDownloadEvaluationReport(ctx *middleware.Context, handler DownloadEvaluationReportHandler) *DownloadEvaluationReport

NewDownloadEvaluationReport creates a new http.Handler for the download evaluation report operation

func (*DownloadEvaluationReport) ServeHTTP

type DownloadEvaluationReportForbidden

type DownloadEvaluationReportForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

DownloadEvaluationReportForbidden The request was denied

swagger:response downloadEvaluationReportForbidden

func NewDownloadEvaluationReportForbidden

func NewDownloadEvaluationReportForbidden() *DownloadEvaluationReportForbidden

NewDownloadEvaluationReportForbidden creates DownloadEvaluationReportForbidden with default headers values

func (*DownloadEvaluationReportForbidden) SetPayload

func (o *DownloadEvaluationReportForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the download evaluation report forbidden response

func (*DownloadEvaluationReportForbidden) WithPayload

WithPayload adds the payload to the download evaluation report forbidden response

func (*DownloadEvaluationReportForbidden) WriteResponse

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

WriteResponse to the client

type DownloadEvaluationReportHandler

type DownloadEvaluationReportHandler interface {
	Handle(DownloadEvaluationReportParams) middleware.Responder
}

DownloadEvaluationReportHandler interface for that can handle valid download evaluation report params

type DownloadEvaluationReportHandlerFunc

type DownloadEvaluationReportHandlerFunc func(DownloadEvaluationReportParams) middleware.Responder

DownloadEvaluationReportHandlerFunc turns a function with the right signature into a download evaluation report handler

func (DownloadEvaluationReportHandlerFunc) Handle

Handle executing the request and returning a response

type DownloadEvaluationReportInternalServerError

type DownloadEvaluationReportInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

DownloadEvaluationReportInternalServerError A server error occurred

swagger:response downloadEvaluationReportInternalServerError

func NewDownloadEvaluationReportInternalServerError

func NewDownloadEvaluationReportInternalServerError() *DownloadEvaluationReportInternalServerError

NewDownloadEvaluationReportInternalServerError creates DownloadEvaluationReportInternalServerError with default headers values

func (*DownloadEvaluationReportInternalServerError) SetPayload

SetPayload sets the payload to the download evaluation report internal server error response

func (*DownloadEvaluationReportInternalServerError) WithPayload

WithPayload adds the payload to the download evaluation report internal server error response

func (*DownloadEvaluationReportInternalServerError) WriteResponse

WriteResponse to the client

type DownloadEvaluationReportNotFound

type DownloadEvaluationReportNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

DownloadEvaluationReportNotFound The requested resource wasn't found

swagger:response downloadEvaluationReportNotFound

func NewDownloadEvaluationReportNotFound

func NewDownloadEvaluationReportNotFound() *DownloadEvaluationReportNotFound

NewDownloadEvaluationReportNotFound creates DownloadEvaluationReportNotFound with default headers values

func (*DownloadEvaluationReportNotFound) SetPayload

func (o *DownloadEvaluationReportNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the download evaluation report not found response

func (*DownloadEvaluationReportNotFound) WithPayload

WithPayload adds the payload to the download evaluation report not found response

func (*DownloadEvaluationReportNotFound) WriteResponse

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

WriteResponse to the client

type DownloadEvaluationReportOK

type DownloadEvaluationReportOK struct {
	/*File name to download

	 */
	ContentDisposition string `json:"Content-Disposition"`

	/*
	  In: Body
	*/
	Payload io.ReadCloser `json:"body,omitempty"`
}

DownloadEvaluationReportOK Evaluation report PDF

swagger:response downloadEvaluationReportOK

func NewDownloadEvaluationReportOK

func NewDownloadEvaluationReportOK() *DownloadEvaluationReportOK

NewDownloadEvaluationReportOK creates DownloadEvaluationReportOK with default headers values

func (*DownloadEvaluationReportOK) SetContentDisposition

func (o *DownloadEvaluationReportOK) SetContentDisposition(contentDisposition string)

SetContentDisposition sets the contentDisposition to the download evaluation report o k response

func (*DownloadEvaluationReportOK) SetPayload

func (o *DownloadEvaluationReportOK) SetPayload(payload io.ReadCloser)

SetPayload sets the payload to the download evaluation report o k response

func (*DownloadEvaluationReportOK) WithContentDisposition

func (o *DownloadEvaluationReportOK) WithContentDisposition(contentDisposition string) *DownloadEvaluationReportOK

WithContentDisposition adds the contentDisposition to the download evaluation report o k response

func (*DownloadEvaluationReportOK) WithPayload

WithPayload adds the payload to the download evaluation report o k response

func (*DownloadEvaluationReportOK) WriteResponse

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

WriteResponse to the client

type DownloadEvaluationReportParams

type DownloadEvaluationReportParams struct {

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

	/*the evaluation report ID to be downloaded
	  Required: true
	  In: path
	*/
	ReportID strfmt.UUID
}

DownloadEvaluationReportParams contains all the bound params for the download evaluation report operation typically these are obtained from a http.Request

swagger:parameters downloadEvaluationReport

func NewDownloadEvaluationReportParams

func NewDownloadEvaluationReportParams() DownloadEvaluationReportParams

NewDownloadEvaluationReportParams creates a new DownloadEvaluationReportParams object

There are no default values defined in the spec.

func (*DownloadEvaluationReportParams) 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 NewDownloadEvaluationReportParams() beforehand.

type DownloadEvaluationReportURL

type DownloadEvaluationReportURL struct {
	ReportID strfmt.UUID
	// contains filtered or unexported fields
}

DownloadEvaluationReportURL generates an URL for the download evaluation report operation

func (*DownloadEvaluationReportURL) Build

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

Build a url path and query string

func (*DownloadEvaluationReportURL) BuildFull

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

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

func (*DownloadEvaluationReportURL) Must

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

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

func (*DownloadEvaluationReportURL) SetBasePath

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

func (o *DownloadEvaluationReportURL) String() string

String returns the string representation of the path with query string

func (*DownloadEvaluationReportURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DownloadEvaluationReportURL) 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 GetEvaluationReport

type GetEvaluationReport struct {
	Context *middleware.Context
	Handler GetEvaluationReportHandler
}
GetEvaluationReport swagger:route GET /evaluation-reports/{reportID} evaluationReports getEvaluationReport

Gets an evaluation report by ID

Gets an evaluation report by ID

func NewGetEvaluationReport

func NewGetEvaluationReport(ctx *middleware.Context, handler GetEvaluationReportHandler) *GetEvaluationReport

NewGetEvaluationReport creates a new http.Handler for the get evaluation report operation

func (*GetEvaluationReport) ServeHTTP

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

type GetEvaluationReportBadRequest

type GetEvaluationReportBadRequest struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetEvaluationReportBadRequest The request payload is invalid

swagger:response getEvaluationReportBadRequest

func NewGetEvaluationReportBadRequest

func NewGetEvaluationReportBadRequest() *GetEvaluationReportBadRequest

NewGetEvaluationReportBadRequest creates GetEvaluationReportBadRequest with default headers values

func (*GetEvaluationReportBadRequest) SetPayload

func (o *GetEvaluationReportBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get evaluation report bad request response

func (*GetEvaluationReportBadRequest) WithPayload

WithPayload adds the payload to the get evaluation report bad request response

func (*GetEvaluationReportBadRequest) WriteResponse

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

WriteResponse to the client

type GetEvaluationReportForbidden

type GetEvaluationReportForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetEvaluationReportForbidden The request was denied

swagger:response getEvaluationReportForbidden

func NewGetEvaluationReportForbidden

func NewGetEvaluationReportForbidden() *GetEvaluationReportForbidden

NewGetEvaluationReportForbidden creates GetEvaluationReportForbidden with default headers values

func (*GetEvaluationReportForbidden) SetPayload

func (o *GetEvaluationReportForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get evaluation report forbidden response

func (*GetEvaluationReportForbidden) WithPayload

WithPayload adds the payload to the get evaluation report forbidden response

func (*GetEvaluationReportForbidden) WriteResponse

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

WriteResponse to the client

type GetEvaluationReportHandler

type GetEvaluationReportHandler interface {
	Handle(GetEvaluationReportParams) middleware.Responder
}

GetEvaluationReportHandler interface for that can handle valid get evaluation report params

type GetEvaluationReportHandlerFunc

type GetEvaluationReportHandlerFunc func(GetEvaluationReportParams) middleware.Responder

GetEvaluationReportHandlerFunc turns a function with the right signature into a get evaluation report handler

func (GetEvaluationReportHandlerFunc) Handle

Handle executing the request and returning a response

type GetEvaluationReportInternalServerError

type GetEvaluationReportInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetEvaluationReportInternalServerError A server error occurred

swagger:response getEvaluationReportInternalServerError

func NewGetEvaluationReportInternalServerError

func NewGetEvaluationReportInternalServerError() *GetEvaluationReportInternalServerError

NewGetEvaluationReportInternalServerError creates GetEvaluationReportInternalServerError with default headers values

func (*GetEvaluationReportInternalServerError) SetPayload

SetPayload sets the payload to the get evaluation report internal server error response

func (*GetEvaluationReportInternalServerError) WithPayload

WithPayload adds the payload to the get evaluation report internal server error response

func (*GetEvaluationReportInternalServerError) WriteResponse

WriteResponse to the client

type GetEvaluationReportNotFound

type GetEvaluationReportNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetEvaluationReportNotFound The requested resource wasn't found

swagger:response getEvaluationReportNotFound

func NewGetEvaluationReportNotFound

func NewGetEvaluationReportNotFound() *GetEvaluationReportNotFound

NewGetEvaluationReportNotFound creates GetEvaluationReportNotFound with default headers values

func (*GetEvaluationReportNotFound) SetPayload

func (o *GetEvaluationReportNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get evaluation report not found response

func (*GetEvaluationReportNotFound) WithPayload

WithPayload adds the payload to the get evaluation report not found response

func (*GetEvaluationReportNotFound) WriteResponse

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

WriteResponse to the client

type GetEvaluationReportOK

type GetEvaluationReportOK struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.EvaluationReport `json:"body,omitempty"`
}

GetEvaluationReportOK Successfully got the report

swagger:response getEvaluationReportOK

func NewGetEvaluationReportOK

func NewGetEvaluationReportOK() *GetEvaluationReportOK

NewGetEvaluationReportOK creates GetEvaluationReportOK with default headers values

func (*GetEvaluationReportOK) SetPayload

func (o *GetEvaluationReportOK) SetPayload(payload *ghcmessages.EvaluationReport)

SetPayload sets the payload to the get evaluation report o k response

func (*GetEvaluationReportOK) WithPayload

WithPayload adds the payload to the get evaluation report o k response

func (*GetEvaluationReportOK) WriteResponse

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

WriteResponse to the client

type GetEvaluationReportParams

type GetEvaluationReportParams struct {

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

	/*the evaluation report ID to be modified
	  Required: true
	  In: path
	*/
	ReportID strfmt.UUID
}

GetEvaluationReportParams contains all the bound params for the get evaluation report operation typically these are obtained from a http.Request

swagger:parameters getEvaluationReport

func NewGetEvaluationReportParams

func NewGetEvaluationReportParams() GetEvaluationReportParams

NewGetEvaluationReportParams creates a new GetEvaluationReportParams object

There are no default values defined in the spec.

func (*GetEvaluationReportParams) 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 NewGetEvaluationReportParams() beforehand.

type GetEvaluationReportURL

type GetEvaluationReportURL struct {
	ReportID strfmt.UUID
	// contains filtered or unexported fields
}

GetEvaluationReportURL generates an URL for the get evaluation report operation

func (*GetEvaluationReportURL) Build

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

Build a url path and query string

func (*GetEvaluationReportURL) BuildFull

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

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

func (*GetEvaluationReportURL) Must

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

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

func (*GetEvaluationReportURL) SetBasePath

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

func (o *GetEvaluationReportURL) String() string

String returns the string representation of the path with query string

func (*GetEvaluationReportURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetEvaluationReportURL) 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 SaveEvaluationReport

type SaveEvaluationReport struct {
	Context *middleware.Context
	Handler SaveEvaluationReportHandler
}
SaveEvaluationReport swagger:route PUT /evaluation-reports/{reportID} evaluationReports saveEvaluationReport

Saves an evaluation report as a draft

Saves an evaluation report as a draft

func NewSaveEvaluationReport

func NewSaveEvaluationReport(ctx *middleware.Context, handler SaveEvaluationReportHandler) *SaveEvaluationReport

NewSaveEvaluationReport creates a new http.Handler for the save evaluation report operation

func (*SaveEvaluationReport) ServeHTTP

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

type SaveEvaluationReportBadRequest

type SaveEvaluationReportBadRequest struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

SaveEvaluationReportBadRequest The request payload is invalid

swagger:response saveEvaluationReportBadRequest

func NewSaveEvaluationReportBadRequest

func NewSaveEvaluationReportBadRequest() *SaveEvaluationReportBadRequest

NewSaveEvaluationReportBadRequest creates SaveEvaluationReportBadRequest with default headers values

func (*SaveEvaluationReportBadRequest) SetPayload

func (o *SaveEvaluationReportBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the save evaluation report bad request response

func (*SaveEvaluationReportBadRequest) WithPayload

WithPayload adds the payload to the save evaluation report bad request response

func (*SaveEvaluationReportBadRequest) WriteResponse

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

WriteResponse to the client

type SaveEvaluationReportConflict

type SaveEvaluationReportConflict struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

SaveEvaluationReportConflict Conflict error

swagger:response saveEvaluationReportConflict

func NewSaveEvaluationReportConflict

func NewSaveEvaluationReportConflict() *SaveEvaluationReportConflict

NewSaveEvaluationReportConflict creates SaveEvaluationReportConflict with default headers values

func (*SaveEvaluationReportConflict) SetPayload

func (o *SaveEvaluationReportConflict) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the save evaluation report conflict response

func (*SaveEvaluationReportConflict) WithPayload

WithPayload adds the payload to the save evaluation report conflict response

func (*SaveEvaluationReportConflict) WriteResponse

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

WriteResponse to the client

type SaveEvaluationReportForbidden

type SaveEvaluationReportForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

SaveEvaluationReportForbidden The request was denied

swagger:response saveEvaluationReportForbidden

func NewSaveEvaluationReportForbidden

func NewSaveEvaluationReportForbidden() *SaveEvaluationReportForbidden

NewSaveEvaluationReportForbidden creates SaveEvaluationReportForbidden with default headers values

func (*SaveEvaluationReportForbidden) SetPayload

func (o *SaveEvaluationReportForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the save evaluation report forbidden response

func (*SaveEvaluationReportForbidden) WithPayload

WithPayload adds the payload to the save evaluation report forbidden response

func (*SaveEvaluationReportForbidden) WriteResponse

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

WriteResponse to the client

type SaveEvaluationReportHandler

type SaveEvaluationReportHandler interface {
	Handle(SaveEvaluationReportParams) middleware.Responder
}

SaveEvaluationReportHandler interface for that can handle valid save evaluation report params

type SaveEvaluationReportHandlerFunc

type SaveEvaluationReportHandlerFunc func(SaveEvaluationReportParams) middleware.Responder

SaveEvaluationReportHandlerFunc turns a function with the right signature into a save evaluation report handler

func (SaveEvaluationReportHandlerFunc) Handle

Handle executing the request and returning a response

type SaveEvaluationReportInternalServerError

type SaveEvaluationReportInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

SaveEvaluationReportInternalServerError A server error occurred

swagger:response saveEvaluationReportInternalServerError

func NewSaveEvaluationReportInternalServerError

func NewSaveEvaluationReportInternalServerError() *SaveEvaluationReportInternalServerError

NewSaveEvaluationReportInternalServerError creates SaveEvaluationReportInternalServerError with default headers values

func (*SaveEvaluationReportInternalServerError) SetPayload

SetPayload sets the payload to the save evaluation report internal server error response

func (*SaveEvaluationReportInternalServerError) WithPayload

WithPayload adds the payload to the save evaluation report internal server error response

func (*SaveEvaluationReportInternalServerError) WriteResponse

WriteResponse to the client

type SaveEvaluationReportNoContent

type SaveEvaluationReportNoContent struct {
}

SaveEvaluationReportNoContent Successfully saved the report

swagger:response saveEvaluationReportNoContent

func NewSaveEvaluationReportNoContent

func NewSaveEvaluationReportNoContent() *SaveEvaluationReportNoContent

NewSaveEvaluationReportNoContent creates SaveEvaluationReportNoContent with default headers values

func (*SaveEvaluationReportNoContent) WriteResponse

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

WriteResponse to the client

type SaveEvaluationReportNotFound

type SaveEvaluationReportNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

SaveEvaluationReportNotFound The requested resource wasn't found

swagger:response saveEvaluationReportNotFound

func NewSaveEvaluationReportNotFound

func NewSaveEvaluationReportNotFound() *SaveEvaluationReportNotFound

NewSaveEvaluationReportNotFound creates SaveEvaluationReportNotFound with default headers values

func (*SaveEvaluationReportNotFound) SetPayload

func (o *SaveEvaluationReportNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the save evaluation report not found response

func (*SaveEvaluationReportNotFound) WithPayload

WithPayload adds the payload to the save evaluation report not found response

func (*SaveEvaluationReportNotFound) WriteResponse

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

WriteResponse to the client

type SaveEvaluationReportParams

type SaveEvaluationReportParams struct {

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

	/*Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error.

	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  In: body
	*/
	Body *ghcmessages.EvaluationReport
	/*the evaluation report ID to be modified
	  Required: true
	  In: path
	*/
	ReportID strfmt.UUID
}

SaveEvaluationReportParams contains all the bound params for the save evaluation report operation typically these are obtained from a http.Request

swagger:parameters saveEvaluationReport

func NewSaveEvaluationReportParams

func NewSaveEvaluationReportParams() SaveEvaluationReportParams

NewSaveEvaluationReportParams creates a new SaveEvaluationReportParams object

There are no default values defined in the spec.

func (*SaveEvaluationReportParams) 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 NewSaveEvaluationReportParams() beforehand.

type SaveEvaluationReportPreconditionFailed

type SaveEvaluationReportPreconditionFailed struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

SaveEvaluationReportPreconditionFailed Precondition failed

swagger:response saveEvaluationReportPreconditionFailed

func NewSaveEvaluationReportPreconditionFailed

func NewSaveEvaluationReportPreconditionFailed() *SaveEvaluationReportPreconditionFailed

NewSaveEvaluationReportPreconditionFailed creates SaveEvaluationReportPreconditionFailed with default headers values

func (*SaveEvaluationReportPreconditionFailed) SetPayload

SetPayload sets the payload to the save evaluation report precondition failed response

func (*SaveEvaluationReportPreconditionFailed) WithPayload

WithPayload adds the payload to the save evaluation report precondition failed response

func (*SaveEvaluationReportPreconditionFailed) WriteResponse

WriteResponse to the client

type SaveEvaluationReportURL

type SaveEvaluationReportURL struct {
	ReportID strfmt.UUID
	// contains filtered or unexported fields
}

SaveEvaluationReportURL generates an URL for the save evaluation report operation

func (*SaveEvaluationReportURL) Build

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

Build a url path and query string

func (*SaveEvaluationReportURL) BuildFull

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

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

func (*SaveEvaluationReportURL) Must

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

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

func (*SaveEvaluationReportURL) SetBasePath

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

func (o *SaveEvaluationReportURL) String() string

String returns the string representation of the path with query string

func (*SaveEvaluationReportURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SaveEvaluationReportURL) 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 SaveEvaluationReportUnprocessableEntity

type SaveEvaluationReportUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ValidationError `json:"body,omitempty"`
}

SaveEvaluationReportUnprocessableEntity The payload was unprocessable.

swagger:response saveEvaluationReportUnprocessableEntity

func NewSaveEvaluationReportUnprocessableEntity

func NewSaveEvaluationReportUnprocessableEntity() *SaveEvaluationReportUnprocessableEntity

NewSaveEvaluationReportUnprocessableEntity creates SaveEvaluationReportUnprocessableEntity with default headers values

func (*SaveEvaluationReportUnprocessableEntity) SetPayload

SetPayload sets the payload to the save evaluation report unprocessable entity response

func (*SaveEvaluationReportUnprocessableEntity) WithPayload

WithPayload adds the payload to the save evaluation report unprocessable entity response

func (*SaveEvaluationReportUnprocessableEntity) WriteResponse

WriteResponse to the client

type SubmitEvaluationReport

type SubmitEvaluationReport struct {
	Context *middleware.Context
	Handler SubmitEvaluationReportHandler
}
SubmitEvaluationReport swagger:route POST /evaluation-reports/{reportID}/submit evaluationReports submitEvaluationReport

Submits an evaluation report

Submits an evaluation report

func NewSubmitEvaluationReport

func NewSubmitEvaluationReport(ctx *middleware.Context, handler SubmitEvaluationReportHandler) *SubmitEvaluationReport

NewSubmitEvaluationReport creates a new http.Handler for the submit evaluation report operation

func (*SubmitEvaluationReport) ServeHTTP

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

type SubmitEvaluationReportForbidden

type SubmitEvaluationReportForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

SubmitEvaluationReportForbidden The request was denied

swagger:response submitEvaluationReportForbidden

func NewSubmitEvaluationReportForbidden

func NewSubmitEvaluationReportForbidden() *SubmitEvaluationReportForbidden

NewSubmitEvaluationReportForbidden creates SubmitEvaluationReportForbidden with default headers values

func (*SubmitEvaluationReportForbidden) SetPayload

func (o *SubmitEvaluationReportForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the submit evaluation report forbidden response

func (*SubmitEvaluationReportForbidden) WithPayload

WithPayload adds the payload to the submit evaluation report forbidden response

func (*SubmitEvaluationReportForbidden) WriteResponse

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

WriteResponse to the client

type SubmitEvaluationReportHandler

type SubmitEvaluationReportHandler interface {
	Handle(SubmitEvaluationReportParams) middleware.Responder
}

SubmitEvaluationReportHandler interface for that can handle valid submit evaluation report params

type SubmitEvaluationReportHandlerFunc

type SubmitEvaluationReportHandlerFunc func(SubmitEvaluationReportParams) middleware.Responder

SubmitEvaluationReportHandlerFunc turns a function with the right signature into a submit evaluation report handler

func (SubmitEvaluationReportHandlerFunc) Handle

Handle executing the request and returning a response

type SubmitEvaluationReportInternalServerError

type SubmitEvaluationReportInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

SubmitEvaluationReportInternalServerError A server error occurred

swagger:response submitEvaluationReportInternalServerError

func NewSubmitEvaluationReportInternalServerError

func NewSubmitEvaluationReportInternalServerError() *SubmitEvaluationReportInternalServerError

NewSubmitEvaluationReportInternalServerError creates SubmitEvaluationReportInternalServerError with default headers values

func (*SubmitEvaluationReportInternalServerError) SetPayload

SetPayload sets the payload to the submit evaluation report internal server error response

func (*SubmitEvaluationReportInternalServerError) WithPayload

WithPayload adds the payload to the submit evaluation report internal server error response

func (*SubmitEvaluationReportInternalServerError) WriteResponse

WriteResponse to the client

type SubmitEvaluationReportNoContent

type SubmitEvaluationReportNoContent struct {
}

SubmitEvaluationReportNoContent Successfully submitted an evaluation report with the provided ID

swagger:response submitEvaluationReportNoContent

func NewSubmitEvaluationReportNoContent

func NewSubmitEvaluationReportNoContent() *SubmitEvaluationReportNoContent

NewSubmitEvaluationReportNoContent creates SubmitEvaluationReportNoContent with default headers values

func (*SubmitEvaluationReportNoContent) WriteResponse

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

WriteResponse to the client

type SubmitEvaluationReportNotFound

type SubmitEvaluationReportNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

SubmitEvaluationReportNotFound The requested resource wasn't found

swagger:response submitEvaluationReportNotFound

func NewSubmitEvaluationReportNotFound

func NewSubmitEvaluationReportNotFound() *SubmitEvaluationReportNotFound

NewSubmitEvaluationReportNotFound creates SubmitEvaluationReportNotFound with default headers values

func (*SubmitEvaluationReportNotFound) SetPayload

func (o *SubmitEvaluationReportNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the submit evaluation report not found response

func (*SubmitEvaluationReportNotFound) WithPayload

WithPayload adds the payload to the submit evaluation report not found response

func (*SubmitEvaluationReportNotFound) WriteResponse

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

WriteResponse to the client

type SubmitEvaluationReportParams

type SubmitEvaluationReportParams struct {

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

	/*Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error.

	  Required: true
	  In: header
	*/
	IfMatch string
	/*the evaluation report ID to be modified
	  Required: true
	  In: path
	*/
	ReportID strfmt.UUID
}

SubmitEvaluationReportParams contains all the bound params for the submit evaluation report operation typically these are obtained from a http.Request

swagger:parameters submitEvaluationReport

func NewSubmitEvaluationReportParams

func NewSubmitEvaluationReportParams() SubmitEvaluationReportParams

NewSubmitEvaluationReportParams creates a new SubmitEvaluationReportParams object

There are no default values defined in the spec.

func (*SubmitEvaluationReportParams) 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 NewSubmitEvaluationReportParams() beforehand.

type SubmitEvaluationReportPreconditionFailed

type SubmitEvaluationReportPreconditionFailed struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

SubmitEvaluationReportPreconditionFailed Precondition failed

swagger:response submitEvaluationReportPreconditionFailed

func NewSubmitEvaluationReportPreconditionFailed

func NewSubmitEvaluationReportPreconditionFailed() *SubmitEvaluationReportPreconditionFailed

NewSubmitEvaluationReportPreconditionFailed creates SubmitEvaluationReportPreconditionFailed with default headers values

func (*SubmitEvaluationReportPreconditionFailed) SetPayload

SetPayload sets the payload to the submit evaluation report precondition failed response

func (*SubmitEvaluationReportPreconditionFailed) WithPayload

WithPayload adds the payload to the submit evaluation report precondition failed response

func (*SubmitEvaluationReportPreconditionFailed) WriteResponse

WriteResponse to the client

type SubmitEvaluationReportURL

type SubmitEvaluationReportURL struct {
	ReportID strfmt.UUID
	// contains filtered or unexported fields
}

SubmitEvaluationReportURL generates an URL for the submit evaluation report operation

func (*SubmitEvaluationReportURL) Build

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

Build a url path and query string

func (*SubmitEvaluationReportURL) BuildFull

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

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

func (*SubmitEvaluationReportURL) Must

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

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

func (*SubmitEvaluationReportURL) SetBasePath

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

func (o *SubmitEvaluationReportURL) String() string

String returns the string representation of the path with query string

func (*SubmitEvaluationReportURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SubmitEvaluationReportURL) 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 SubmitEvaluationReportUnprocessableEntity

type SubmitEvaluationReportUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ValidationError `json:"body,omitempty"`
}

SubmitEvaluationReportUnprocessableEntity The payload was unprocessable.

swagger:response submitEvaluationReportUnprocessableEntity

func NewSubmitEvaluationReportUnprocessableEntity

func NewSubmitEvaluationReportUnprocessableEntity() *SubmitEvaluationReportUnprocessableEntity

NewSubmitEvaluationReportUnprocessableEntity creates SubmitEvaluationReportUnprocessableEntity with default headers values

func (*SubmitEvaluationReportUnprocessableEntity) SetPayload

SetPayload sets the payload to the submit evaluation report unprocessable entity response

func (*SubmitEvaluationReportUnprocessableEntity) WithPayload

WithPayload adds the payload to the submit evaluation report unprocessable entity response

func (*SubmitEvaluationReportUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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