/* tslint:disable */
/* eslint-disable */
/**
 * Daytona
 * Daytona AI platform API Docs
 *
 * The version of the OpenAPI document: 1.0
 * Contact: support@daytona.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 { RunnerClass } from './runner-class';
// May contain unused imports in some cases
// @ts-ignore
import type { RunnerState } from './runner-state';
// May contain unused imports in some cases
// @ts-ignore
import type { SandboxClass } from './sandbox-class';

export interface Runner {
    /**
     * The ID of the runner
     */
    'id': string;
    /**
     * The domain of the runner
     */
    'domain'?: string;
    /**
     * The API URL of the runner
     */
    'apiUrl'?: string;
    /**
     * The proxy URL of the runner
     */
    'proxyUrl'?: string;
    /**
     * The CPU capacity of the runner
     */
    'cpu': number;
    /**
     * The memory capacity of the runner in GiB
     */
    'memory': number;
    /**
     * The disk capacity of the runner in GiB
     */
    'disk': number;
    /**
     * The GPU capacity of the runner
     */
    'gpu'?: number;
    /**
     * The type of GPU
     */
    'gpuType'?: string;
    /**
     * The class of the runner
     */
    'class': SandboxClass;
    /**
     * Current CPU usage percentage
     */
    'currentCpuUsagePercentage'?: number;
    /**
     * Current RAM usage percentage
     */
    'currentMemoryUsagePercentage'?: number;
    /**
     * Current disk usage percentage
     */
    'currentDiskUsagePercentage'?: number;
    /**
     * Current allocated CPU
     */
    'currentAllocatedCpu'?: number;
    /**
     * Current allocated memory in GiB
     */
    'currentAllocatedMemoryGiB'?: number;
    /**
     * Current allocated disk in GiB
     */
    'currentAllocatedDiskGiB'?: number;
    /**
     * Current snapshot count
     */
    'currentSnapshotCount'?: number;
    /**
     * Current number of started sandboxes
     */
    'currentStartedSandboxes'?: number;
    /**
     * Runner availability score
     */
    'availabilityScore'?: number;
    /**
     * The region of the runner
     */
    'region': string;
    /**
     * The name of the runner
     */
    'name': string;
    /**
     * The state of the runner
     */
    'state': RunnerState;
    /**
     * The last time the runner was checked
     */
    'lastChecked'?: string;
    /**
     * Whether the runner is unschedulable
     */
    'unschedulable': boolean;
    /**
     * The creation timestamp of the runner
     */
    'createdAt': string;
    /**
     * The last update timestamp of the runner
     */
    'updatedAt': string;
    /**
     * The version of the runner (deprecated in favor of apiVersion)
     * @deprecated
     */
    'version': string;
    /**
     * The api version of the runner
     * @deprecated
     */
    'apiVersion': string;
    /**
     * The class of the runner
     */
    'runnerClass': RunnerClass;
    /**
     * The app version of the runner
     * @deprecated
     */
    'appVersion'?: string;
}



