aws.sdk.kotlin.services.iotwireless.model.ListPartnerAccountsResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iotwireless.model
class ListPartnerAccountsResponse private constructor(builder: Builder) {
/**
* The token to use to get the next set of results, or null if there are no additional results.
*/
val nextToken: kotlin.String? = builder.nextToken
/**
* The Sidewalk account credentials.
*/
val sidewalk: List? = builder.sidewalk
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iotwireless.model.ListPartnerAccountsResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ListPartnerAccountsResponse(")
append("nextToken=$nextToken,")
append("sidewalk=$sidewalk)")
}
override fun hashCode(): kotlin.Int {
var result = nextToken?.hashCode() ?: 0
result = 31 * result + (sidewalk?.hashCode() ?: 0)
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (javaClass != other?.javaClass) return false
other as ListPartnerAccountsResponse
if (nextToken != other.nextToken) return false
if (sidewalk != other.sidewalk) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iotwireless.model.ListPartnerAccountsResponse = Builder(this).apply(block).build()
class Builder {
/**
* The token to use to get the next set of results, or null if there are no additional results.
*/
var nextToken: kotlin.String? = null
/**
* The Sidewalk account credentials.
*/
var sidewalk: List? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iotwireless.model.ListPartnerAccountsResponse) : this() {
this.nextToken = x.nextToken
this.sidewalk = x.sidewalk
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iotwireless.model.ListPartnerAccountsResponse = ListPartnerAccountsResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy