/* 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 { BrokerNode } from './broker-node';

/**
 * 
 * @export
 * @interface Partition
 */
export interface Partition {
    /**
     * 
     * @type {number}
     * @memberof Partition
     */
    'id': number;
    /**
     * 
     * @type {BrokerNode}
     * @memberof Partition
     */
    'leader': BrokerNode;
    /**
     * 
     * @type {Array<BrokerNode>}
     * @memberof Partition
     */
    'replicas'?: Array<BrokerNode>;
    /**
     * In-Sync Replicas
     * @type {Array<BrokerNode>}
     * @memberof Partition
     */
    'isr'?: Array<BrokerNode>;
    /**
     * 
     * @type {number}
     * @memberof Partition
     */
    'beginningOffset'?: number;
    /**
     * 
     * @type {number}
     * @memberof Partition
     */
    'endOffset'?: number;
}

