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

export class IoArgoprojEventsV1alpha1WebhookContext {
    'authSecret'?: IoK8sApiCoreV1SecretKeySelector;
    'endpoint'?: string;
    'maxPayloadSize'?: string;
    'metadata'?: { [key: string]: string; };
    'method'?: string;
    /**
    * Port on which HTTP server is listening for incoming events.
    */
    'port'?: string;
    'serverCertSecret'?: IoK8sApiCoreV1SecretKeySelector;
    'serverKeySecret'?: IoK8sApiCoreV1SecretKeySelector;
    /**
    * URL is the url of the server.
    */
    'url'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "authSecret",
            "baseName": "authSecret",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        },
        {
            "name": "endpoint",
            "baseName": "endpoint",
            "type": "string"
        },
        {
            "name": "maxPayloadSize",
            "baseName": "maxPayloadSize",
            "type": "string"
        },
        {
            "name": "metadata",
            "baseName": "metadata",
            "type": "{ [key: string]: string; }"
        },
        {
            "name": "method",
            "baseName": "method",
            "type": "string"
        },
        {
            "name": "port",
            "baseName": "port",
            "type": "string"
        },
        {
            "name": "serverCertSecret",
            "baseName": "serverCertSecret",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        },
        {
            "name": "serverKeySecret",
            "baseName": "serverKeySecret",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        },
        {
            "name": "url",
            "baseName": "url",
            "type": "string"
        }    ];

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

