
commonMain.aws.sdk.kotlin.services.iot.model.CreateDynamicThingGroupResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iot.model
public class CreateDynamicThingGroupResponse private constructor(builder: Builder) {
/**
* The dynamic thing group index name.
*/
public val indexName: kotlin.String? = builder.indexName
/**
* The dynamic thing group search query string.
*/
public val queryString: kotlin.String? = builder.queryString
/**
* The dynamic thing group query version.
*/
public val queryVersion: kotlin.String? = builder.queryVersion
/**
* The dynamic thing group ARN.
*/
public val thingGroupArn: kotlin.String? = builder.thingGroupArn
/**
* The dynamic thing group ID.
*/
public val thingGroupId: kotlin.String? = builder.thingGroupId
/**
* The dynamic thing group name.
*/
public val thingGroupName: kotlin.String? = builder.thingGroupName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iot.model.CreateDynamicThingGroupResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("CreateDynamicThingGroupResponse(")
append("indexName=$indexName,")
append("queryString=$queryString,")
append("queryVersion=$queryVersion,")
append("thingGroupArn=$thingGroupArn,")
append("thingGroupId=$thingGroupId,")
append("thingGroupName=$thingGroupName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = indexName?.hashCode() ?: 0
result = 31 * result + (queryString?.hashCode() ?: 0)
result = 31 * result + (queryVersion?.hashCode() ?: 0)
result = 31 * result + (thingGroupArn?.hashCode() ?: 0)
result = 31 * result + (thingGroupId?.hashCode() ?: 0)
result = 31 * result + (thingGroupName?.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 CreateDynamicThingGroupResponse
if (indexName != other.indexName) return false
if (queryString != other.queryString) return false
if (queryVersion != other.queryVersion) return false
if (thingGroupArn != other.thingGroupArn) return false
if (thingGroupId != other.thingGroupId) return false
if (thingGroupName != other.thingGroupName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iot.model.CreateDynamicThingGroupResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The dynamic thing group index name.
*/
public var indexName: kotlin.String? = null
/**
* The dynamic thing group search query string.
*/
public var queryString: kotlin.String? = null
/**
* The dynamic thing group query version.
*/
public var queryVersion: kotlin.String? = null
/**
* The dynamic thing group ARN.
*/
public var thingGroupArn: kotlin.String? = null
/**
* The dynamic thing group ID.
*/
public var thingGroupId: kotlin.String? = null
/**
* The dynamic thing group name.
*/
public var thingGroupName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iot.model.CreateDynamicThingGroupResponse) : this() {
this.indexName = x.indexName
this.queryString = x.queryString
this.queryVersion = x.queryVersion
this.thingGroupArn = x.thingGroupArn
this.thingGroupId = x.thingGroupId
this.thingGroupName = x.thingGroupName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iot.model.CreateDynamicThingGroupResponse = CreateDynamicThingGroupResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy