/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { V1alpha2DevWorkspaceTemplateSpecCommands } from '../models/V1alpha2DevWorkspaceTemplateSpecCommands'; import { V1alpha2DevWorkspaceTemplateSpecComponents } from '../models/V1alpha2DevWorkspaceTemplateSpecComponents'; import { V1alpha2DevWorkspaceTemplateSpecDependentProjects } from '../models/V1alpha2DevWorkspaceTemplateSpecDependentProjects'; import { V1alpha2DevWorkspaceTemplateSpecEvents } from '../models/V1alpha2DevWorkspaceTemplateSpecEvents'; import { V1alpha2DevWorkspaceTemplateSpecParent } from '../models/V1alpha2DevWorkspaceTemplateSpecParent'; import { V1alpha2DevWorkspaceTemplateSpecProjects } from '../models/V1alpha2DevWorkspaceTemplateSpecProjects'; import { V1alpha2DevWorkspaceTemplateSpecStarterProjects } from '../models/V1alpha2DevWorkspaceTemplateSpecStarterProjects'; import { HttpFile } from '../http/http'; /** * Structure of the devworkspace. This is also the specification of a devworkspace template. */ export class V1alpha2DevWorkspaceTemplateSpec { /** * Map of implementation-dependant free-form YAML attributes. */ 'attributes'?: any; /** * Predefined, ready-to-use, devworkspace-related commands */ 'commands'?: Array; /** * List of the devworkspace components, such as editor and plugins, user-provided containers, or other types of components */ 'components'?: Array; /** * Additional projects related to the main project in the devfile, contianing names and sources locations */ 'dependentProjects'?: Array; 'events'?: V1alpha2DevWorkspaceTemplateSpecEvents; 'parent'?: V1alpha2DevWorkspaceTemplateSpecParent; /** * Projects worked on in the devworkspace, containing names and sources locations */ 'projects'?: Array; /** * StarterProjects is a project that can be used as a starting point when bootstrapping new projects */ 'starterProjects'?: Array; /** * Map of key-value variables used for string replacement in the devfile. Values can be referenced via {{variable-key}} to replace the corresponding value in string fields in the devfile. Replacement cannot be used for - schemaVersion, metadata, parent source - element identifiers, e.g. command id, component name, endpoint name, project name - references to identifiers, e.g. in events, a command's component, container's volume mount name - string enums, e.g. command group kind, endpoint exposure */ 'variables'?: { [key: string]: string; }; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "attributes", "baseName": "attributes", "type": "any", "format": "" }, { "name": "commands", "baseName": "commands", "type": "Array", "format": "" }, { "name": "components", "baseName": "components", "type": "Array", "format": "" }, { "name": "dependentProjects", "baseName": "dependentProjects", "type": "Array", "format": "" }, { "name": "events", "baseName": "events", "type": "V1alpha2DevWorkspaceTemplateSpecEvents", "format": "" }, { "name": "parent", "baseName": "parent", "type": "V1alpha2DevWorkspaceTemplateSpecParent", "format": "" }, { "name": "projects", "baseName": "projects", "type": "Array", "format": "" }, { "name": "starterProjects", "baseName": "starterProjects", "type": "Array", "format": "" }, { "name": "variables", "baseName": "variables", "type": "{ [key: string]: string; }", "format": "" } ]; static getAttributeTypeMap() { return V1alpha2DevWorkspaceTemplateSpec.attributeTypeMap; } public constructor() { } }