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

/**
* CronWorkflowStatus is the status of a CronWorkflow
*/
export class IoArgoprojWorkflowV1alpha1CronWorkflowStatus {
    /**
    * Active is a list of active workflows stemming from this CronWorkflow
    */
    'active': Array<IoK8sApiCoreV1ObjectReference>;
    /**
    * Conditions is a list of conditions the CronWorkflow may have
    */
    'conditions': Array<IoArgoprojWorkflowV1alpha1Condition>;
    /**
    * 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.
    */
    'lastScheduledTime': Date;

    static readonly discriminator: string | undefined = undefined;

    static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
        {
            "name": "active",
            "baseName": "active",
            "type": "Array<IoK8sApiCoreV1ObjectReference>",
            "format": ""
        },
        {
            "name": "conditions",
            "baseName": "conditions",
            "type": "Array<IoArgoprojWorkflowV1alpha1Condition>",
            "format": ""
        },
        {
            "name": "lastScheduledTime",
            "baseName": "lastScheduledTime",
            "type": "Date",
            "format": "date-time"
        }    ];

    static getAttributeTypeMap() {
        return IoArgoprojWorkflowV1alpha1CronWorkflowStatus.attributeTypeMap;
    }

    public constructor() {
    }
}

