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

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

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

    static getAttributeTypeMap() {
        return IoArgoprojEventsV1alpha1ResourceEventSource.attributeTypeMap;
    }

    public constructor() {
    }
}

