@indexea/sdk
Version:
Indexea JavaScript SDK (indexea.com)
129 lines (128 loc) • 2.88 kB
TypeScript
/**
* 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.
*/
import type { AppMentorBean } from './AppMentorBean';
/**
* 应用详情
* @export
* @interface AppBean
*/
export interface AppBean {
/**
*
* @type {number}
* @memberof AppBean
*/
id?: number;
/**
* 创建者
* @type {number}
* @memberof AppBean
*/
account?: number;
/**
*
* @type {number}
* @memberof AppBean
*/
cluster?: number;
/**
*
* @type {string}
* @memberof AppBean
*/
name?: string;
/**
* 应用唯一标识
* @type {string}
* @memberof AppBean
*/
ident?: string;
/**
*
* @type {string}
* @memberof AppBean
*/
intro?: string;
/**
* 是否付费应用
* @type {boolean}
* @memberof AppBean
*/
paid?: boolean;
/**
* 存储空间
* @type {number}
* @memberof AppBean
*/
storage?: number;
/**
* 分片数
* @type {number}
* @memberof AppBean
*/
shards?: number;
/**
* 副本数
* @type {number}
* @memberof AppBean
*/
replicas?: number;
/**
* 搜索次数
* @type {number}
* @memberof AppBean
*/
searchs?: number;
/**
*
* @type {AppMentorBean}
* @memberof AppBean
*/
mentor?: AppMentorBean;
/**
* 应用设置
* @type {object}
* @memberof AppBean
*/
settings?: object;
/**
* 应用索引数
* @type {number}
* @memberof AppBean
*/
indices?: number;
/**
*
* @type {Date}
* @memberof AppBean
*/
createdAt?: Date;
/**
*
* @type {Date}
* @memberof AppBean
*/
expiredAt?: Date;
/**
*
* @type {number}
* @memberof AppBean
*/
status?: number;
}
/**
* Check if a given object implements the AppBean interface.
*/
export declare function instanceOfAppBean(value: object): boolean;
export declare function AppBeanFromJSON(json: any): AppBean;
export declare function AppBeanFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppBean;
export declare function AppBeanToJSON(value?: AppBean | null): any;