Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bitgetlimited
GitHub Repository: bitgetlimited/v3-bitget-api-sdk
Path: blob/master/bitget-node-sdk-api/src/lib/model/ws/SubscribeReq.ts
518 views
1
export class SubscribeReq{
2
private _instType!:string;
3
private _channel!:string;
4
private _instId!:string;
5
private _coin!:string;
6
7
8
constructor(instType: string, channel: string, instId: string) {
9
this._instType = instType;
10
this._channel = channel;
11
this._instId = instId;
12
this._coin = instId;
13
}
14
15
get instType(): string {
16
return this._instType;
17
}
18
19
set instType(value: string) {
20
this._instType = value;
21
}
22
23
get channel(): string {
24
return this._channel;
25
}
26
27
set channel(value: string) {
28
this._channel = value;
29
}
30
31
get instId(): string {
32
return this._instId;
33
}
34
35
set instId(value: string) {
36
this._instId = value;
37
}
38
39
get coin(): string {
40
return this._coin;
41
}
42
43
set coin(value: string) {
44
this._coin = value;
45
}
46
}
47
48