kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
50 lines (49 loc) • 1.38 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetLoanMarketReq implements Serializable {
/**
* currency
*/
currency?: string;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `GetLoanMarketReq` class.
* The builder pattern allows step-by-step construction of a `GetLoanMarketReq` object.
*/
static builder(): GetLoanMarketReqBuilder;
/**
* Creates a new instance of the `GetLoanMarketReq` class with the given data.
*/
static create(data: {
/**
* currency
*/
currency?: string;
}): GetLoanMarketReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetLoanMarketReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetLoanMarketReq;
}
export declare class GetLoanMarketReqBuilder {
readonly obj: GetLoanMarketReq;
constructor(obj: GetLoanMarketReq);
/**
* currency
*/
setCurrency(value: string): GetLoanMarketReqBuilder;
/**
* Get the final object.
*/
build(): GetLoanMarketReq;
}