package operation

import (
	"github.com/tidbcloud/devops/api"
	opent "github.com/tidbcloud/devops/entity/operation"
)

type ListActionReq struct {
	api.PaginationReq
}

type ListActionResp struct {
	api.BaseResp `json:",inline"`

	Total   int64                   `json:"total"`
	Actions []*opent.ActionMetadata `json:"items"`
}

type GetActionResp struct {
	api.BaseResp `json:",inline"`

	Action *opent.ActionMetadata `json:"action"`
}
