/** * Squidex API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0.0 * * * 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 { ResourceLink } from './ResourceLink'; /** * * @export * @interface EventConsumerDto */ export interface EventConsumerDto { /** * The links. * @type {{ [key: string]: ResourceLink; }} * @memberof EventConsumerDto */ links: { [key: string]: ResourceLink; }; /** * Indicates if the event consumer has been started. * @type {boolean} * @memberof EventConsumerDto */ isStopped: boolean; /** * Indicates if the event consumer is resetting at the moment. * @type {boolean} * @memberof EventConsumerDto */ isResetting: boolean; /** * The number of handled events. * @type {number} * @memberof EventConsumerDto */ count: number; /** * The name of the event consumer. * @type {string} * @memberof EventConsumerDto */ name: string; /** * The error details if the event consumer has been stopped after a failure. * @type {string} * @memberof EventConsumerDto */ error?: string | null; /** * The position within the vent stream. * @type {string} * @memberof EventConsumerDto */ position?: string | null; } /** * Check if a given object implements the EventConsumerDto interface. */ export declare function instanceOfEventConsumerDto(value: any): value is EventConsumerDto; export declare function EventConsumerDtoFromJSON(json: any): EventConsumerDto; export declare function EventConsumerDtoFromJSONTyped(json: any, _ignoreDiscriminator: boolean): EventConsumerDto; export declare function EventConsumerDtoToJSON(value?: EventConsumerDto | null, _ignoreDiscriminator?: boolean): any;