commonMain.aws.sdk.kotlin.services.gamelift.model.DescribeMatchmakingRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gamelift-jvm Show documentation
Show all versions of gamelift-jvm Show documentation
The AWS SDK for Kotlin client for GameLift
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.gamelift.model
import aws.smithy.kotlin.runtime.SdkDsl
public class DescribeMatchmakingRequest private constructor(builder: Builder) {
/**
* A unique identifier for a matchmaking ticket. You can include up to 10 ID values.
*/
public val ticketIds: List? = builder.ticketIds
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.gamelift.model.DescribeMatchmakingRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeMatchmakingRequest(")
append("ticketIds=$ticketIds")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = ticketIds?.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 DescribeMatchmakingRequest
if (ticketIds != other.ticketIds) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.gamelift.model.DescribeMatchmakingRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* A unique identifier for a matchmaking ticket. You can include up to 10 ID values.
*/
public var ticketIds: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.gamelift.model.DescribeMatchmakingRequest) : this() {
this.ticketIds = x.ticketIds
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.gamelift.model.DescribeMatchmakingRequest = DescribeMatchmakingRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy