/**
 * Kubernetes
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { V1alpha2DevWorkspaceTemplateSpecComponentsItemsImageDockerfileDevfileRegistry } from './v1alpha2DevWorkspaceTemplateSpecComponentsItemsImageDockerfileDevfileRegistry';
import { V1alpha2DevWorkspaceTemplateSpecComponentsItemsImageDockerfileGit } from './v1alpha2DevWorkspaceTemplateSpecComponentsItemsImageDockerfileGit';

/**
* Allows specifying dockerfile type build
*/
export class V1alpha2DevWorkspaceTemplateSpecComponentsItemsImageDockerfile {
    /**
    * The arguments to supply to the dockerfile build.
    */
    'args'?: Array<string>;
    /**
    * Path of source directory to establish build context. Defaults to ${PROJECT_ROOT} in the container
    */
    'buildContext'?: string;
    'devfileRegistry'?: V1alpha2DevWorkspaceTemplateSpecComponentsItemsImageDockerfileDevfileRegistry;
    'git'?: V1alpha2DevWorkspaceTemplateSpecComponentsItemsImageDockerfileGit;
    /**
    * Specify if a privileged builder pod is required.  Default value is `false`
    */
    'rootRequired'?: boolean;
    /**
    * URI Reference of a Dockerfile. It can be a full URL or a relative URI from the current devfile as the base URI.
    */
    'uri'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "args",
            "baseName": "args",
            "type": "Array<string>"
        },
        {
            "name": "buildContext",
            "baseName": "buildContext",
            "type": "string"
        },
        {
            "name": "devfileRegistry",
            "baseName": "devfileRegistry",
            "type": "V1alpha2DevWorkspaceTemplateSpecComponentsItemsImageDockerfileDevfileRegistry"
        },
        {
            "name": "git",
            "baseName": "git",
            "type": "V1alpha2DevWorkspaceTemplateSpecComponentsItemsImageDockerfileGit"
        },
        {
            "name": "rootRequired",
            "baseName": "rootRequired",
            "type": "boolean"
        },
        {
            "name": "uri",
            "baseName": "uri",
            "type": "string"
        }    ];

    static getAttributeTypeMap() {
        return V1alpha2DevWorkspaceTemplateSpecComponentsItemsImageDockerfile.attributeTypeMap;
    }
}

