
commonMain.aws.sdk.kotlin.services.iottwinmaker.model.GetPropertyValueResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iottwinmaker.model
public class GetPropertyValueResponse private constructor(builder: Builder) {
/**
* The string that specifies the next page of results.
*/
public val nextToken: kotlin.String? = builder.nextToken
/**
* An object that maps strings to the properties and latest property values in the response. Each string in the mapping must be unique to this object.
*/
public val propertyValues: Map? = builder.propertyValues
/**
* A table of property values.
*/
public val tabularPropertyValues: List>>? = builder.tabularPropertyValues
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iottwinmaker.model.GetPropertyValueResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetPropertyValueResponse(")
append("nextToken=$nextToken,")
append("propertyValues=$propertyValues,")
append("tabularPropertyValues=$tabularPropertyValues")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = nextToken?.hashCode() ?: 0
result = 31 * result + (propertyValues?.hashCode() ?: 0)
result = 31 * result + (tabularPropertyValues?.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 GetPropertyValueResponse
if (nextToken != other.nextToken) return false
if (propertyValues != other.propertyValues) return false
if (tabularPropertyValues != other.tabularPropertyValues) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iottwinmaker.model.GetPropertyValueResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The string that specifies the next page of results.
*/
public var nextToken: kotlin.String? = null
/**
* An object that maps strings to the properties and latest property values in the response. Each string in the mapping must be unique to this object.
*/
public var propertyValues: Map? = null
/**
* A table of property values.
*/
public var tabularPropertyValues: List>>? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iottwinmaker.model.GetPropertyValueResponse) : this() {
this.nextToken = x.nextToken
this.propertyValues = x.propertyValues
this.tabularPropertyValues = x.tabularPropertyValues
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iottwinmaker.model.GetPropertyValueResponse = GetPropertyValueResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy