// @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 { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter';
import { IoArgoprojEventsV1alpha1WebhookContext } from './ioArgoprojEventsV1alpha1WebhookContext';
import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector';

export class IoArgoprojEventsV1alpha1SNSEventSource {
    'accessKey'?: IoK8sApiCoreV1SecretKeySelector;
    'endpoint'?: string;
    'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter;
    'metadata'?: { [key: string]: string; };
    'region'?: string;
    'roleARN'?: string;
    'secretKey'?: IoK8sApiCoreV1SecretKeySelector;
    'topicArn'?: string;
    'validateSignature'?: boolean;
    'webhook'?: IoArgoprojEventsV1alpha1WebhookContext;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "accessKey",
            "baseName": "accessKey",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        },
        {
            "name": "endpoint",
            "baseName": "endpoint",
            "type": "string"
        },
        {
            "name": "filter",
            "baseName": "filter",
            "type": "IoArgoprojEventsV1alpha1EventSourceFilter"
        },
        {
            "name": "metadata",
            "baseName": "metadata",
            "type": "{ [key: string]: string; }"
        },
        {
            "name": "region",
            "baseName": "region",
            "type": "string"
        },
        {
            "name": "roleARN",
            "baseName": "roleARN",
            "type": "string"
        },
        {
            "name": "secretKey",
            "baseName": "secretKey",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        },
        {
            "name": "topicArn",
            "baseName": "topicArn",
            "type": "string"
        },
        {
            "name": "validateSignature",
            "baseName": "validateSignature",
            "type": "boolean"
        },
        {
            "name": "webhook",
            "baseName": "webhook",
            "type": "IoArgoprojEventsV1alpha1WebhookContext"
        }    ];

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

