/* tslint:disable */
/* eslint-disable */
/**
 * Halo
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.20.10-SNAPSHOT
 * 
 *
 * 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 { Condition } from './condition';

/**
 * 
 * @export
 * @interface PluginStatus
 */
export interface PluginStatus {
    /**
     * 
     * @type {Array<Condition>}
     * @memberof PluginStatus
     */
    'conditions'?: Array<Condition>;
    /**
     * 
     * @type {string}
     * @memberof PluginStatus
     */
    'entry'?: string;
    /**
     * 
     * @type {string}
     * @memberof PluginStatus
     */
    'lastProbeState'?: PluginStatusLastProbeStateEnum;
    /**
     * 
     * @type {string}
     * @memberof PluginStatus
     */
    'lastStartTime'?: string;
    /**
     * Load location of the plugin, often a path.
     * @type {string}
     * @memberof PluginStatus
     */
    'loadLocation'?: string;
    /**
     * 
     * @type {string}
     * @memberof PluginStatus
     */
    'logo'?: string;
    /**
     * 
     * @type {string}
     * @memberof PluginStatus
     */
    'phase'?: PluginStatusPhaseEnum;
    /**
     * 
     * @type {string}
     * @memberof PluginStatus
     */
    'stylesheet'?: string;
}

export const PluginStatusLastProbeStateEnum = {
    Created: 'CREATED',
    Disabled: 'DISABLED',
    Resolved: 'RESOLVED',
    Started: 'STARTED',
    Stopped: 'STOPPED',
    Failed: 'FAILED',
    Unloaded: 'UNLOADED'
} as const;

export type PluginStatusLastProbeStateEnum = typeof PluginStatusLastProbeStateEnum[keyof typeof PluginStatusLastProbeStateEnum];
export const PluginStatusPhaseEnum = {
    Pending: 'PENDING',
    Starting: 'STARTING',
    Created: 'CREATED',
    Disabling: 'DISABLING',
    Disabled: 'DISABLED',
    Resolved: 'RESOLVED',
    Started: 'STARTED',
    Stopped: 'STOPPED',
    Failed: 'FAILED',
    Unknown: 'UNKNOWN'
} as const;

export type PluginStatusPhaseEnum = typeof PluginStatusPhaseEnum[keyof typeof PluginStatusPhaseEnum];


