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

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

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

    static getAttributeTypeMap() {
        return IoArgoprojEventsV1alpha1FileEventSource.attributeTypeMap;
    }

    public constructor() {
    }
}

