kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
63 lines (62 loc) • 2.16 kB
TypeScript
import 'reflect-metadata';
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetCurrencyReq implements Serializable {
/**
* Support for querying the chain of currency, e.g. the available values for USDT are OMNI, ERC20, TRC20. This only applies to multi-chain currencies; no need for single-chain currencies.
*/
chain?: string;
/**
* Path parameter, Currency
*/
currency?: string;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `GetCurrencyReq` class.
* The builder pattern allows step-by-step construction of a `GetCurrencyReq` object.
*/
static builder(): GetCurrencyReqBuilder;
/**
* Creates a new instance of the `GetCurrencyReq` class with the given data.
*/
static create(data: {
/**
* Support for querying the chain of currency, e.g. the available values for USDT are OMNI, ERC20, TRC20. This only applies to multi-chain currencies; no need for single-chain currencies.
*/
chain?: string;
/**
* Path parameter, Currency
*/
currency?: string;
}): GetCurrencyReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetCurrencyReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetCurrencyReq;
}
export declare class GetCurrencyReqBuilder {
readonly obj: GetCurrencyReq;
constructor(obj: GetCurrencyReq);
/**
* Support for querying the chain of currency, e.g. the available values for USDT are OMNI, ERC20, TRC20. This only applies to multi-chain currencies; no need for single-chain currencies.
*/
setChain(value: string): GetCurrencyReqBuilder;
/**
* Path parameter, Currency
*/
setCurrency(value: string): GetCurrencyReqBuilder;
/**
* Get the final object.
*/
build(): GetCurrencyReq;
}