add seven
This commit is contained in:
@@ -26,6 +26,12 @@ type Handler interface {
|
||||
//
|
||||
// POST /mas
|
||||
CreateMa(ctx context.Context, req *CreateMaReq) (CreateMaRes, error)
|
||||
// CreateSev implements createSev operation.
|
||||
//
|
||||
// Creates a new Sev and persists it to storage.
|
||||
//
|
||||
// POST /sevs
|
||||
CreateSev(ctx context.Context, req *CreateSevReq) (CreateSevRes, error)
|
||||
// CreateUe implements createUe operation.
|
||||
//
|
||||
// Creates a new Ue and persists it to storage.
|
||||
@@ -56,6 +62,12 @@ type Handler interface {
|
||||
//
|
||||
// DELETE /mas/{id}
|
||||
DeleteMa(ctx context.Context, params DeleteMaParams) (DeleteMaRes, error)
|
||||
// DeleteSev implements deleteSev operation.
|
||||
//
|
||||
// Deletes the Sev with the requested ID.
|
||||
//
|
||||
// DELETE /sevs/{id}
|
||||
DeleteSev(ctx context.Context, params DeleteSevParams) (DeleteSevRes, error)
|
||||
// DeleteUe implements deleteUe operation.
|
||||
//
|
||||
// Deletes the Ue with the requested ID.
|
||||
@@ -104,6 +116,12 @@ type Handler interface {
|
||||
//
|
||||
// GET /mas
|
||||
ListMa(ctx context.Context, params ListMaParams) (ListMaRes, error)
|
||||
// ListSev implements listSev operation.
|
||||
//
|
||||
// List Sevs.
|
||||
//
|
||||
// GET /sevs
|
||||
ListSev(ctx context.Context, params ListSevParams) (ListSevRes, error)
|
||||
// ListUe implements listUe operation.
|
||||
//
|
||||
// List Ues.
|
||||
@@ -128,6 +146,12 @@ type Handler interface {
|
||||
//
|
||||
// GET /users/{id}/ma
|
||||
ListUserMa(ctx context.Context, params ListUserMaParams) (ListUserMaRes, error)
|
||||
// ListUserSev implements listUserSev operation.
|
||||
//
|
||||
// List attached Sevs.
|
||||
//
|
||||
// GET /users/{id}/sev
|
||||
ListUserSev(ctx context.Context, params ListUserSevParams) (ListUserSevRes, error)
|
||||
// ListUserUe implements listUserUe operation.
|
||||
//
|
||||
// List attached Ues.
|
||||
@@ -164,6 +188,18 @@ type Handler interface {
|
||||
//
|
||||
// GET /mas/{id}/owner
|
||||
ReadMaOwner(ctx context.Context, params ReadMaOwnerParams) (ReadMaOwnerRes, error)
|
||||
// ReadSev implements readSev operation.
|
||||
//
|
||||
// Finds the Sev with the requested ID and returns it.
|
||||
//
|
||||
// GET /sevs/{id}
|
||||
ReadSev(ctx context.Context, params ReadSevParams) (ReadSevRes, error)
|
||||
// ReadSevOwner implements readSevOwner operation.
|
||||
//
|
||||
// Find the attached User of the Sev with the given ID.
|
||||
//
|
||||
// GET /sevs/{id}/owner
|
||||
ReadSevOwner(ctx context.Context, params ReadSevOwnerParams) (ReadSevOwnerRes, error)
|
||||
// ReadUe implements readUe operation.
|
||||
//
|
||||
// Finds the Ue with the requested ID and returns it.
|
||||
@@ -200,6 +236,12 @@ type Handler interface {
|
||||
//
|
||||
// PATCH /mas/{id}
|
||||
UpdateMa(ctx context.Context, req *UpdateMaReq, params UpdateMaParams) (UpdateMaRes, error)
|
||||
// UpdateSev implements updateSev operation.
|
||||
//
|
||||
// Updates a Sev and persists changes to storage.
|
||||
//
|
||||
// PATCH /sevs/{id}
|
||||
UpdateSev(ctx context.Context, req *UpdateSevReq, params UpdateSevParams) (UpdateSevRes, error)
|
||||
// UpdateUe implements updateUe operation.
|
||||
//
|
||||
// Updates a Ue and persists changes to storage.
|
||||
|
Reference in New Issue
Block a user