/**
 * 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 { IoArgoprojWorkflowV1alpha1Counter } from '../models/IoArgoprojWorkflowV1alpha1Counter';
import { IoArgoprojWorkflowV1alpha1Gauge } from '../models/IoArgoprojWorkflowV1alpha1Gauge';
import { IoArgoprojWorkflowV1alpha1Histogram } from '../models/IoArgoprojWorkflowV1alpha1Histogram';
import { IoArgoprojWorkflowV1alpha1MetricLabel } from '../models/IoArgoprojWorkflowV1alpha1MetricLabel';
import { HttpFile } from '../http/http';

/**
* Prometheus is a prometheus metric to be emitted
*/
export class IoArgoprojWorkflowV1alpha1Prometheus {
    'counter'?: IoArgoprojWorkflowV1alpha1Counter;
    'gauge'?: IoArgoprojWorkflowV1alpha1Gauge;
    /**
    * Help is a string that describes the metric
    */
    'help': string;
    'histogram'?: IoArgoprojWorkflowV1alpha1Histogram;
    /**
    * Labels is a list of metric labels
    */
    'labels'?: Array<IoArgoprojWorkflowV1alpha1MetricLabel>;
    /**
    * Name is the name of the metric
    */
    'name': string;
    /**
    * When is a conditional statement that decides when to emit the metric
    */
    'when'?: string;

    static readonly discriminator: string | undefined = undefined;

    static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
        {
            "name": "counter",
            "baseName": "counter",
            "type": "IoArgoprojWorkflowV1alpha1Counter",
            "format": ""
        },
        {
            "name": "gauge",
            "baseName": "gauge",
            "type": "IoArgoprojWorkflowV1alpha1Gauge",
            "format": ""
        },
        {
            "name": "help",
            "baseName": "help",
            "type": "string",
            "format": ""
        },
        {
            "name": "histogram",
            "baseName": "histogram",
            "type": "IoArgoprojWorkflowV1alpha1Histogram",
            "format": ""
        },
        {
            "name": "labels",
            "baseName": "labels",
            "type": "Array<IoArgoprojWorkflowV1alpha1MetricLabel>",
            "format": ""
        },
        {
            "name": "name",
            "baseName": "name",
            "type": "string",
            "format": ""
        },
        {
            "name": "when",
            "baseName": "when",
            "type": "string",
            "format": ""
        }    ];

    static getAttributeTypeMap() {
        return IoArgoprojWorkflowV1alpha1Prometheus.attributeTypeMap;
    }

    public constructor() {
    }
}

