UNPKG

kucoin-universal-sdk

Version:
50 lines (49 loc) 1.45 kB
import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetETFInfoReq implements Serializable { /** * ETF Currency: If empty, query all currencies */ currency?: string; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * Creates a new instance of the `GetETFInfoReq` class. * The builder pattern allows step-by-step construction of a `GetETFInfoReq` object. */ static builder(): GetETFInfoReqBuilder; /** * Creates a new instance of the `GetETFInfoReq` class with the given data. */ static create(data: { /** * ETF Currency: If empty, query all currencies */ currency?: string; }): GetETFInfoReq; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): GetETFInfoReq; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetETFInfoReq; } export declare class GetETFInfoReqBuilder { readonly obj: GetETFInfoReq; constructor(obj: GetETFInfoReq); /** * ETF Currency: If empty, query all currencies */ setCurrency(value: string): GetETFInfoReqBuilder; /** * Get the final object. */ build(): GetETFInfoReq; }