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

/**
* PayloadField binds a value at path within the event payload against a name.
*/
export class IoArgoprojEventsV1alpha1PayloadField {
    /**
    * Name acts as key that holds the value at the path.
    */
    'name'?: string;
    /**
    * Path is the JSONPath of the event\'s (JSON decoded) data key Path is a series of keys separated by a dot. A key may contain wildcard characters \'*\' and \'?\'. To access an array value use the index as the key. The dot and wildcard characters can be escaped with \'\\\\\'. See https://github.com/tidwall/gjson#path-syntax for more information on how to use this.
    */
    'path'?: string;

    static readonly discriminator: string | undefined = undefined;

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

    static getAttributeTypeMap() {
        return IoArgoprojEventsV1alpha1PayloadField.attributeTypeMap;
    }

    public constructor() {
    }
}

