kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
62 lines (61 loc) • 2.09 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class ModifyIsolatedMarginRiskLimtReq implements Serializable {
/**
* Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
symbol: string;
/**
* Level
*/
level: number;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `ModifyIsolatedMarginRiskLimtReq` class.
* The builder pattern allows step-by-step construction of a `ModifyIsolatedMarginRiskLimtReq` object.
*/
static builder(): ModifyIsolatedMarginRiskLimtReqBuilder;
/**
* Creates a new instance of the `ModifyIsolatedMarginRiskLimtReq` class with the given data.
*/
static create(data: {
/**
* Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
symbol: string;
/**
* Level
*/
level: number;
}): ModifyIsolatedMarginRiskLimtReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): ModifyIsolatedMarginRiskLimtReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): ModifyIsolatedMarginRiskLimtReq;
}
export declare class ModifyIsolatedMarginRiskLimtReqBuilder {
readonly obj: ModifyIsolatedMarginRiskLimtReq;
constructor(obj: ModifyIsolatedMarginRiskLimtReq);
/**
* Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
setSymbol(value: string): ModifyIsolatedMarginRiskLimtReqBuilder;
/**
* Level
*/
setLevel(value: number): ModifyIsolatedMarginRiskLimtReqBuilder;
/**
* Get the final object.
*/
build(): ModifyIsolatedMarginRiskLimtReq;
}