commonMain.aws.sdk.kotlin.services.chatbot.model.DeleteSlackUserIdentityRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chatbot-jvm Show documentation
Show all versions of chatbot-jvm Show documentation
The AWS SDK for Kotlin client for chatbot
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.chatbot.model
import aws.smithy.kotlin.runtime.SdkDsl
public class DeleteSlackUserIdentityRequest private constructor(builder: Builder) {
/**
* The ARN of the SlackChannelConfiguration associated with the user identity to delete.
*/
public val chatConfigurationArn: kotlin.String? = builder.chatConfigurationArn
/**
* The ID of the Slack workspace authorized with AWS Chatbot.
*/
public val slackTeamId: kotlin.String? = builder.slackTeamId
/**
* The ID of the user in Slack.
*/
public val slackUserId: kotlin.String? = builder.slackUserId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.chatbot.model.DeleteSlackUserIdentityRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeleteSlackUserIdentityRequest(")
append("chatConfigurationArn=$chatConfigurationArn,")
append("slackTeamId=$slackTeamId,")
append("slackUserId=$slackUserId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = chatConfigurationArn?.hashCode() ?: 0
result = 31 * result + (slackTeamId?.hashCode() ?: 0)
result = 31 * result + (slackUserId?.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 DeleteSlackUserIdentityRequest
if (chatConfigurationArn != other.chatConfigurationArn) return false
if (slackTeamId != other.slackTeamId) return false
if (slackUserId != other.slackUserId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.chatbot.model.DeleteSlackUserIdentityRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The ARN of the SlackChannelConfiguration associated with the user identity to delete.
*/
public var chatConfigurationArn: kotlin.String? = null
/**
* The ID of the Slack workspace authorized with AWS Chatbot.
*/
public var slackTeamId: kotlin.String? = null
/**
* The ID of the user in Slack.
*/
public var slackUserId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.chatbot.model.DeleteSlackUserIdentityRequest) : this() {
this.chatConfigurationArn = x.chatConfigurationArn
this.slackTeamId = x.slackTeamId
this.slackUserId = x.slackUserId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.chatbot.model.DeleteSlackUserIdentityRequest = DeleteSlackUserIdentityRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy