@getopenpay/client
Version:
OpenPay API TypeScript SDK
70 lines (69 loc) • 1.91 kB
TypeScript
/**
* OpenPay API
* super charge your subscription management.
*
* The version of the OpenAPI document: 1.2.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface BooleanConfigField
*/
export interface BooleanConfigField {
/**
*
* @type {boolean}
* @memberof BooleanConfigField
*/
defaultValue?: boolean | null;
/**
*
* @type {string}
* @memberof BooleanConfigField
*/
description?: string | null;
/**
* The key of the field in the config.
* @type {string}
* @memberof BooleanConfigField
*/
key: string;
/**
* The name of the field.
* @type {string}
* @memberof BooleanConfigField
*/
name: string;
/**
*
* @type {string}
* @memberof BooleanConfigField
*/
type?: BooleanConfigFieldTypeEnum;
/**
*
* @type {boolean}
* @memberof BooleanConfigField
*/
value: boolean | null;
}
/**
* @export
*/
export declare const BooleanConfigFieldTypeEnum: {
readonly Boolean: "boolean";
};
export type BooleanConfigFieldTypeEnum = typeof BooleanConfigFieldTypeEnum[keyof typeof BooleanConfigFieldTypeEnum];
/**
* Check if a given object implements the BooleanConfigField interface.
*/
export declare function instanceOfBooleanConfigField(value: object): value is BooleanConfigField;
export declare function BooleanConfigFieldFromJSON(json: any): BooleanConfigField;
export declare function BooleanConfigFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): BooleanConfigField;
export declare function BooleanConfigFieldToJSON(json: any): BooleanConfigField;
export declare function BooleanConfigFieldToJSONTyped(value?: BooleanConfigField | null, ignoreDiscriminator?: boolean): any;