
commonMain.aws.sdk.kotlin.services.qapps.model.FormInputCardMetadata.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.qapps.model
import aws.smithy.kotlin.runtime.SdkDsl
import aws.smithy.kotlin.runtime.content.Document
/**
* The metadata of the form input card.
*/
public class FormInputCardMetadata private constructor(builder: Builder) {
/**
* The JSON schema that defines the shape of the response data.
*/
public val schema: aws.smithy.kotlin.runtime.content.Document? = builder.schema
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.qapps.model.FormInputCardMetadata = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("FormInputCardMetadata(")
append("schema=$schema")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = schema?.hashCode() ?: 0
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (other == null || this::class != other::class) return false
other as FormInputCardMetadata
if (schema != other.schema) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.qapps.model.FormInputCardMetadata = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The JSON schema that defines the shape of the response data.
*/
public var schema: aws.smithy.kotlin.runtime.content.Document? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.qapps.model.FormInputCardMetadata) : this() {
this.schema = x.schema
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.qapps.model.FormInputCardMetadata = FormInputCardMetadata(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy