
commonMain.aws.sdk.kotlin.services.ecr.model.BatchGetRepositoryScanningConfigurationResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ecr.model
public class BatchGetRepositoryScanningConfigurationResponse private constructor(builder: Builder) {
/**
* Any failures associated with the call.
*/
public val failures: List? = builder.failures
/**
* The scanning configuration for the requested repositories.
*/
public val scanningConfigurations: List? = builder.scanningConfigurations
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ecr.model.BatchGetRepositoryScanningConfigurationResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("BatchGetRepositoryScanningConfigurationResponse(")
append("failures=$failures,")
append("scanningConfigurations=$scanningConfigurations")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = failures?.hashCode() ?: 0
result = 31 * result + (scanningConfigurations?.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 BatchGetRepositoryScanningConfigurationResponse
if (failures != other.failures) return false
if (scanningConfigurations != other.scanningConfigurations) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ecr.model.BatchGetRepositoryScanningConfigurationResponse = Builder(this).apply(block).build()
public class Builder {
/**
* Any failures associated with the call.
*/
public var failures: List? = null
/**
* The scanning configuration for the requested repositories.
*/
public var scanningConfigurations: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ecr.model.BatchGetRepositoryScanningConfigurationResponse) : this() {
this.failures = x.failures
this.scanningConfigurations = x.scanningConfigurations
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ecr.model.BatchGetRepositoryScanningConfigurationResponse = BatchGetRepositoryScanningConfigurationResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy