aws.sdk.kotlin.services.codebuild.model.GetReportGroupTrendResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codebuild Show documentation
Show all versions of codebuild Show documentation
The AWS SDK for Kotlin client for CodeBuild
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.codebuild.model
class GetReportGroupTrendResponse private constructor(builder: Builder) {
/**
* An array that contains the raw data for each report.
*/
val rawData: List? = builder.rawData
/**
* Contains the accumulated trend data.
*/
val stats: aws.sdk.kotlin.services.codebuild.model.ReportGroupTrendStats? = builder.stats
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.codebuild.model.GetReportGroupTrendResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetReportGroupTrendResponse(")
append("rawData=$rawData,")
append("stats=$stats)")
}
override fun hashCode(): kotlin.Int {
var result = rawData?.hashCode() ?: 0
result = 31 * result + (stats?.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 GetReportGroupTrendResponse
if (rawData != other.rawData) return false
if (stats != other.stats) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.codebuild.model.GetReportGroupTrendResponse = Builder(this).apply(block).build()
class Builder {
/**
* An array that contains the raw data for each report.
*/
var rawData: List? = null
/**
* Contains the accumulated trend data.
*/
var stats: aws.sdk.kotlin.services.codebuild.model.ReportGroupTrendStats? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.codebuild.model.GetReportGroupTrendResponse) : this() {
this.rawData = x.rawData
this.stats = x.stats
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.codebuild.model.GetReportGroupTrendResponse = GetReportGroupTrendResponse(this)
/**
* construct an [aws.sdk.kotlin.services.codebuild.model.ReportGroupTrendStats] inside the given [block]
*/
fun stats(block: aws.sdk.kotlin.services.codebuild.model.ReportGroupTrendStats.Builder.() -> kotlin.Unit) {
this.stats = aws.sdk.kotlin.services.codebuild.model.ReportGroupTrendStats.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy