
commonMain.aws.sdk.kotlin.services.quicksight.model.DashboardVersion.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.quicksight.model
import aws.smithy.kotlin.runtime.time.Instant
/**
* Dashboard version.
*/
class DashboardVersion private constructor(builder: Builder) {
/**
* The Amazon Resource Name (ARN) of the resource.
*/
val arn: kotlin.String? = builder.arn
/**
* The time that this dashboard version was created.
*/
val createdTime: aws.smithy.kotlin.runtime.time.Instant? = builder.createdTime
/**
* The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.
*/
val dataSetArns: List? = builder.dataSetArns
/**
* Description.
*/
val description: kotlin.String? = builder.description
/**
* Errors associated with this dashboard version.
*/
val errors: List? = builder.errors
/**
* A list of the associated sheets with the unique identifier and name of each sheet.
*/
val sheets: List? = builder.sheets
/**
* Source entity ARN.
*/
val sourceEntityArn: kotlin.String? = builder.sourceEntityArn
/**
* The HTTP status of the request.
*/
val status: aws.sdk.kotlin.services.quicksight.model.ResourceStatus? = builder.status
/**
* The ARN of the theme associated with a version of the dashboard.
*/
val themeArn: kotlin.String? = builder.themeArn
/**
* Version number for this version of the dashboard.
*/
val versionNumber: kotlin.Long? = builder.versionNumber
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.quicksight.model.DashboardVersion = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DashboardVersion(")
append("arn=$arn,")
append("createdTime=$createdTime,")
append("dataSetArns=$dataSetArns,")
append("description=$description,")
append("errors=$errors,")
append("sheets=$sheets,")
append("sourceEntityArn=$sourceEntityArn,")
append("status=$status,")
append("themeArn=$themeArn,")
append("versionNumber=$versionNumber)")
}
override fun hashCode(): kotlin.Int {
var result = arn?.hashCode() ?: 0
result = 31 * result + (createdTime?.hashCode() ?: 0)
result = 31 * result + (dataSetArns?.hashCode() ?: 0)
result = 31 * result + (description?.hashCode() ?: 0)
result = 31 * result + (errors?.hashCode() ?: 0)
result = 31 * result + (sheets?.hashCode() ?: 0)
result = 31 * result + (sourceEntityArn?.hashCode() ?: 0)
result = 31 * result + (status?.hashCode() ?: 0)
result = 31 * result + (themeArn?.hashCode() ?: 0)
result = 31 * result + (versionNumber?.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 DashboardVersion
if (arn != other.arn) return false
if (createdTime != other.createdTime) return false
if (dataSetArns != other.dataSetArns) return false
if (description != other.description) return false
if (errors != other.errors) return false
if (sheets != other.sheets) return false
if (sourceEntityArn != other.sourceEntityArn) return false
if (status != other.status) return false
if (themeArn != other.themeArn) return false
if (versionNumber != other.versionNumber) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.quicksight.model.DashboardVersion = Builder(this).apply(block).build()
class Builder {
/**
* The Amazon Resource Name (ARN) of the resource.
*/
var arn: kotlin.String? = null
/**
* The time that this dashboard version was created.
*/
var createdTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.
*/
var dataSetArns: List? = null
/**
* Description.
*/
var description: kotlin.String? = null
/**
* Errors associated with this dashboard version.
*/
var errors: List? = null
/**
* A list of the associated sheets with the unique identifier and name of each sheet.
*/
var sheets: List? = null
/**
* Source entity ARN.
*/
var sourceEntityArn: kotlin.String? = null
/**
* The HTTP status of the request.
*/
var status: aws.sdk.kotlin.services.quicksight.model.ResourceStatus? = null
/**
* The ARN of the theme associated with a version of the dashboard.
*/
var themeArn: kotlin.String? = null
/**
* Version number for this version of the dashboard.
*/
var versionNumber: kotlin.Long? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.quicksight.model.DashboardVersion) : this() {
this.arn = x.arn
this.createdTime = x.createdTime
this.dataSetArns = x.dataSetArns
this.description = x.description
this.errors = x.errors
this.sheets = x.sheets
this.sourceEntityArn = x.sourceEntityArn
this.status = x.status
this.themeArn = x.themeArn
this.versionNumber = x.versionNumber
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.quicksight.model.DashboardVersion = DashboardVersion(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy