All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.lightsail.model.DeleteLoadBalancerResponse.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.lightsail.model



public class DeleteLoadBalancerResponse private constructor(builder: Builder) {
    /**
     * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
     */
    public val operations: List? = builder.operations

    public companion object {
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.lightsail.model.DeleteLoadBalancerResponse = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("DeleteLoadBalancerResponse(")
        append("operations=$operations)")
    }

    override fun hashCode(): kotlin.Int {
        var result = operations?.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 DeleteLoadBalancerResponse

        if (operations != other.operations) return false

        return true
    }

    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.lightsail.model.DeleteLoadBalancerResponse = Builder(this).apply(block).build()

    public class Builder {
        /**
         * An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
         */
        public var operations: List? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.lightsail.model.DeleteLoadBalancerResponse) : this() {
            this.operations = x.operations
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.lightsail.model.DeleteLoadBalancerResponse = DeleteLoadBalancerResponse(this)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy