2024-11-26 01:22:45 +00:00
|
|
|
// Code generated by ogen, DO NOT EDIT.
|
|
|
|
|
|
|
|
package api
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
ht "github.com/ogen-go/ogen/http"
|
|
|
|
)
|
|
|
|
|
|
|
|
// UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
|
|
|
|
type UnimplementedHandler struct{}
|
|
|
|
|
|
|
|
var _ Handler = UnimplementedHandler{}
|
|
|
|
|
2024-11-26 20:39:10 +00:00
|
|
|
// CreateSubmission implements createSubmission operation.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// Create new submission.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// POST /submissions
|
2024-11-27 23:38:17 +00:00
|
|
|
func (UnimplementedHandler) CreateSubmission(ctx context.Context, req OptSubmissionCreate) (r *ID, _ error) {
|
2024-11-26 01:22:45 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-11-26 20:39:10 +00:00
|
|
|
// GetSubmission implements getSubmission operation.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// Retrieve map with ID.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// GET /submissions/{SubmissionID}
|
|
|
|
func (UnimplementedHandler) GetSubmission(ctx context.Context, params GetSubmissionParams) (r *Submission, _ error) {
|
2024-11-26 01:22:45 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-11-26 20:39:10 +00:00
|
|
|
// ListSubmissions implements listSubmissions operation.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// Get list of submissions.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// GET /submissions
|
|
|
|
func (UnimplementedHandler) ListSubmissions(ctx context.Context, params ListSubmissionsParams) (r []Submission, _ error) {
|
2024-11-26 01:22:45 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2024-11-26 20:39:10 +00:00
|
|
|
// PatchSubmissionCompleted implements patchSubmissionCompleted operation.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// Retrieve map with ID.
|
2024-11-26 01:22:45 +00:00
|
|
|
//
|
2024-11-26 20:39:10 +00:00
|
|
|
// PATCH /submissions/{SubmissionID}/completed
|
|
|
|
func (UnimplementedHandler) PatchSubmissionCompleted(ctx context.Context, params PatchSubmissionCompletedParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// PatchSubmissionModel implements patchSubmissionModel operation.
|
|
|
|
//
|
|
|
|
// Update model following role restrictions.
|
|
|
|
//
|
|
|
|
// PATCH /submissions/{SubmissionID}/model
|
|
|
|
func (UnimplementedHandler) PatchSubmissionModel(ctx context.Context, params PatchSubmissionModelParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// PatchSubmissionStatus implements patchSubmissionStatus operation.
|
|
|
|
//
|
|
|
|
// Update status following role restrictions.
|
|
|
|
//
|
|
|
|
// PATCH /submissions/{SubmissionID}/status
|
|
|
|
func (UnimplementedHandler) PatchSubmissionStatus(ctx context.Context, params PatchSubmissionStatusParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
2024-11-26 01:22:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// NewError creates *ErrorStatusCode from error returned by handler.
|
|
|
|
//
|
|
|
|
// Used for common default response.
|
|
|
|
func (UnimplementedHandler) NewError(ctx context.Context, err error) (r *ErrorStatusCode) {
|
|
|
|
r = new(ErrorStatusCode)
|
|
|
|
return r
|
|
|
|
}
|