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

commonMain.aws.sdk.kotlin.services.connect.model.UpdateEvaluationFormResponse.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.connect.model



public class UpdateEvaluationFormResponse private constructor(builder: Builder) {
    /**
     * The Amazon Resource Name (ARN) for the contact evaluation resource.
     */
    public val evaluationFormArn: kotlin.String? = builder.evaluationFormArn
    /**
     * The unique identifier for the evaluation form.
     */
    public val evaluationFormId: kotlin.String? = builder.evaluationFormId
    /**
     * The version of the updated evaluation form resource.
     */
    public val evaluationFormVersion: kotlin.Int? = builder.evaluationFormVersion

    public companion object {
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.connect.model.UpdateEvaluationFormResponse = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("UpdateEvaluationFormResponse(")
        append("evaluationFormArn=$evaluationFormArn,")
        append("evaluationFormId=$evaluationFormId,")
        append("evaluationFormVersion=$evaluationFormVersion")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = evaluationFormArn?.hashCode() ?: 0
        result = 31 * result + (evaluationFormId?.hashCode() ?: 0)
        result = 31 * result + (evaluationFormVersion ?: 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 UpdateEvaluationFormResponse

        if (evaluationFormArn != other.evaluationFormArn) return false
        if (evaluationFormId != other.evaluationFormId) return false
        if (evaluationFormVersion != other.evaluationFormVersion) return false

        return true
    }

    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.connect.model.UpdateEvaluationFormResponse = Builder(this).apply(block).build()

    public class Builder {
        /**
         * The Amazon Resource Name (ARN) for the contact evaluation resource.
         */
        public var evaluationFormArn: kotlin.String? = null
        /**
         * The unique identifier for the evaluation form.
         */
        public var evaluationFormId: kotlin.String? = null
        /**
         * The version of the updated evaluation form resource.
         */
        public var evaluationFormVersion: kotlin.Int? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.connect.model.UpdateEvaluationFormResponse) : this() {
            this.evaluationFormArn = x.evaluationFormArn
            this.evaluationFormId = x.evaluationFormId
            this.evaluationFormVersion = x.evaluationFormVersion
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.connect.model.UpdateEvaluationFormResponse = UpdateEvaluationFormResponse(this)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy