-
Notifications
You must be signed in to change notification settings - Fork 239
Expand file tree
/
Copy pathClientParameter.java
More file actions
executable file
·66 lines (53 loc) · 1.06 KB
/
ClientParameter.java
File metadata and controls
executable file
·66 lines (53 loc) · 1.06 KB
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
package com.bitget.openapi.common.domain;
import com.bitget.openapi.common.enums.SignTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.net.Proxy;
/**
* @author bitget-sdk-team
* @date 2019-01-15
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ClientParameter {
/**
* 用户 api key,必填
*/
private String apiKey;
/**
* 用户密钥,必填
*/
private String secretKey;
/**
* 用户 passphrase,必填
*/
private String passphrase;
/**
* 服务 url,非必填 默认
*/
private String baseUrl;
/**
* 链接超时时间,非必填 默认 30s
*/
private Long timeout;
/**
* 语言环境
*/
private String locale;
/**
* 签名类型
*/
private SignTypeEnum signType = SignTypeEnum.SHA256;
/**
* 代理配置
*/
private Proxy proxy;
/**
* 是否是模拟交易
*/
private boolean isPapTrading = false;
}