commonMain.aws.sdk.kotlin.services.chimesdkmeetings.model.BatchUpdateAttendeeCapabilitiesExceptRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chimesdkmeetings-jvm Show documentation
Show all versions of chimesdkmeetings-jvm Show documentation
The AWS SDK for Kotlin client for Chime SDK Meetings
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.chimesdkmeetings.model
import aws.smithy.kotlin.runtime.SdkDsl
public class BatchUpdateAttendeeCapabilitiesExceptRequest private constructor(builder: Builder) {
/**
* The capabilities (`audio`, `video`, or `content`) that you want to update.
*/
public val capabilities: aws.sdk.kotlin.services.chimesdkmeetings.model.AttendeeCapabilities? = builder.capabilities
/**
* The `AttendeeIDs` that you want to exclude from one or more capabilities.
*/
public val excludedAttendeeIds: List? = builder.excludedAttendeeIds
/**
* The ID of the meeting associated with the update request.
*/
public val meetingId: kotlin.String? = builder.meetingId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.chimesdkmeetings.model.BatchUpdateAttendeeCapabilitiesExceptRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("BatchUpdateAttendeeCapabilitiesExceptRequest(")
append("capabilities=$capabilities,")
append("excludedAttendeeIds=$excludedAttendeeIds,")
append("meetingId=$meetingId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = capabilities?.hashCode() ?: 0
result = 31 * result + (excludedAttendeeIds?.hashCode() ?: 0)
result = 31 * result + (meetingId?.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 BatchUpdateAttendeeCapabilitiesExceptRequest
if (capabilities != other.capabilities) return false
if (excludedAttendeeIds != other.excludedAttendeeIds) return false
if (meetingId != other.meetingId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.chimesdkmeetings.model.BatchUpdateAttendeeCapabilitiesExceptRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The capabilities (`audio`, `video`, or `content`) that you want to update.
*/
public var capabilities: aws.sdk.kotlin.services.chimesdkmeetings.model.AttendeeCapabilities? = null
/**
* The `AttendeeIDs` that you want to exclude from one or more capabilities.
*/
public var excludedAttendeeIds: List? = null
/**
* The ID of the meeting associated with the update request.
*/
public var meetingId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.chimesdkmeetings.model.BatchUpdateAttendeeCapabilitiesExceptRequest) : this() {
this.capabilities = x.capabilities
this.excludedAttendeeIds = x.excludedAttendeeIds
this.meetingId = x.meetingId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.chimesdkmeetings.model.BatchUpdateAttendeeCapabilitiesExceptRequest = BatchUpdateAttendeeCapabilitiesExceptRequest(this)
/**
* construct an [aws.sdk.kotlin.services.chimesdkmeetings.model.AttendeeCapabilities] inside the given [block]
*/
public fun capabilities(block: aws.sdk.kotlin.services.chimesdkmeetings.model.AttendeeCapabilities.Builder.() -> kotlin.Unit) {
this.capabilities = aws.sdk.kotlin.services.chimesdkmeetings.model.AttendeeCapabilities.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}