/** * 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 { V1alpha2DevWorkspaceSpecTemplateComponentsItemsPluginCommands } from '../models/V1alpha2DevWorkspaceSpecTemplateComponentsItemsPluginCommands'; import { V1alpha2DevWorkspaceSpecTemplateComponentsItemsPluginComponents } from '../models/V1alpha2DevWorkspaceSpecTemplateComponentsItemsPluginComponents'; import { V1alpha2DevWorkspaceSpecTemplateComponentsItemsPluginKubernetes } from '../models/V1alpha2DevWorkspaceSpecTemplateComponentsItemsPluginKubernetes'; import { HttpFile } from '../http/http'; /** * Allows importing a plugin. Plugins are mainly imported devfiles that contribute components, commands and events as a consistent single unit. They are defined in either YAML files following the devfile syntax, or as `DevWorkspaceTemplate` Kubernetes Custom Resources */ export class V1alpha2DevWorkspaceSpecTemplateComponentsItemsPlugin { /** * Overrides of commands encapsulated in a parent devfile or a plugin. Overriding is done according to K8S strategic merge patch standard rules. */ 'commands'?: Array; /** * Overrides of components encapsulated in a parent devfile or a plugin. Overriding is done according to K8S strategic merge patch standard rules. */ 'components'?: Array; /** * Id in a registry that contains a Devfile yaml file */ 'id'?: string; 'kubernetes'?: V1alpha2DevWorkspaceSpecTemplateComponentsItemsPluginKubernetes; /** * Registry URL to pull the parent devfile from when using id in the parent reference. To ensure the parent devfile gets resolved consistently in different environments, it is recommended to always specify the `registryUrl` when `id` is used. */ 'registryUrl'?: string; /** * URI Reference of a parent devfile YAML file. It can be a full URL or a relative URI with the current devfile as the base URI. */ 'uri'?: string; /** * Specific stack/sample version to pull the parent devfile from, when using id in the parent reference. To specify `version`, `id` must be defined and used as the import reference source. `version` can be either a specific stack version, or `latest`. If no `version` specified, default version will be used. */ 'version'?: string; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "commands", "baseName": "commands", "type": "Array", "format": "" }, { "name": "components", "baseName": "components", "type": "Array", "format": "" }, { "name": "id", "baseName": "id", "type": "string", "format": "" }, { "name": "kubernetes", "baseName": "kubernetes", "type": "V1alpha2DevWorkspaceSpecTemplateComponentsItemsPluginKubernetes", "format": "" }, { "name": "registryUrl", "baseName": "registryUrl", "type": "string", "format": "" }, { "name": "uri", "baseName": "uri", "type": "string", "format": "" }, { "name": "version", "baseName": "version", "type": "string", "format": "" } ]; static getAttributeTypeMap() { return V1alpha2DevWorkspaceSpecTemplateComponentsItemsPlugin.attributeTypeMap; } public constructor() { } }