-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathmodel_account_detail.go
More file actions
25 lines (23 loc) · 907 Bytes
/
model_account_detail.go
File metadata and controls
25 lines (23 loc) · 907 Bytes
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
/*
* Gate API
*
* Welcome to Gate API APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
*
* Contact: support@mail.gate.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package gateapi
// Account details
type AccountDetail struct {
// IP Whitelist
IpWhitelist []string `json:"ip_whitelist,omitempty"`
// Trading pair whitelist
CurrencyPairs []string `json:"currency_pairs,omitempty"`
// User ID
UserId int64 `json:"user_id,omitempty"`
// User VIP level
Tier int64 `json:"tier,omitempty"`
Key AccountDetailKey `json:"key,omitempty"`
// User role: 0 - Normal user, 1 - Copy trading leader, 2 - Follower, 3 - Both leader and follower
CopyTradingRole int32 `json:"copy_trading_role,omitempty"`
}