/**
 * workers
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * OpenAPI spec version: 2.14
 *
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

import { CurrentTaskEntry } from '././currentTaskEntry';
import { QueueEntry } from '././queueEntry';
import { IdNameEntry } from '././idNameEntry';


export interface Worker {
    /**
     * Worker ID
     */
    id?: string;
    user?: IdNameEntry;
    company?: IdNameEntry;
    /**
     * IP of the worker
     */
    ip?: string;
    /**
     * Registration time
     */
    register_time?: string;
    /**
     * Last activity time (even if an error occurred)
     */
    last_activity_time?: string;
    /**
     * Last successful report time
     */
    last_report_time?: string;
    task?: CurrentTaskEntry;
    project?: IdNameEntry;
    queue?: QueueEntry;
    /**
     * List of queues on which the worker is listening
     */
    queues?: Array<QueueEntry>;
    /**
     * User tags for the worker
     */
    tags?: Array<string>;
    /**
     * Worker entry key
     */
    key?: string;
}
