
commonMain.aws.sdk.kotlin.services.iottwinmaker.model.TabularConditions.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iottwinmaker.model
/**
* The tabular conditions.
*/
public class TabularConditions private constructor(builder: Builder) {
/**
* Filter criteria that orders the output. It can be sorted in ascending or descending order.
*/
public val orderBy: List? = builder.orderBy
/**
* You can filter the request using various logical operators and a key-value format. For example:
*
* `{"key": "serverType", "value": "webServer"}`
*/
public val propertyFilters: List? = builder.propertyFilters
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iottwinmaker.model.TabularConditions = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("TabularConditions(")
append("orderBy=$orderBy,")
append("propertyFilters=$propertyFilters")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = orderBy?.hashCode() ?: 0
result = 31 * result + (propertyFilters?.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 TabularConditions
if (orderBy != other.orderBy) return false
if (propertyFilters != other.propertyFilters) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iottwinmaker.model.TabularConditions = Builder(this).apply(block).build()
public class Builder {
/**
* Filter criteria that orders the output. It can be sorted in ascending or descending order.
*/
public var orderBy: List? = null
/**
* You can filter the request using various logical operators and a key-value format. For example:
*
* `{"key": "serverType", "value": "webServer"}`
*/
public var propertyFilters: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iottwinmaker.model.TabularConditions) : this() {
this.orderBy = x.orderBy
this.propertyFilters = x.propertyFilters
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iottwinmaker.model.TabularConditions = TabularConditions(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy