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

com.pulumi.azure.datafactory.kotlin.outputs.DatasetJsonSchemaColumn.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.datafactory.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property description The description of the column.
 * @property name The name of the column.
 * @property type Type of the column. Valid values are `Byte`, `Byte[]`, `Boolean`, `Date`, `DateTime`,`DateTimeOffset`, `Decimal`, `Double`, `Guid`, `Int16`, `Int32`, `Int64`, `Single`, `String`, `TimeSpan`. Please note these values are case sensitive.
 */
public data class DatasetJsonSchemaColumn(
    public val description: String? = null,
    public val name: String,
    public val type: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.datafactory.outputs.DatasetJsonSchemaColumn): DatasetJsonSchemaColumn = DatasetJsonSchemaColumn(
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy