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

commonMain.aws.sdk.kotlin.services.connectcases.model.LayoutSections.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.connectcases.model



/**
 * Ordered list containing different kinds of sections that can be added. A LayoutSections object can only contain one section.
 */
public class LayoutSections private constructor(builder: Builder) {
    /**
     * Ordered list containing different kinds of sections that can be added.
     */
    public val sections: List
? = builder.sections public companion object { public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.connectcases.model.LayoutSections = Builder().apply(block).build() } override fun toString(): kotlin.String = buildString { append("LayoutSections(") append("sections=$sections") append(")") } override fun hashCode(): kotlin.Int { var result = sections?.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 LayoutSections if (sections != other.sections) return false return true } public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.connectcases.model.LayoutSections = Builder(this).apply(block).build() public class Builder { /** * Ordered list containing different kinds of sections that can be added. */ public var sections: List
? = null @PublishedApi internal constructor() @PublishedApi internal constructor(x: aws.sdk.kotlin.services.connectcases.model.LayoutSections) : this() { this.sections = x.sections } @PublishedApi internal fun build(): aws.sdk.kotlin.services.connectcases.model.LayoutSections = LayoutSections(this) internal fun correctErrors(): Builder { return this } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy