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

/**
* Synchronization holds synchronization lock configuration
*/
export class IoArgoprojWorkflowV1alpha1Synchronization {
    'mutex'?: IoArgoprojWorkflowV1alpha1Mutex;
    'semaphore'?: IoArgoprojWorkflowV1alpha1SemaphoreRef;

    static readonly discriminator: string | undefined = undefined;

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

    static getAttributeTypeMap() {
        return IoArgoprojWorkflowV1alpha1Synchronization.attributeTypeMap;
    }

    public constructor() {
    }
}

