/** * 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 { V230DevfileCommands } from '../models/V230DevfileCommands'; import { V230DevfileComponents } from '../models/V230DevfileComponents'; import { V230DevfileDependentProjects } from '../models/V230DevfileDependentProjects'; import { V230DevfileEvents } from '../models/V230DevfileEvents'; import { V230DevfileMetadata } from '../models/V230DevfileMetadata'; import { V230DevfileParent } from '../models/V230DevfileParent'; import { V230DevfileProjects } from '../models/V230DevfileProjects'; import { V230DevfileStarterProjects } from '../models/V230DevfileStarterProjects'; import { HttpFile } from '../http/http'; /** * Devfile describes the structure of a cloud-native devworkspace and development environment. */ export class V230Devfile { /** * 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'?: V230DevfileEvents; 'metadata'?: V230DevfileMetadata; 'parent'?: V230DevfileParent; /** * Projects worked on in the devworkspace, containing names and sources locations */ 'projects'?: Array; /** * Devfile schema version */ 'schemaVersion': string; /** * 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": "V230DevfileEvents", "format": "" }, { "name": "metadata", "baseName": "metadata", "type": "V230DevfileMetadata", "format": "" }, { "name": "parent", "baseName": "parent", "type": "V230DevfileParent", "format": "" }, { "name": "projects", "baseName": "projects", "type": "Array", "format": "" }, { "name": "schemaVersion", "baseName": "schemaVersion", "type": "string", "format": "" }, { "name": "starterProjects", "baseName": "starterProjects", "type": "Array", "format": "" }, { "name": "variables", "baseName": "variables", "type": "{ [key: string]: string; }", "format": "" } ]; static getAttributeTypeMap() { return V230Devfile.attributeTypeMap; } public constructor() { } }