/**
 * 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/
 *
 * OpenAPI spec version: 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 { IoArgoprojEventsV1alpha1GitCreds } from '../models/IoArgoprojEventsV1alpha1GitCreds';
import { IoArgoprojEventsV1alpha1GitRemoteConfig } from '../models/IoArgoprojEventsV1alpha1GitRemoteConfig';
import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector';
import { HttpFile } from '../http/http';

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 readonly discriminator: string | undefined = undefined;

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

    static getAttributeTypeMap() {
        return IoArgoprojEventsV1alpha1GitArtifact.attributeTypeMap;
    }

    public constructor() {
    }
}

