commonMain.aws.sdk.kotlin.services.entityresolution.model.AttributeMatchingModel.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of entityresolution-jvm Show documentation
Show all versions of entityresolution-jvm Show documentation
The AWS SDK for Kotlin client for EntityResolution
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.entityresolution.model
import kotlin.collections.List
public sealed class AttributeMatchingModel {
public abstract val value: kotlin.String
public object ManyToMany : aws.sdk.kotlin.services.entityresolution.model.AttributeMatchingModel() {
override val value: kotlin.String = "MANY_TO_MANY"
override fun toString(): kotlin.String = "ManyToMany"
}
public object OneToOne : aws.sdk.kotlin.services.entityresolution.model.AttributeMatchingModel() {
override val value: kotlin.String = "ONE_TO_ONE"
override fun toString(): kotlin.String = "OneToOne"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.entityresolution.model.AttributeMatchingModel() {
override fun toString(): kotlin.String = "SdkUnknown($value)"
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.entityresolution.model.AttributeMatchingModel = when (value) {
"MANY_TO_MANY" -> ManyToMany
"ONE_TO_ONE" -> OneToOne
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
ManyToMany,
OneToOne,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy