// @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 { IoArgoprojEventsV1alpha1BasicAuth } from './ioArgoprojEventsV1alpha1BasicAuth';
import { IoArgoprojEventsV1alpha1SecureHeader } from './ioArgoprojEventsV1alpha1SecureHeader';
import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig';
import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter';

export class IoArgoprojEventsV1alpha1HTTPTrigger {
    'basicAuth'?: IoArgoprojEventsV1alpha1BasicAuth;
    'headers'?: { [key: string]: string; };
    'method'?: string;
    /**
    * Parameters is the list of key-value extracted from event\'s payload that are applied to the HTTP trigger resource.
    */
    'parameters'?: Array<IoArgoprojEventsV1alpha1TriggerParameter>;
    'payload'?: Array<IoArgoprojEventsV1alpha1TriggerParameter>;
    'secureHeaders'?: Array<IoArgoprojEventsV1alpha1SecureHeader>;
    'timeout'?: string;
    'tls'?: IoArgoprojEventsV1alpha1TLSConfig;
    /**
    * URL refers to the URL to send HTTP request to.
    */
    'url'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "basicAuth",
            "baseName": "basicAuth",
            "type": "IoArgoprojEventsV1alpha1BasicAuth"
        },
        {
            "name": "headers",
            "baseName": "headers",
            "type": "{ [key: string]: string; }"
        },
        {
            "name": "method",
            "baseName": "method",
            "type": "string"
        },
        {
            "name": "parameters",
            "baseName": "parameters",
            "type": "Array<IoArgoprojEventsV1alpha1TriggerParameter>"
        },
        {
            "name": "payload",
            "baseName": "payload",
            "type": "Array<IoArgoprojEventsV1alpha1TriggerParameter>"
        },
        {
            "name": "secureHeaders",
            "baseName": "secureHeaders",
            "type": "Array<IoArgoprojEventsV1alpha1SecureHeader>"
        },
        {
            "name": "timeout",
            "baseName": "timeout",
            "type": "string"
        },
        {
            "name": "tls",
            "baseName": "tls",
            "type": "IoArgoprojEventsV1alpha1TLSConfig"
        },
        {
            "name": "url",
            "baseName": "url",
            "type": "string"
        }    ];

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

