/**
 * 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 { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam';
import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector';
import { HttpFile } from '../http/http';

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

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

    static getAttributeTypeMap() {
        return IoArgoprojWorkflowV1alpha1OAuth2Auth.attributeTypeMap;
    }

    public constructor() {
    }
}

