Path: blob/master/bitget-node-sdk-api/src/lib/model/Config.ts
518 views
export class Config{1private _apiUri!:string;2private _apiKey!: string;3private _secretKey!: string;4private _passphrase!: string;567constructor(apiUri: string, apiKey: string, secretKey: string, passphrase: string) {8this._apiUri = apiUri;9this._apiKey = apiKey;10this._secretKey = secretKey;11this._passphrase = passphrase;12}1314get apiUri(): string {15return this._apiUri;16}1718set apiUri(value: string) {19this._apiUri = value;20}2122get apiKey(): string {23return this._apiKey;24}2526set apiKey(value: string) {27this._apiKey = value;28}2930get secretKey(): string {31return this._secretKey;32}3334set secretKey(value: string) {35this._secretKey = value;36}3738get passphrase(): string {39return this._passphrase;40}4142set passphrase(value: string) {43this._passphrase = value;44}45}4647