/** * 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 { V1alpha2DevWorkspaceSpecContributionsItemsCommands } from '../models/V1alpha2DevWorkspaceSpecContributionsItemsCommands'; import { V1alpha2DevWorkspaceSpecContributionsItemsComponents } from '../models/V1alpha2DevWorkspaceSpecContributionsItemsComponents'; import { V1alpha2DevWorkspaceSpecContributionsItemsKubernetes } from '../models/V1alpha2DevWorkspaceSpecContributionsItemsKubernetes'; import { HttpFile } from '../http/http'; export class V1alpha2DevWorkspaceSpecContributions { /** * Map of implementation-dependant free-form YAML attributes. */ 'attributes'?: any; 'commands'?: V1alpha2DevWorkspaceSpecContributionsItemsCommands; 'components'?: V1alpha2DevWorkspaceSpecContributionsItemsComponents; /** * Id in a registry that contains a Devfile yaml file */ 'id'?: string; 'kubernetes'?: V1alpha2DevWorkspaceSpecContributionsItemsKubernetes; /** * Mandatory name that allows referencing the component from other elements (such as commands) or from an external devfile that may reference this component through a parent or a plugin. */ 'name': string; /** * 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": "attributes", "baseName": "attributes", "type": "any", "format": "" }, { "name": "commands", "baseName": "commands", "type": "V1alpha2DevWorkspaceSpecContributionsItemsCommands", "format": "" }, { "name": "components", "baseName": "components", "type": "V1alpha2DevWorkspaceSpecContributionsItemsComponents", "format": "" }, { "name": "id", "baseName": "id", "type": "string", "format": "" }, { "name": "kubernetes", "baseName": "kubernetes", "type": "V1alpha2DevWorkspaceSpecContributionsItemsKubernetes", "format": "" }, { "name": "name", "baseName": "name", "type": "string", "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 V1alpha2DevWorkspaceSpecContributions.attributeTypeMap; } public constructor() { } }