2022-08-31 06:18:14 +00:00
|
|
|
// Code generated by ogen, DO NOT EDIT.
|
|
|
|
|
|
|
|
package ogent
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
2022-08-31 07:49:08 +00:00
|
|
|
|
2022-08-31 06:18:14 +00:00
|
|
|
ht "github.com/ogen-go/ogen/http"
|
|
|
|
)
|
|
|
|
|
2022-08-31 07:49:08 +00:00
|
|
|
// UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
|
|
|
|
type UnimplementedHandler struct{}
|
2022-08-31 06:18:14 +00:00
|
|
|
|
|
|
|
var _ Handler = UnimplementedHandler{}
|
|
|
|
|
2022-08-31 07:49:08 +00:00
|
|
|
// CreateCard implements createCard operation.
|
|
|
|
//
|
|
|
|
// Creates a new Card and persists it to storage.
|
|
|
|
//
|
|
|
|
// POST /cards
|
|
|
|
func (UnimplementedHandler) CreateCard(ctx context.Context, req *CreateCardReq) (r CreateCardRes, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
2022-08-31 06:18:14 +00:00
|
|
|
|
2022-08-31 07:49:08 +00:00
|
|
|
// CreateGroup implements createGroup operation.
|
|
|
|
//
|
|
|
|
// Creates a new Group and persists it to storage.
|
2022-08-31 06:18:14 +00:00
|
|
|
//
|
2022-08-31 07:49:08 +00:00
|
|
|
// POST /groups
|
|
|
|
func (UnimplementedHandler) CreateGroup(ctx context.Context, req *CreateGroupReq) (r CreateGroupRes, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// CreateUser implements createUser operation.
|
|
|
|
//
|
|
|
|
// Creates a new User and persists it to storage.
|
2022-08-31 06:18:14 +00:00
|
|
|
//
|
|
|
|
// POST /users
|
2022-08-31 07:49:08 +00:00
|
|
|
func (UnimplementedHandler) CreateUser(ctx context.Context, req *CreateUserReq) (r CreateUserRes, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteCard implements deleteCard operation.
|
|
|
|
//
|
|
|
|
// Deletes the Card with the requested ID.
|
|
|
|
//
|
|
|
|
// DELETE /cards/{id}
|
|
|
|
func (UnimplementedHandler) DeleteCard(ctx context.Context, params DeleteCardParams) (r DeleteCardRes, _ error) {
|
2022-08-31 06:18:14 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2022-08-31 07:49:08 +00:00
|
|
|
// DeleteGroup implements deleteGroup operation.
|
2022-08-31 06:18:14 +00:00
|
|
|
//
|
2022-08-31 07:49:08 +00:00
|
|
|
// Deletes the Group with the requested ID.
|
|
|
|
//
|
|
|
|
// DELETE /groups/{id}
|
|
|
|
func (UnimplementedHandler) DeleteGroup(ctx context.Context, params DeleteGroupParams) (r DeleteGroupRes, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteUser implements deleteUser operation.
|
|
|
|
//
|
|
|
|
// Deletes the User with the requested ID.
|
2022-08-31 06:18:14 +00:00
|
|
|
//
|
|
|
|
// DELETE /users/{id}
|
2022-08-31 07:49:08 +00:00
|
|
|
func (UnimplementedHandler) DeleteUser(ctx context.Context, params DeleteUserParams) (r DeleteUserRes, _ error) {
|
2022-08-31 06:18:14 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// DrawDone implements drawDone operation.
|
|
|
|
//
|
2022-08-31 07:49:08 +00:00
|
|
|
// Draws a card item as done.
|
|
|
|
//
|
|
|
|
// PUT /cards/{id}/d
|
|
|
|
func (UnimplementedHandler) DrawDone(ctx context.Context, params DrawDoneParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// DrawStart implements drawStart operation.
|
|
|
|
//
|
2022-08-31 07:49:08 +00:00
|
|
|
// Draws a card item as done.
|
|
|
|
//
|
|
|
|
// PATCH /users/{id}/card/start
|
|
|
|
func (UnimplementedHandler) DrawStart(ctx context.Context, params DrawStartParams) error {
|
|
|
|
return ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListCard implements listCard operation.
|
|
|
|
//
|
|
|
|
// List Cards.
|
|
|
|
//
|
|
|
|
// GET /cards
|
|
|
|
func (UnimplementedHandler) ListCard(ctx context.Context, params ListCardParams) (r ListCardRes, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListGroup implements listGroup operation.
|
|
|
|
//
|
|
|
|
// List Groups.
|
|
|
|
//
|
|
|
|
// GET /groups
|
|
|
|
func (UnimplementedHandler) ListGroup(ctx context.Context, params ListGroupParams) (r ListGroupRes, _ error) {
|
2022-08-31 06:18:14 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2022-08-31 07:49:08 +00:00
|
|
|
// ListGroupUsers implements listGroupUsers operation.
|
|
|
|
//
|
|
|
|
// List attached Users.
|
|
|
|
//
|
|
|
|
// GET /groups/{id}/users
|
|
|
|
func (UnimplementedHandler) ListGroupUsers(ctx context.Context, params ListGroupUsersParams) (r ListGroupUsersRes, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListUser implements listUser operation.
|
2022-08-31 06:18:14 +00:00
|
|
|
//
|
|
|
|
// List Users.
|
|
|
|
//
|
|
|
|
// GET /users
|
2022-08-31 07:49:08 +00:00
|
|
|
func (UnimplementedHandler) ListUser(ctx context.Context, params ListUserParams) (r ListUserRes, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListUserCard implements listUserCard operation.
|
|
|
|
//
|
|
|
|
// List attached Cards.
|
|
|
|
//
|
|
|
|
// GET /users/{id}/card
|
|
|
|
func (UnimplementedHandler) ListUserCard(ctx context.Context, params ListUserCardParams) (r ListUserCardRes, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// ReadCard implements readCard operation.
|
|
|
|
//
|
|
|
|
// Finds the Card with the requested ID and returns it.
|
|
|
|
//
|
|
|
|
// GET /cards/{id}
|
|
|
|
func (UnimplementedHandler) ReadCard(ctx context.Context, params ReadCardParams) (r ReadCardRes, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// ReadCardOwner implements readCardOwner operation.
|
|
|
|
//
|
|
|
|
// Find the attached User of the Card with the given ID.
|
|
|
|
//
|
|
|
|
// GET /cards/{id}/owner
|
|
|
|
func (UnimplementedHandler) ReadCardOwner(ctx context.Context, params ReadCardOwnerParams) (r ReadCardOwnerRes, _ error) {
|
2022-08-31 06:18:14 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2022-08-31 07:49:08 +00:00
|
|
|
// ReadGroup implements readGroup operation.
|
2022-08-31 06:18:14 +00:00
|
|
|
//
|
2022-08-31 07:49:08 +00:00
|
|
|
// Finds the Group with the requested ID and returns it.
|
|
|
|
//
|
|
|
|
// GET /groups/{id}
|
|
|
|
func (UnimplementedHandler) ReadGroup(ctx context.Context, params ReadGroupParams) (r ReadGroupRes, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// ReadUser implements readUser operation.
|
|
|
|
//
|
|
|
|
// Finds the User with the requested ID and returns it.
|
2022-08-31 06:18:14 +00:00
|
|
|
//
|
|
|
|
// GET /users/{id}
|
2022-08-31 07:49:08 +00:00
|
|
|
func (UnimplementedHandler) ReadUser(ctx context.Context, params ReadUserParams) (r ReadUserRes, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// UpdateCard implements updateCard operation.
|
|
|
|
//
|
|
|
|
// Updates a Card and persists changes to storage.
|
|
|
|
//
|
|
|
|
// PATCH /cards/{id}
|
|
|
|
func (UnimplementedHandler) UpdateCard(ctx context.Context, req *UpdateCardReq, params UpdateCardParams) (r UpdateCardRes, _ error) {
|
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
// UpdateGroup implements updateGroup operation.
|
|
|
|
//
|
|
|
|
// Updates a Group and persists changes to storage.
|
|
|
|
//
|
|
|
|
// PATCH /groups/{id}
|
|
|
|
func (UnimplementedHandler) UpdateGroup(ctx context.Context, req *UpdateGroupReq, params UpdateGroupParams) (r UpdateGroupRes, _ error) {
|
2022-08-31 06:18:14 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2022-08-31 07:49:08 +00:00
|
|
|
// UpdateUser implements updateUser operation.
|
2022-08-31 06:18:14 +00:00
|
|
|
//
|
2022-08-31 07:49:08 +00:00
|
|
|
// Updates a User and persists changes to storage.
|
2022-08-31 06:18:14 +00:00
|
|
|
//
|
|
|
|
// PATCH /users/{id}
|
2022-08-31 07:49:08 +00:00
|
|
|
func (UnimplementedHandler) UpdateUser(ctx context.Context, req *UpdateUserReq, params UpdateUserParams) (r UpdateUserRes, _ error) {
|
2022-08-31 06:18:14 +00:00
|
|
|
return r, ht.ErrNotImplemented
|
|
|
|
}
|