Documentation ¶
Index ¶
- Constants
- type CreateEvaluationReport
- type CreateEvaluationReportBadRequest
- func (o *CreateEvaluationReportBadRequest) SetPayload(payload *ghcmessages.Error)
- func (o *CreateEvaluationReportBadRequest) WithPayload(payload *ghcmessages.Error) *CreateEvaluationReportBadRequest
- func (o *CreateEvaluationReportBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateEvaluationReportHandler
- type CreateEvaluationReportHandlerFunc
- type CreateEvaluationReportInternalServerError
- func (o *CreateEvaluationReportInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *CreateEvaluationReportInternalServerError) WithPayload(payload *ghcmessages.Error) *CreateEvaluationReportInternalServerError
- func (o *CreateEvaluationReportInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateEvaluationReportNotFound
- type CreateEvaluationReportOK
- type CreateEvaluationReportParams
- type CreateEvaluationReportURL
- func (o *CreateEvaluationReportURL) Build() (*url.URL, error)
- func (o *CreateEvaluationReportURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateEvaluationReportURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateEvaluationReportURL) SetBasePath(bp string)
- func (o *CreateEvaluationReportURL) String() string
- func (o *CreateEvaluationReportURL) StringFull(scheme, host string) string
- func (o *CreateEvaluationReportURL) WithBasePath(bp string) *CreateEvaluationReportURL
- type CreateEvaluationReportUnprocessableEntity
- func (o *CreateEvaluationReportUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *CreateEvaluationReportUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *CreateEvaluationReportUnprocessableEntity
- func (o *CreateEvaluationReportUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEvaluationReport
- type DeleteEvaluationReportBadRequest
- func (o *DeleteEvaluationReportBadRequest) SetPayload(payload *ghcmessages.Error)
- func (o *DeleteEvaluationReportBadRequest) WithPayload(payload *ghcmessages.Error) *DeleteEvaluationReportBadRequest
- func (o *DeleteEvaluationReportBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEvaluationReportConflict
- type DeleteEvaluationReportForbidden
- func (o *DeleteEvaluationReportForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *DeleteEvaluationReportForbidden) WithPayload(payload *ghcmessages.Error) *DeleteEvaluationReportForbidden
- func (o *DeleteEvaluationReportForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEvaluationReportHandler
- type DeleteEvaluationReportHandlerFunc
- type DeleteEvaluationReportInternalServerError
- func (o *DeleteEvaluationReportInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *DeleteEvaluationReportInternalServerError) WithPayload(payload *ghcmessages.Error) *DeleteEvaluationReportInternalServerError
- func (o *DeleteEvaluationReportInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEvaluationReportNoContent
- type DeleteEvaluationReportNotFound
- type DeleteEvaluationReportParams
- type DeleteEvaluationReportURL
- func (o *DeleteEvaluationReportURL) Build() (*url.URL, error)
- func (o *DeleteEvaluationReportURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteEvaluationReportURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteEvaluationReportURL) SetBasePath(bp string)
- func (o *DeleteEvaluationReportURL) String() string
- func (o *DeleteEvaluationReportURL) StringFull(scheme, host string) string
- func (o *DeleteEvaluationReportURL) WithBasePath(bp string) *DeleteEvaluationReportURL
- type DeleteEvaluationReportUnprocessableEntity
- func (o *DeleteEvaluationReportUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *DeleteEvaluationReportUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *DeleteEvaluationReportUnprocessableEntity
- func (o *DeleteEvaluationReportUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadEvaluationReport
- type DownloadEvaluationReportForbidden
- func (o *DownloadEvaluationReportForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *DownloadEvaluationReportForbidden) WithPayload(payload *ghcmessages.Error) *DownloadEvaluationReportForbidden
- func (o *DownloadEvaluationReportForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadEvaluationReportHandler
- type DownloadEvaluationReportHandlerFunc
- type DownloadEvaluationReportInternalServerError
- func (o *DownloadEvaluationReportInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *DownloadEvaluationReportInternalServerError) WithPayload(payload *ghcmessages.Error) *DownloadEvaluationReportInternalServerError
- func (o *DownloadEvaluationReportInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadEvaluationReportNotFound
- func (o *DownloadEvaluationReportNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *DownloadEvaluationReportNotFound) WithPayload(payload *ghcmessages.Error) *DownloadEvaluationReportNotFound
- func (o *DownloadEvaluationReportNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadEvaluationReportOK
- func (o *DownloadEvaluationReportOK) SetContentDisposition(contentDisposition string)
- func (o *DownloadEvaluationReportOK) SetPayload(payload io.ReadCloser)
- func (o *DownloadEvaluationReportOK) WithContentDisposition(contentDisposition string) *DownloadEvaluationReportOK
- func (o *DownloadEvaluationReportOK) WithPayload(payload io.ReadCloser) *DownloadEvaluationReportOK
- func (o *DownloadEvaluationReportOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadEvaluationReportParams
- type DownloadEvaluationReportURL
- func (o *DownloadEvaluationReportURL) Build() (*url.URL, error)
- func (o *DownloadEvaluationReportURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DownloadEvaluationReportURL) Must(u *url.URL, err error) *url.URL
- func (o *DownloadEvaluationReportURL) SetBasePath(bp string)
- func (o *DownloadEvaluationReportURL) String() string
- func (o *DownloadEvaluationReportURL) StringFull(scheme, host string) string
- func (o *DownloadEvaluationReportURL) WithBasePath(bp string) *DownloadEvaluationReportURL
- type GetEvaluationReport
- type GetEvaluationReportBadRequest
- type GetEvaluationReportForbidden
- type GetEvaluationReportHandler
- type GetEvaluationReportHandlerFunc
- type GetEvaluationReportInternalServerError
- func (o *GetEvaluationReportInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetEvaluationReportInternalServerError) WithPayload(payload *ghcmessages.Error) *GetEvaluationReportInternalServerError
- func (o *GetEvaluationReportInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetEvaluationReportNotFound
- type GetEvaluationReportOK
- type GetEvaluationReportParams
- type GetEvaluationReportURL
- func (o *GetEvaluationReportURL) Build() (*url.URL, error)
- func (o *GetEvaluationReportURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEvaluationReportURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEvaluationReportURL) SetBasePath(bp string)
- func (o *GetEvaluationReportURL) String() string
- func (o *GetEvaluationReportURL) StringFull(scheme, host string) string
- func (o *GetEvaluationReportURL) WithBasePath(bp string) *GetEvaluationReportURL
- type SaveEvaluationReport
- type SaveEvaluationReportBadRequest
- type SaveEvaluationReportConflict
- type SaveEvaluationReportForbidden
- type SaveEvaluationReportHandler
- type SaveEvaluationReportHandlerFunc
- type SaveEvaluationReportInternalServerError
- func (o *SaveEvaluationReportInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *SaveEvaluationReportInternalServerError) WithPayload(payload *ghcmessages.Error) *SaveEvaluationReportInternalServerError
- func (o *SaveEvaluationReportInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SaveEvaluationReportNoContent
- type SaveEvaluationReportNotFound
- type SaveEvaluationReportParams
- type SaveEvaluationReportPreconditionFailed
- func (o *SaveEvaluationReportPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *SaveEvaluationReportPreconditionFailed) WithPayload(payload *ghcmessages.Error) *SaveEvaluationReportPreconditionFailed
- func (o *SaveEvaluationReportPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SaveEvaluationReportURL
- func (o *SaveEvaluationReportURL) Build() (*url.URL, error)
- func (o *SaveEvaluationReportURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SaveEvaluationReportURL) Must(u *url.URL, err error) *url.URL
- func (o *SaveEvaluationReportURL) SetBasePath(bp string)
- func (o *SaveEvaluationReportURL) String() string
- func (o *SaveEvaluationReportURL) StringFull(scheme, host string) string
- func (o *SaveEvaluationReportURL) WithBasePath(bp string) *SaveEvaluationReportURL
- type SaveEvaluationReportUnprocessableEntity
- func (o *SaveEvaluationReportUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *SaveEvaluationReportUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *SaveEvaluationReportUnprocessableEntity
- func (o *SaveEvaluationReportUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitEvaluationReport
- type SubmitEvaluationReportForbidden
- func (o *SubmitEvaluationReportForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *SubmitEvaluationReportForbidden) WithPayload(payload *ghcmessages.Error) *SubmitEvaluationReportForbidden
- func (o *SubmitEvaluationReportForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitEvaluationReportHandler
- type SubmitEvaluationReportHandlerFunc
- type SubmitEvaluationReportInternalServerError
- func (o *SubmitEvaluationReportInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *SubmitEvaluationReportInternalServerError) WithPayload(payload *ghcmessages.Error) *SubmitEvaluationReportInternalServerError
- func (o *SubmitEvaluationReportInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitEvaluationReportNoContent
- type SubmitEvaluationReportNotFound
- type SubmitEvaluationReportParams
- type SubmitEvaluationReportPreconditionFailed
- func (o *SubmitEvaluationReportPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *SubmitEvaluationReportPreconditionFailed) WithPayload(payload *ghcmessages.Error) *SubmitEvaluationReportPreconditionFailed
- func (o *SubmitEvaluationReportPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitEvaluationReportURL
- func (o *SubmitEvaluationReportURL) Build() (*url.URL, error)
- func (o *SubmitEvaluationReportURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubmitEvaluationReportURL) Must(u *url.URL, err error) *url.URL
- func (o *SubmitEvaluationReportURL) SetBasePath(bp string)
- func (o *SubmitEvaluationReportURL) String() string
- func (o *SubmitEvaluationReportURL) StringFull(scheme, host string) string
- func (o *SubmitEvaluationReportURL) WithBasePath(bp string) *SubmitEvaluationReportURL
- type SubmitEvaluationReportUnprocessableEntity
- func (o *SubmitEvaluationReportUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *SubmitEvaluationReportUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *SubmitEvaluationReportUnprocessableEntity
- func (o *SubmitEvaluationReportUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateEvaluationReportBadRequestCode int = 400
CreateEvaluationReportBadRequestCode is the HTTP code returned for type CreateEvaluationReportBadRequest
const CreateEvaluationReportInternalServerErrorCode int = 500
CreateEvaluationReportInternalServerErrorCode is the HTTP code returned for type CreateEvaluationReportInternalServerError
const CreateEvaluationReportNotFoundCode int = 404
CreateEvaluationReportNotFoundCode is the HTTP code returned for type CreateEvaluationReportNotFound
const CreateEvaluationReportOKCode int = 200
CreateEvaluationReportOKCode is the HTTP code returned for type CreateEvaluationReportOK
const CreateEvaluationReportUnprocessableEntityCode int = 422
CreateEvaluationReportUnprocessableEntityCode is the HTTP code returned for type CreateEvaluationReportUnprocessableEntity
const DeleteEvaluationReportBadRequestCode int = 400
DeleteEvaluationReportBadRequestCode is the HTTP code returned for type DeleteEvaluationReportBadRequest
const DeleteEvaluationReportConflictCode int = 409
DeleteEvaluationReportConflictCode is the HTTP code returned for type DeleteEvaluationReportConflict
const DeleteEvaluationReportForbiddenCode int = 403
DeleteEvaluationReportForbiddenCode is the HTTP code returned for type DeleteEvaluationReportForbidden
const DeleteEvaluationReportInternalServerErrorCode int = 500
DeleteEvaluationReportInternalServerErrorCode is the HTTP code returned for type DeleteEvaluationReportInternalServerError
const DeleteEvaluationReportNoContentCode int = 204
DeleteEvaluationReportNoContentCode is the HTTP code returned for type DeleteEvaluationReportNoContent
const DeleteEvaluationReportNotFoundCode int = 404
DeleteEvaluationReportNotFoundCode is the HTTP code returned for type DeleteEvaluationReportNotFound
const DeleteEvaluationReportUnprocessableEntityCode int = 422
DeleteEvaluationReportUnprocessableEntityCode is the HTTP code returned for type DeleteEvaluationReportUnprocessableEntity
const DownloadEvaluationReportForbiddenCode int = 403
DownloadEvaluationReportForbiddenCode is the HTTP code returned for type DownloadEvaluationReportForbidden
const DownloadEvaluationReportInternalServerErrorCode int = 500
DownloadEvaluationReportInternalServerErrorCode is the HTTP code returned for type DownloadEvaluationReportInternalServerError
const DownloadEvaluationReportNotFoundCode int = 404
DownloadEvaluationReportNotFoundCode is the HTTP code returned for type DownloadEvaluationReportNotFound
const DownloadEvaluationReportOKCode int = 200
DownloadEvaluationReportOKCode is the HTTP code returned for type DownloadEvaluationReportOK
const GetEvaluationReportBadRequestCode int = 400
GetEvaluationReportBadRequestCode is the HTTP code returned for type GetEvaluationReportBadRequest
const GetEvaluationReportForbiddenCode int = 403
GetEvaluationReportForbiddenCode is the HTTP code returned for type GetEvaluationReportForbidden
const GetEvaluationReportInternalServerErrorCode int = 500
GetEvaluationReportInternalServerErrorCode is the HTTP code returned for type GetEvaluationReportInternalServerError
const GetEvaluationReportNotFoundCode int = 404
GetEvaluationReportNotFoundCode is the HTTP code returned for type GetEvaluationReportNotFound
const GetEvaluationReportOKCode int = 200
GetEvaluationReportOKCode is the HTTP code returned for type GetEvaluationReportOK
const SaveEvaluationReportBadRequestCode int = 400
SaveEvaluationReportBadRequestCode is the HTTP code returned for type SaveEvaluationReportBadRequest
const SaveEvaluationReportConflictCode int = 409
SaveEvaluationReportConflictCode is the HTTP code returned for type SaveEvaluationReportConflict
const SaveEvaluationReportForbiddenCode int = 403
SaveEvaluationReportForbiddenCode is the HTTP code returned for type SaveEvaluationReportForbidden
const SaveEvaluationReportInternalServerErrorCode int = 500
SaveEvaluationReportInternalServerErrorCode is the HTTP code returned for type SaveEvaluationReportInternalServerError
const SaveEvaluationReportNoContentCode int = 204
SaveEvaluationReportNoContentCode is the HTTP code returned for type SaveEvaluationReportNoContent
const SaveEvaluationReportNotFoundCode int = 404
SaveEvaluationReportNotFoundCode is the HTTP code returned for type SaveEvaluationReportNotFound
const SaveEvaluationReportPreconditionFailedCode int = 412
SaveEvaluationReportPreconditionFailedCode is the HTTP code returned for type SaveEvaluationReportPreconditionFailed
const SaveEvaluationReportUnprocessableEntityCode int = 422
SaveEvaluationReportUnprocessableEntityCode is the HTTP code returned for type SaveEvaluationReportUnprocessableEntity
const SubmitEvaluationReportForbiddenCode int = 403
SubmitEvaluationReportForbiddenCode is the HTTP code returned for type SubmitEvaluationReportForbidden
const SubmitEvaluationReportInternalServerErrorCode int = 500
SubmitEvaluationReportInternalServerErrorCode is the HTTP code returned for type SubmitEvaluationReportInternalServerError
const SubmitEvaluationReportNoContentCode int = 204
SubmitEvaluationReportNoContentCode is the HTTP code returned for type SubmitEvaluationReportNoContent
const SubmitEvaluationReportNotFoundCode int = 404
SubmitEvaluationReportNotFoundCode is the HTTP code returned for type SubmitEvaluationReportNotFound
const SubmitEvaluationReportPreconditionFailedCode int = 412
SubmitEvaluationReportPreconditionFailedCode is the HTTP code returned for type SubmitEvaluationReportPreconditionFailed
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 ¶
func (o *CreateEvaluationReportBadRequest) WithPayload(payload *ghcmessages.Error) *CreateEvaluationReportBadRequest
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 ¶
func (fn CreateEvaluationReportHandlerFunc) Handle(params CreateEvaluationReportParams) middleware.Responder
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 ¶
func (o *CreateEvaluationReportInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the create evaluation report internal server error response
func (*CreateEvaluationReportInternalServerError) WithPayload ¶
func (o *CreateEvaluationReportInternalServerError) WithPayload(payload *ghcmessages.Error) *CreateEvaluationReportInternalServerError
WithPayload adds the payload to the create evaluation report internal server error response
func (*CreateEvaluationReportInternalServerError) WriteResponse ¶
func (o *CreateEvaluationReportInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *CreateEvaluationReportNotFound) WithPayload(payload *ghcmessages.Error) *CreateEvaluationReportNotFound
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 ¶
func (o *CreateEvaluationReportOK) WithPayload(payload *ghcmessages.EvaluationReport) *CreateEvaluationReportOK
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 ¶
func (o *CreateEvaluationReportParams) 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 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 ¶
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 ¶
func (o *CreateEvaluationReportURL) WithBasePath(bp string) *CreateEvaluationReportURL
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 ¶
func (o *CreateEvaluationReportUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the create evaluation report unprocessable entity response
func (*CreateEvaluationReportUnprocessableEntity) WithPayload ¶
func (o *CreateEvaluationReportUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *CreateEvaluationReportUnprocessableEntity
WithPayload adds the payload to the create evaluation report unprocessable entity response
func (*CreateEvaluationReportUnprocessableEntity) WriteResponse ¶
func (o *CreateEvaluationReportUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DeleteEvaluationReportBadRequest) WithPayload(payload *ghcmessages.Error) *DeleteEvaluationReportBadRequest
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 ¶
func (o *DeleteEvaluationReportConflict) WithPayload(payload *ghcmessages.Error) *DeleteEvaluationReportConflict
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 ¶
func (o *DeleteEvaluationReportForbidden) WithPayload(payload *ghcmessages.Error) *DeleteEvaluationReportForbidden
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 ¶
func (fn DeleteEvaluationReportHandlerFunc) Handle(params DeleteEvaluationReportParams) middleware.Responder
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 ¶
func (o *DeleteEvaluationReportInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the delete evaluation report internal server error response
func (*DeleteEvaluationReportInternalServerError) WithPayload ¶
func (o *DeleteEvaluationReportInternalServerError) WithPayload(payload *ghcmessages.Error) *DeleteEvaluationReportInternalServerError
WithPayload adds the payload to the delete evaluation report internal server error response
func (*DeleteEvaluationReportInternalServerError) WriteResponse ¶
func (o *DeleteEvaluationReportInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DeleteEvaluationReportNotFound) WithPayload(payload *ghcmessages.Error) *DeleteEvaluationReportNotFound
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 ¶
func (o *DeleteEvaluationReportParams) 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 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 ¶
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 ¶
func (o *DeleteEvaluationReportURL) WithBasePath(bp string) *DeleteEvaluationReportURL
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 ¶
func (o *DeleteEvaluationReportUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the delete evaluation report unprocessable entity response
func (*DeleteEvaluationReportUnprocessableEntity) WithPayload ¶
func (o *DeleteEvaluationReportUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *DeleteEvaluationReportUnprocessableEntity
WithPayload adds the payload to the delete evaluation report unprocessable entity response
func (*DeleteEvaluationReportUnprocessableEntity) WriteResponse ¶
func (o *DeleteEvaluationReportUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DownloadEvaluationReport) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *DownloadEvaluationReportForbidden) WithPayload(payload *ghcmessages.Error) *DownloadEvaluationReportForbidden
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 ¶
func (fn DownloadEvaluationReportHandlerFunc) Handle(params DownloadEvaluationReportParams) middleware.Responder
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 ¶
func (o *DownloadEvaluationReportInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the download evaluation report internal server error response
func (*DownloadEvaluationReportInternalServerError) WithPayload ¶
func (o *DownloadEvaluationReportInternalServerError) WithPayload(payload *ghcmessages.Error) *DownloadEvaluationReportInternalServerError
WithPayload adds the payload to the download evaluation report internal server error response
func (*DownloadEvaluationReportInternalServerError) WriteResponse ¶
func (o *DownloadEvaluationReportInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DownloadEvaluationReportNotFound) WithPayload(payload *ghcmessages.Error) *DownloadEvaluationReportNotFound
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 ¶
func (o *DownloadEvaluationReportOK) WithPayload(payload io.ReadCloser) *DownloadEvaluationReportOK
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 ¶
func (o *DownloadEvaluationReportParams) 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 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 ¶
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 ¶
func (o *DownloadEvaluationReportURL) WithBasePath(bp string) *DownloadEvaluationReportURL
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 ¶
func (o *GetEvaluationReportBadRequest) WithPayload(payload *ghcmessages.Error) *GetEvaluationReportBadRequest
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 ¶
func (o *GetEvaluationReportForbidden) WithPayload(payload *ghcmessages.Error) *GetEvaluationReportForbidden
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 ¶
func (fn GetEvaluationReportHandlerFunc) Handle(params GetEvaluationReportParams) middleware.Responder
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 ¶
func (o *GetEvaluationReportInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get evaluation report internal server error response
func (*GetEvaluationReportInternalServerError) WithPayload ¶
func (o *GetEvaluationReportInternalServerError) WithPayload(payload *ghcmessages.Error) *GetEvaluationReportInternalServerError
WithPayload adds the payload to the get evaluation report internal server error response
func (*GetEvaluationReportInternalServerError) WriteResponse ¶
func (o *GetEvaluationReportInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetEvaluationReportNotFound) WithPayload(payload *ghcmessages.Error) *GetEvaluationReportNotFound
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 ¶
func (o *GetEvaluationReportOK) WithPayload(payload *ghcmessages.EvaluationReport) *GetEvaluationReportOK
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 ¶
func (o *GetEvaluationReportParams) 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 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 ¶
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 ¶
func (o *GetEvaluationReportURL) WithBasePath(bp string) *GetEvaluationReportURL
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 ¶
func (o *SaveEvaluationReportBadRequest) WithPayload(payload *ghcmessages.Error) *SaveEvaluationReportBadRequest
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 ¶
func (o *SaveEvaluationReportConflict) WithPayload(payload *ghcmessages.Error) *SaveEvaluationReportConflict
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 ¶
func (o *SaveEvaluationReportForbidden) WithPayload(payload *ghcmessages.Error) *SaveEvaluationReportForbidden
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 ¶
func (fn SaveEvaluationReportHandlerFunc) Handle(params SaveEvaluationReportParams) middleware.Responder
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 ¶
func (o *SaveEvaluationReportInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the save evaluation report internal server error response
func (*SaveEvaluationReportInternalServerError) WithPayload ¶
func (o *SaveEvaluationReportInternalServerError) WithPayload(payload *ghcmessages.Error) *SaveEvaluationReportInternalServerError
WithPayload adds the payload to the save evaluation report internal server error response
func (*SaveEvaluationReportInternalServerError) WriteResponse ¶
func (o *SaveEvaluationReportInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *SaveEvaluationReportNotFound) WithPayload(payload *ghcmessages.Error) *SaveEvaluationReportNotFound
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 ¶
func (o *SaveEvaluationReportParams) 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 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 ¶
func (o *SaveEvaluationReportPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the save evaluation report precondition failed response
func (*SaveEvaluationReportPreconditionFailed) WithPayload ¶
func (o *SaveEvaluationReportPreconditionFailed) WithPayload(payload *ghcmessages.Error) *SaveEvaluationReportPreconditionFailed
WithPayload adds the payload to the save evaluation report precondition failed response
func (*SaveEvaluationReportPreconditionFailed) WriteResponse ¶
func (o *SaveEvaluationReportPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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 ¶
func (o *SaveEvaluationReportURL) WithBasePath(bp string) *SaveEvaluationReportURL
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 ¶
func (o *SaveEvaluationReportUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the save evaluation report unprocessable entity response
func (*SaveEvaluationReportUnprocessableEntity) WithPayload ¶
func (o *SaveEvaluationReportUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *SaveEvaluationReportUnprocessableEntity
WithPayload adds the payload to the save evaluation report unprocessable entity response
func (*SaveEvaluationReportUnprocessableEntity) WriteResponse ¶
func (o *SaveEvaluationReportUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *SubmitEvaluationReportForbidden) WithPayload(payload *ghcmessages.Error) *SubmitEvaluationReportForbidden
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 ¶
func (fn SubmitEvaluationReportHandlerFunc) Handle(params SubmitEvaluationReportParams) middleware.Responder
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 ¶
func (o *SubmitEvaluationReportInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the submit evaluation report internal server error response
func (*SubmitEvaluationReportInternalServerError) WithPayload ¶
func (o *SubmitEvaluationReportInternalServerError) WithPayload(payload *ghcmessages.Error) *SubmitEvaluationReportInternalServerError
WithPayload adds the payload to the submit evaluation report internal server error response
func (*SubmitEvaluationReportInternalServerError) WriteResponse ¶
func (o *SubmitEvaluationReportInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *SubmitEvaluationReportNotFound) WithPayload(payload *ghcmessages.Error) *SubmitEvaluationReportNotFound
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 ¶
func (o *SubmitEvaluationReportParams) 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 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 ¶
func (o *SubmitEvaluationReportPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the submit evaluation report precondition failed response
func (*SubmitEvaluationReportPreconditionFailed) WithPayload ¶
func (o *SubmitEvaluationReportPreconditionFailed) WithPayload(payload *ghcmessages.Error) *SubmitEvaluationReportPreconditionFailed
WithPayload adds the payload to the submit evaluation report precondition failed response
func (*SubmitEvaluationReportPreconditionFailed) WriteResponse ¶
func (o *SubmitEvaluationReportPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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 ¶
func (o *SubmitEvaluationReportURL) WithBasePath(bp string) *SubmitEvaluationReportURL
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 ¶
func (o *SubmitEvaluationReportUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the submit evaluation report unprocessable entity response
func (*SubmitEvaluationReportUnprocessableEntity) WithPayload ¶
func (o *SubmitEvaluationReportUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *SubmitEvaluationReportUnprocessableEntity
WithPayload adds the payload to the submit evaluation report unprocessable entity response
func (*SubmitEvaluationReportUnprocessableEntity) WriteResponse ¶
func (o *SubmitEvaluationReportUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_evaluation_report.go
- create_evaluation_report_parameters.go
- create_evaluation_report_responses.go
- create_evaluation_report_urlbuilder.go
- delete_evaluation_report.go
- delete_evaluation_report_parameters.go
- delete_evaluation_report_responses.go
- delete_evaluation_report_urlbuilder.go
- download_evaluation_report.go
- download_evaluation_report_parameters.go
- download_evaluation_report_responses.go
- download_evaluation_report_urlbuilder.go
- get_evaluation_report.go
- get_evaluation_report_parameters.go
- get_evaluation_report_responses.go
- get_evaluation_report_urlbuilder.go
- save_evaluation_report.go
- save_evaluation_report_parameters.go
- save_evaluation_report_responses.go
- save_evaluation_report_urlbuilder.go
- submit_evaluation_report.go
- submit_evaluation_report_parameters.go
- submit_evaluation_report_responses.go
- submit_evaluation_report_urlbuilder.go