/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc1
 * Contact: hello@goauthentik.io
 *
 * 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 { LogEvent } from './LogEvent';
import type { StateEnum } from './StateEnum';
import type { TaskAggregatedStatusEnum } from './TaskAggregatedStatusEnum';
/**
 *
 * @export
 * @interface Task
 */
export interface Task {
    /**
     *
     * @type {string}
     * @memberof Task
     */
    messageId?: string;
    /**
     * Queue name
     * @type {string}
     * @memberof Task
     */
    queueName?: string;
    /**
     * Dramatiq actor name
     * @type {string}
     * @memberof Task
     */
    actorName: string;
    /**
     * Task status
     * @type {StateEnum}
     * @memberof Task
     */
    state?: StateEnum;
    /**
     * Task last modified time
     * @type {Date}
     * @memberof Task
     */
    mtime?: Date;
    /**
     * Number of retries
     * @type {number}
     * @memberof Task
     */
    retries?: number;
    /**
     * Planned execution time
     * @type {Date}
     * @memberof Task
     */
    eta?: Date | null;
    /**
     *
     * @type {string}
     * @memberof Task
     */
    readonly relObjAppLabel: string;
    /**
     *
     * @type {string}
     * @memberof Task
     */
    readonly relObjModel: string;
    /**
     *
     * @type {string}
     * @memberof Task
     */
    relObjId?: string | null;
    /**
     *
     * @type {string}
     * @memberof Task
     */
    readonly uid: string;
    /**
     *
     * @type {Array<LogEvent>}
     * @memberof Task
     */
    readonly logs: Array<LogEvent>;
    /**
     *
     * @type {Array<LogEvent>}
     * @memberof Task
     */
    readonly previousLogs: Array<LogEvent>;
    /**
     *
     * @type {TaskAggregatedStatusEnum}
     * @memberof Task
     */
    aggregatedStatus: TaskAggregatedStatusEnum;
    /**
     *
     * @type {string}
     * @memberof Task
     */
    readonly description: string | null;
}
/**
 * Check if a given object implements the Task interface.
 */
export declare function instanceOfTask(value: object): value is Task;
export declare function TaskFromJSON(json: any): Task;
export declare function TaskFromJSONTyped(json: any, ignoreDiscriminator: boolean): Task;
export declare function TaskToJSON(json: any): Task;
export declare function TaskToJSONTyped(value?: Omit<Task, 'rel_obj_app_label' | 'rel_obj_model' | 'uid' | 'logs' | 'previous_logs' | 'description'> | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=Task.d.ts.map