All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmetadata.schema.api.dataInsight.kpi.KpiDataInsightChart Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version

package org.openmetadata.schema.api.dataInsight.kpi;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;


/**
 * Fully qualified name of the Chart this kpi refers to
 * 
 */
@Generated("jsonschema2pojo")
public enum KpiDataInsightChart {

    PERCENTAGE_OF_DATA_ASSET_WITH_DESCRIPTION_KPI("percentage_of_data_asset_with_description_kpi"),
    PERCENTAGE_OF_DATA_ASSET_WITH_OWNER_KPI("percentage_of_data_asset_with_owner_kpi"),
    NUMBER_OF_DATA_ASSET_WITH_DESCRIPTION_KPI("number_of_data_asset_with_description_kpi"),
    NUMBER_OF_DATA_ASSET_WITH_OWNER_KPI("number_of_data_asset_with_owner_kpi");
    private final String value;
    private final static Map CONSTANTS = new HashMap();

    static {
        for (KpiDataInsightChart c: values()) {
            CONSTANTS.put(c.value, c);
        }
    }

    KpiDataInsightChart(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return this.value;
    }

    @JsonValue
    public String value() {
        return this.value;
    }

    @JsonCreator
    public static KpiDataInsightChart fromValue(String value) {
        KpiDataInsightChart constant = CONSTANTS.get(value);
        if (constant == null) {
            throw new IllegalArgumentException(value);
        } else {
            return constant;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy