/**
 * 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 { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff';
import { IoArgoprojEventsV1alpha1RateLimit } from '../models/IoArgoprojEventsV1alpha1RateLimit';
import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter';
import { IoArgoprojEventsV1alpha1TriggerPolicy } from '../models/IoArgoprojEventsV1alpha1TriggerPolicy';
import { IoArgoprojEventsV1alpha1TriggerTemplate } from '../models/IoArgoprojEventsV1alpha1TriggerTemplate';
import { HttpFile } from '../http/http';

export class IoArgoprojEventsV1alpha1Trigger {
    'parameters'?: Array<IoArgoprojEventsV1alpha1TriggerParameter>;
    'policy'?: IoArgoprojEventsV1alpha1TriggerPolicy;
    'rateLimit'?: IoArgoprojEventsV1alpha1RateLimit;
    'retryStrategy'?: IoArgoprojEventsV1alpha1Backoff;
    'template'?: IoArgoprojEventsV1alpha1TriggerTemplate;

    static readonly discriminator: string | undefined = undefined;

    static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
        {
            "name": "parameters",
            "baseName": "parameters",
            "type": "Array<IoArgoprojEventsV1alpha1TriggerParameter>",
            "format": ""
        },
        {
            "name": "policy",
            "baseName": "policy",
            "type": "IoArgoprojEventsV1alpha1TriggerPolicy",
            "format": ""
        },
        {
            "name": "rateLimit",
            "baseName": "rateLimit",
            "type": "IoArgoprojEventsV1alpha1RateLimit",
            "format": ""
        },
        {
            "name": "retryStrategy",
            "baseName": "retryStrategy",
            "type": "IoArgoprojEventsV1alpha1Backoff",
            "format": ""
        },
        {
            "name": "template",
            "baseName": "template",
            "type": "IoArgoprojEventsV1alpha1TriggerTemplate",
            "format": ""
        }    ];

    static getAttributeTypeMap() {
        return IoArgoprojEventsV1alpha1Trigger.attributeTypeMap;
    }

    public constructor() {
    }
}

