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

export class IoArgoprojEventsV1alpha1TriggerParameter {
    /**
    * Dest is the JSONPath of a resource key. A path is a series of keys separated by a dot. The colon character can be escaped with \'.\' The -1 key can be used to append a value to an existing array. See https://github.com/tidwall/sjson#path-syntax for more information about how this is used.
    */
    'dest'?: string;
    /**
    * Operation is what to do with the existing value at Dest, whether to \'prepend\', \'overwrite\', or \'append\' it.
    */
    'operation'?: string;
    'src'?: IoArgoprojEventsV1alpha1TriggerParameterSource;

    static readonly discriminator: string | undefined = undefined;

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

    static getAttributeTypeMap() {
        return IoArgoprojEventsV1alpha1TriggerParameter.attributeTypeMap;
    }

    public constructor() {
    }
}

