commonMain.aws.sdk.kotlin.services.connect.model.UpdateContactEvaluationResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.connect.model
public class UpdateContactEvaluationResponse private constructor(builder: Builder) {
/**
* The Amazon Resource Name (ARN) for the contact evaluation resource.
*/
public val evaluationArn: kotlin.String? = builder.evaluationArn
/**
* A unique identifier for the contact evaluation.
*/
public val evaluationId: kotlin.String? = builder.evaluationId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.connect.model.UpdateContactEvaluationResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateContactEvaluationResponse(")
append("evaluationArn=$evaluationArn,")
append("evaluationId=$evaluationId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = evaluationArn?.hashCode() ?: 0
result = 31 * result + (evaluationId?.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 UpdateContactEvaluationResponse
if (evaluationArn != other.evaluationArn) return false
if (evaluationId != other.evaluationId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.connect.model.UpdateContactEvaluationResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The Amazon Resource Name (ARN) for the contact evaluation resource.
*/
public var evaluationArn: kotlin.String? = null
/**
* A unique identifier for the contact evaluation.
*/
public var evaluationId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.connect.model.UpdateContactEvaluationResponse) : this() {
this.evaluationArn = x.evaluationArn
this.evaluationId = x.evaluationId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.connect.model.UpdateContactEvaluationResponse = UpdateContactEvaluationResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy