// @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 { IoArgoprojEventsV1alpha1ResourceFilter } from './ioArgoprojEventsV1alpha1ResourceFilter';
import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from './ioK8sApimachineryPkgApisMetaV1GroupVersionResource';

/**
* ResourceEventSource refers to a event-source for K8s resource related events.
*/
export class IoArgoprojEventsV1alpha1ResourceEventSource {
    /**
    * EventTypes is the list of event type to watch. Possible values are - ADD, UPDATE and DELETE.
    */
    'eventTypes'?: Array<string>;
    'filter'?: IoArgoprojEventsV1alpha1ResourceFilter;
    'groupVersionResource'?: IoK8sApimachineryPkgApisMetaV1GroupVersionResource;
    'metadata'?: { [key: string]: string; };
    'namespace'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "eventTypes",
            "baseName": "eventTypes",
            "type": "Array<string>"
        },
        {
            "name": "filter",
            "baseName": "filter",
            "type": "IoArgoprojEventsV1alpha1ResourceFilter"
        },
        {
            "name": "groupVersionResource",
            "baseName": "groupVersionResource",
            "type": "IoK8sApimachineryPkgApisMetaV1GroupVersionResource"
        },
        {
            "name": "metadata",
            "baseName": "metadata",
            "type": "{ [key: string]: string; }"
        },
        {
            "name": "namespace",
            "baseName": "namespace",
            "type": "string"
        }    ];

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

