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

export class IoArgoprojEventsV1alpha1ExprFilter {
    /**
    * Expr refers to the expression that determines the outcome of the filter.
    */
    'expr'?: string;
    /**
    * Fields refers to set of keys that refer to the paths within event payload.
    */
    'fields'?: Array<IoArgoprojEventsV1alpha1PayloadField>;

    static readonly discriminator: string | undefined = undefined;

    static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
        {
            "name": "expr",
            "baseName": "expr",
            "type": "string",
            "format": ""
        },
        {
            "name": "fields",
            "baseName": "fields",
            "type": "Array<IoArgoprojEventsV1alpha1PayloadField>",
            "format": ""
        }    ];

    static getAttributeTypeMap() {
        return IoArgoprojEventsV1alpha1ExprFilter.attributeTypeMap;
    }

    public constructor() {
    }
}

