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

/**
* FileEventSource describes an event-source for file related events.
*/
export class IoArgoprojEventsV1alpha1FileEventSource {
    'eventType'?: string;
    'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter;
    'metadata'?: { [key: string]: string; };
    'polling'?: boolean;
    'watchPathConfig'?: IoArgoprojEventsV1alpha1WatchPathConfig;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "eventType",
            "baseName": "eventType",
            "type": "string"
        },
        {
            "name": "filter",
            "baseName": "filter",
            "type": "IoArgoprojEventsV1alpha1EventSourceFilter"
        },
        {
            "name": "metadata",
            "baseName": "metadata",
            "type": "{ [key: string]: string; }"
        },
        {
            "name": "polling",
            "baseName": "polling",
            "type": "boolean"
        },
        {
            "name": "watchPathConfig",
            "baseName": "watchPathConfig",
            "type": "IoArgoprojEventsV1alpha1WatchPathConfig"
        }    ];

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

