kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
50 lines (49 loc) • 1.36 kB
TypeScript
import { RestResponse } from '../../../model/common';
import { Response } from '../../../internal/interfaces/serializable';
export declare class GetServiceStatusResp implements Response<RestResponse> {
/**
*
*/
msg: string;
/**
* Status of service: open: normal transaction; close: Stop Trading/Maintenance; cancelonly: can only cancel the order but not place order
*/
status: GetServiceStatusResp.StatusEnum;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* common response
*/
commonResponse?: RestResponse;
setCommonResponse(response: RestResponse): void;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetServiceStatusResp;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetServiceStatusResp;
}
export declare namespace GetServiceStatusResp {
enum StatusEnum {
/**
* normal transaction
*/
OPEN,
/**
* Stop Trading/Maintenance
*/
CLOSE,
/**
* can only cancel the order but not place order
*/
CANCELONLY
}
}