-
Notifications
You must be signed in to change notification settings - Fork 11
/
sub_account_responses.go
98 lines (96 loc) · 2.68 KB
/
sub_account_responses.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package sub_account
import (
"github.com/aiviaio/okex/models/account"
models "github.com/aiviaio/okex/models/subaccount"
"github.com/aiviaio/okex/responses"
)
type (
ViewList struct {
responses.Basic
SubAccounts []*models.SubAccount `json:"data,omitempty"`
}
APIKey struct {
responses.Basic
APIKeys []*models.APIKey `json:"data,omitempty"`
}
QueryAPIKey struct {
responses.Basic
APIKeys []*models.QueryAPIKey `json:"data,omitempty"`
}
ResetAPIKey struct {
responses.Basic
APIKeys []*models.ResetAPIKey `json:"data,omitempty"`
}
GetBalance struct {
responses.Basic
Balance []*account.Balance `json:"data,omitempty"`
}
GetBalancesFunding struct {
responses.Basic
BalancesFunding []*account.BalancesFunding `json:"data,omitempty"`
}
HistoryTransfer struct {
responses.Basic
HistoryTransfers []*models.HistoryTransfer `json:"data,omitempty"`
}
ManageTransfer struct {
responses.Basic
Transfers []*models.Transfer `json:"data,omitempty"`
}
ListSubAccount struct {
responses.Basic
ListSubAccount []*models.ListSubAccount `json:"data,omitempty"`
}
CreateSubAccount struct {
responses.Basic
CreateSubAccount []*models.CreateSubAccount `json:"data,omitempty"`
}
DeleteSubAccount struct {
responses.Basic
DeleteSubAccount []*models.DeleteSubAccount `json:"data,omitempty"`
}
CreatAPIKeySubAccount struct {
responses.Basic
CreatAPIKeySubAccount []*models.CreatAPIKeySubAccount `json:"data,omitempty"`
}
UpdateAPIKEySubAccount struct {
responses.Basic
UpdateSubAccount []*models.UpdateAPIKEySubAccount `json:"data,omitempty"`
}
DeleteAPIKeySubAccount struct {
responses.Basic
DeleteAPIKeySubAccount []*models.DeleteAPIKeySubAccount `json:"data,omitempty"`
}
GetFeeRatesSubAccount struct {
responses.Basic
GetFeeRatesSubAccount []*models.GetFeeRatesSubAccount `json:"data,omitempty"`
}
SetLevelSubAccount struct {
responses.Basic
SetLevelSubAccount []*models.SetLevelSubAccount `json:"data,omitempty"`
}
SetFeeRateSubAccount struct {
responses.Basic
SetFeeRateSubAccount []*models.SetFeeRateSubAccount `json:"data,omitempty"`
}
CreateDepositAddress struct {
responses.Basic
CreateDepositAddress []*models.CreateDepositAddress `json:"data,omitempty"`
}
UpdateDepositAddress struct {
responses.Basic
UpdateDepositAddress []*models.UpdateDepositAddress `json:"data,omitempty"`
}
GetDepositAddress struct {
responses.Basic
GetDepositAddress []*models.GetDepositAddress `json:"data,omitempty"`
}
GetDepositHistory struct {
responses.Basic
GetDepositHistory []*models.GetDepositHistory `json:"data,omitempty"`
}
GetWithdrawHistory struct {
responses.Basic
GetWithdrawHistory []*models.WithdrawHistory `json:"data,omitempty"`
}
)