commonMain.aws.sdk.kotlin.services.signer.model.GetRevocationStatusResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.signer.model
import aws.smithy.kotlin.runtime.SdkDsl
public class GetRevocationStatusResponse private constructor(builder: Builder) {
/**
* A list of revoked entities (including zero or more of the signing profile ARN, signing job ARN, and certificate hashes) supplied as input to the API.
*/
public val revokedEntities: List? = builder.revokedEntities
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.signer.model.GetRevocationStatusResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetRevocationStatusResponse(")
append("revokedEntities=$revokedEntities")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = revokedEntities?.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 GetRevocationStatusResponse
if (revokedEntities != other.revokedEntities) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.signer.model.GetRevocationStatusResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* A list of revoked entities (including zero or more of the signing profile ARN, signing job ARN, and certificate hashes) supplied as input to the API.
*/
public var revokedEntities: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.signer.model.GetRevocationStatusResponse) : this() {
this.revokedEntities = x.revokedEntities
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.signer.model.GetRevocationStatusResponse = GetRevocationStatusResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}