UNPKG

@indexea/sdk

Version:

Indexea JavaScript SDK (indexea.com)

104 lines (103 loc) 2.83 kB
/** * Indexea OpenAPI * 这是 Indexea 搜索服务平台的 OpenAPI,用于描述平台的所有接口信息,你可以通过这个页面来了解和在线验证平台的所有接口信息。 ### Errors 本 API 使用标准的 HTTP 状态码来指示操作成功或者失败,如果失败将会在 body 中以 JSON 格式提供详细的错误信息,如下所示: ``` { \"error\": 404, \"message\": \"page not found\" } ``` * * The version of the OpenAPI document: 1.0.0 * Contact: indexea.com@gmail.com * * 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 QueryVariableBean */ export interface QueryVariableBean { /** * * @type {number} * @memberof QueryVariableBean */ id?: number; /** * * @type {number} * @memberof QueryVariableBean */ app?: number; /** * 变量名 * @type {string} * @memberof QueryVariableBean */ name?: string; /** * 变量对应 HTTP 请求的参数名 * @type {string} * @memberof QueryVariableBean */ pname?: string; /** * * @type {string} * @memberof QueryVariableBean */ intro?: string; /** * 变量类型 * @type {string} * @memberof QueryVariableBean */ type?: QueryVariableBeanTypeEnum; /** * * @type {boolean} * @memberof QueryVariableBean */ required?: boolean; /** * * @type {string} * @memberof QueryVariableBean */ format?: string; /** * * @type {string} * @memberof QueryVariableBean */ value?: string; /** * 变量可用值列表,以逗号分隔 * @type {string} * @memberof QueryVariableBean */ values?: string; /** * * @type {Date} * @memberof QueryVariableBean */ createdAt?: Date; } /** * @export */ export declare const QueryVariableBeanTypeEnum: { readonly Text: "text"; readonly Number: "number"; readonly Bool: "bool"; readonly Date: "date"; readonly Datetime: "datetime"; readonly User: "user"; }; export type QueryVariableBeanTypeEnum = typeof QueryVariableBeanTypeEnum[keyof typeof QueryVariableBeanTypeEnum]; /** * Check if a given object implements the QueryVariableBean interface. */ export declare function instanceOfQueryVariableBean(value: object): boolean; export declare function QueryVariableBeanFromJSON(json: any): QueryVariableBean; export declare function QueryVariableBeanFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryVariableBean; export declare function QueryVariableBeanToJSON(value?: QueryVariableBean | null): any;