File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1717
1818package rbac
1919
20+ import "github.com/go-chassis/cari/pkg/errsvc"
21+
22+ // BatchCreateAccountsRequest the request definition of batch create accounts
23+ type BatchCreateAccountsRequest struct {
24+ Accounts []* Account `json:"accounts"`
25+ }
26+
27+ // BatchCreateAccountsResponse the response definition of batch create accounts
28+ type BatchCreateAccountsResponse struct {
29+ Accounts []* BatchCreateAccountItemResponse `json:"accounts"`
30+ }
31+
32+ // BatchCreateAccountItemResponse the item result of batch create accounts
33+ type BatchCreateAccountItemResponse struct {
34+ Name string `json:"name"`
35+
36+ * errsvc.Error
37+ }
38+
2039type AccountResponse struct {
2140 Total int64 `json:"total,omitempty"`
2241 Accounts []* Account `json:"data,omitempty"`
You can’t perform that action at this time.
0 commit comments