// @ts-nocheck
/**
 * 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/
 *
 * The version of the OpenAPI document: 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 { RequestFile } from './models';

export class IoArgoprojEventsV1alpha1EventContext {
    /**
    * DataContentType - A MIME (RFC2046) string describing the media type of `data`.
    */
    'datacontenttype'?: string;
    /**
    * ID of the event; must be non-empty and unique within the scope of the producer.
    */
    'id'?: string;
    /**
    * Source - A URI describing the event producer.
    */
    'source'?: string;
    /**
    * SpecVersion - The version of the CloudEvents specification used by the io.argoproj.workflow.v1alpha1.
    */
    'specversion'?: string;
    'subject'?: string;
    /**
    * Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.
    */
    'time'?: Date;
    /**
    * Type - The type of the occurrence which has happened.
    */
    'type'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "datacontenttype",
            "baseName": "datacontenttype",
            "type": "string"
        },
        {
            "name": "id",
            "baseName": "id",
            "type": "string"
        },
        {
            "name": "source",
            "baseName": "source",
            "type": "string"
        },
        {
            "name": "specversion",
            "baseName": "specversion",
            "type": "string"
        },
        {
            "name": "subject",
            "baseName": "subject",
            "type": "string"
        },
        {
            "name": "time",
            "baseName": "time",
            "type": "Date"
        },
        {
            "name": "type",
            "baseName": "type",
            "type": "string"
        }    ];

    static getAttributeTypeMap() {
        return IoArgoprojEventsV1alpha1EventContext.attributeTypeMap;
    }
}

