
commonMain.aws.sdk.kotlin.services.iot.model.UpdateBillingGroupResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iot.model
public class UpdateBillingGroupResponse private constructor(builder: Builder) {
/**
* The latest version of the billing group.
*/
public val version: kotlin.Long = builder.version
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iot.model.UpdateBillingGroupResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateBillingGroupResponse(")
append("version=$version")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = version.hashCode()
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 UpdateBillingGroupResponse
if (version != other.version) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iot.model.UpdateBillingGroupResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The latest version of the billing group.
*/
public var version: kotlin.Long = 0L
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iot.model.UpdateBillingGroupResponse) : this() {
this.version = x.version
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iot.model.UpdateBillingGroupResponse = UpdateBillingGroupResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy