/**
 * 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 { IoArgoprojEventsV1alpha1Metadata } from '../models/IoArgoprojEventsV1alpha1Metadata';
import { IoK8sApiCoreV1Affinity } from '../models/IoK8sApiCoreV1Affinity';
import { IoK8sApiCoreV1Container } from '../models/IoK8sApiCoreV1Container';
import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference';
import { IoK8sApiCoreV1PodSecurityContext } from '../models/IoK8sApiCoreV1PodSecurityContext';
import { IoK8sApiCoreV1Toleration } from '../models/IoK8sApiCoreV1Toleration';
import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume';
import { HttpFile } from '../http/http';

export class IoArgoprojEventsV1alpha1Template {
    'affinity'?: IoK8sApiCoreV1Affinity;
    'container'?: IoK8sApiCoreV1Container;
    'imagePullSecrets'?: Array<IoK8sApiCoreV1LocalObjectReference>;
    'metadata'?: IoArgoprojEventsV1alpha1Metadata;
    'nodeSelector'?: { [key: string]: string; };
    'priority'?: number;
    'priorityClassName'?: string;
    'securityContext'?: IoK8sApiCoreV1PodSecurityContext;
    'serviceAccountName'?: string;
    'tolerations'?: Array<IoK8sApiCoreV1Toleration>;
    'volumes'?: Array<IoK8sApiCoreV1Volume>;

    static readonly discriminator: string | undefined = undefined;

    static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
        {
            "name": "affinity",
            "baseName": "affinity",
            "type": "IoK8sApiCoreV1Affinity",
            "format": ""
        },
        {
            "name": "container",
            "baseName": "container",
            "type": "IoK8sApiCoreV1Container",
            "format": ""
        },
        {
            "name": "imagePullSecrets",
            "baseName": "imagePullSecrets",
            "type": "Array<IoK8sApiCoreV1LocalObjectReference>",
            "format": ""
        },
        {
            "name": "metadata",
            "baseName": "metadata",
            "type": "IoArgoprojEventsV1alpha1Metadata",
            "format": ""
        },
        {
            "name": "nodeSelector",
            "baseName": "nodeSelector",
            "type": "{ [key: string]: string; }",
            "format": ""
        },
        {
            "name": "priority",
            "baseName": "priority",
            "type": "number",
            "format": ""
        },
        {
            "name": "priorityClassName",
            "baseName": "priorityClassName",
            "type": "string",
            "format": ""
        },
        {
            "name": "securityContext",
            "baseName": "securityContext",
            "type": "IoK8sApiCoreV1PodSecurityContext",
            "format": ""
        },
        {
            "name": "serviceAccountName",
            "baseName": "serviceAccountName",
            "type": "string",
            "format": ""
        },
        {
            "name": "tolerations",
            "baseName": "tolerations",
            "type": "Array<IoK8sApiCoreV1Toleration>",
            "format": ""
        },
        {
            "name": "volumes",
            "baseName": "volumes",
            "type": "Array<IoK8sApiCoreV1Volume>",
            "format": ""
        }    ];

    static getAttributeTypeMap() {
        return IoArgoprojEventsV1alpha1Template.attributeTypeMap;
    }

    public constructor() {
    }
}

