
commonMain.aws.sdk.kotlin.services.connectcases.model.LayoutConfiguration.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.connectcases.model
/**
* Object to store configuration of layouts associated to the template.
*/
public class LayoutConfiguration private constructor(builder: Builder) {
/**
* Unique identifier of a layout.
*/
public val defaultLayout: kotlin.String? = builder.defaultLayout
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.connectcases.model.LayoutConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("LayoutConfiguration(")
append("defaultLayout=$defaultLayout")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = defaultLayout?.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 LayoutConfiguration
if (defaultLayout != other.defaultLayout) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.connectcases.model.LayoutConfiguration = Builder(this).apply(block).build()
public class Builder {
/**
* Unique identifier of a layout.
*/
public var defaultLayout: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.connectcases.model.LayoutConfiguration) : this() {
this.defaultLayout = x.defaultLayout
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.connectcases.model.LayoutConfiguration = LayoutConfiguration(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy