
commonMain.aws.sdk.kotlin.services.chimesdkmessaging.model.ChannelFlowCallbackResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.chimesdkmessaging.model
public class ChannelFlowCallbackResponse private constructor(builder: Builder) {
/**
* The call back ID passed in the request.
*/
public val callbackId: kotlin.String? = builder.callbackId
/**
* The ARN of the channel.
*/
public val channelArn: kotlin.String? = builder.channelArn
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.chimesdkmessaging.model.ChannelFlowCallbackResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ChannelFlowCallbackResponse(")
append("callbackId=$callbackId,")
append("channelArn=$channelArn")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = callbackId?.hashCode() ?: 0
result = 31 * result + (channelArn?.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 ChannelFlowCallbackResponse
if (callbackId != other.callbackId) return false
if (channelArn != other.channelArn) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.chimesdkmessaging.model.ChannelFlowCallbackResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The call back ID passed in the request.
*/
public var callbackId: kotlin.String? = null
/**
* The ARN of the channel.
*/
public var channelArn: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.chimesdkmessaging.model.ChannelFlowCallbackResponse) : this() {
this.callbackId = x.callbackId
this.channelArn = x.channelArn
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.chimesdkmessaging.model.ChannelFlowCallbackResponse = ChannelFlowCallbackResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy