// @ts-nocheck
/**
 * Argo Workflows API
 * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/
 *
 * The version of the OpenAPI document: 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 { RequestFile } from './models';
import { IoArgoprojEventsV1alpha1GitCreds } from './ioArgoprojEventsV1alpha1GitCreds';
import { IoArgoprojEventsV1alpha1GitRemoteConfig } from './ioArgoprojEventsV1alpha1GitRemoteConfig';
import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector';

export class IoArgoprojEventsV1alpha1GitArtifact {
    'branch'?: string;
    /**
    * Directory to clone the repository. We clone complete directory because GitArtifact is not limited to any specific Git service providers. Hence we don\'t use any specific git provider client.
    */
    'cloneDirectory'?: string;
    'creds'?: IoArgoprojEventsV1alpha1GitCreds;
    'filePath'?: string;
    'insecureIgnoreHostKey'?: boolean;
    'ref'?: string;
    'remote'?: IoArgoprojEventsV1alpha1GitRemoteConfig;
    'sshKeySecret'?: IoK8sApiCoreV1SecretKeySelector;
    'tag'?: string;
    'url'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "branch",
            "baseName": "branch",
            "type": "string"
        },
        {
            "name": "cloneDirectory",
            "baseName": "cloneDirectory",
            "type": "string"
        },
        {
            "name": "creds",
            "baseName": "creds",
            "type": "IoArgoprojEventsV1alpha1GitCreds"
        },
        {
            "name": "filePath",
            "baseName": "filePath",
            "type": "string"
        },
        {
            "name": "insecureIgnoreHostKey",
            "baseName": "insecureIgnoreHostKey",
            "type": "boolean"
        },
        {
            "name": "ref",
            "baseName": "ref",
            "type": "string"
        },
        {
            "name": "remote",
            "baseName": "remote",
            "type": "IoArgoprojEventsV1alpha1GitRemoteConfig"
        },
        {
            "name": "sshKeySecret",
            "baseName": "sshKeySecret",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        },
        {
            "name": "tag",
            "baseName": "tag",
            "type": "string"
        },
        {
            "name": "url",
            "baseName": "url",
            "type": "string"
        }    ];

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

