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/WsBaseReq.ts
518 views
1
export class WsBaseReq {
2
private _op!:string;
3
private _args!:object[];
4
5
6
constructor(op: string, args: object[]) {
7
this._op = op;
8
this._args = args;
9
}
10
11
get op(): string {
12
return this._op;
13
}
14
15
set op(value: string) {
16
this._op = value;
17
}
18
19
get args(): object[] {
20
return this._args;
21
}
22
23
set args(value: object[]) {
24
this._args = value;
25
}
26
}
27