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

com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelCardBarChartMetric.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sagemaker.kotlin.outputs

import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelCardBarChartMetricType
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property name
 * @property notes
 * @property type
 * @property value
 * @property xAxisName
 * @property yAxisName
 */
public data class ModelCardBarChartMetric(
    public val name: String,
    public val notes: String? = null,
    public val type: ModelCardBarChartMetricType,
    public val `value`: List,
    public val xAxisName: List? = null,
    public val yAxisName: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelCardBarChartMetric): ModelCardBarChartMetric = ModelCardBarChartMetric(
            name = javaType.name(),
            notes = javaType.notes().map({ args0 -> args0 }).orElse(null),
            type = javaType.type().let({ args0 ->
                com.pulumi.awsnative.sagemaker.kotlin.enums.ModelCardBarChartMetricType.Companion.toKotlin(args0)
            }),
            `value` = javaType.`value`().map({ args0 -> args0 }),
            xAxisName = javaType.xAxisName().map({ args0 -> args0 }),
            yAxisName = javaType.yAxisName().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy