// @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 { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from './ioArgoprojWorkflowV1alpha1OAuth2EndpointParam';
import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector';

/**
* OAuth2Auth holds all information for client authentication via OAuth2 tokens
*/
export class IoArgoprojWorkflowV1alpha1OAuth2Auth {
    'clientIDSecret'?: IoK8sApiCoreV1SecretKeySelector;
    'clientSecretSecret'?: IoK8sApiCoreV1SecretKeySelector;
    'endpointParams'?: Array<IoArgoprojWorkflowV1alpha1OAuth2EndpointParam>;
    'scopes'?: Array<string>;
    'tokenURLSecret'?: IoK8sApiCoreV1SecretKeySelector;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "clientIDSecret",
            "baseName": "clientIDSecret",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        },
        {
            "name": "clientSecretSecret",
            "baseName": "clientSecretSecret",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        },
        {
            "name": "endpointParams",
            "baseName": "endpointParams",
            "type": "Array<IoArgoprojWorkflowV1alpha1OAuth2EndpointParam>"
        },
        {
            "name": "scopes",
            "baseName": "scopes",
            "type": "Array<string>"
        },
        {
            "name": "tokenURLSecret",
            "baseName": "tokenURLSecret",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        }    ];

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

