/* tslint:disable */ /* eslint-disable */ /** * Admin API * The Admin API is used to manage the ApeCloud platform. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { RedisKeyValueItem } from './redis-key-value-item'; /** * Discriminated Redis key value payload for string, hash, list, set, zset, stream, and json editors. * @export * @interface RedisKeyValue */ export interface RedisKeyValue { /** * Redis value type, such as string, hash, list, set, zset, stream, or json. * @type {string} * @memberof RedisKeyValue */ 'type'?: string; /** * String or serialized scalar value for string/json previews. * @type {string} * @memberof RedisKeyValue */ 'text'?: string; /** * Paged collection items for hash, list, set, zset, stream, and json collection previews. * @type {Array} * @memberof RedisKeyValue */ 'items'?: Array; /** * Cursor for the next value page. Empty or \"0\" means the value page is complete. * @type {string} * @memberof RedisKeyValue */ 'cursor'?: string; /** * Offset used by offset-based value pagination. * @type {number} * @memberof RedisKeyValue */ 'offset'?: number; /** * Maximum number of value items returned. * @type {number} * @memberof RedisKeyValue */ 'limit'?: number; /** * Whether the returned value is truncated by size or item limit. * @type {boolean} * @memberof RedisKeyValue */ 'truncated'?: boolean; /** * JSON path used for the returned JSON value. * @type {string} * @memberof RedisKeyValue */ 'jsonPath'?: string; }