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