aws.sdk.kotlin.services.iotwireless.model.ListWirelessGatewayTaskDefinitionsRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iotwireless.model
class ListWirelessGatewayTaskDefinitionsRequest private constructor(builder: Builder) {
/**
* The maximum number of results to return in this operation.
*/
val maxResults: kotlin.Int = builder.maxResults
/**
* To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.
*/
val nextToken: kotlin.String? = builder.nextToken
/**
* A filter to list only the wireless gateway task definitions that use this task definition type.
*/
val taskDefinitionType: aws.sdk.kotlin.services.iotwireless.model.WirelessGatewayTaskDefinitionType? = builder.taskDefinitionType
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iotwireless.model.ListWirelessGatewayTaskDefinitionsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ListWirelessGatewayTaskDefinitionsRequest(")
append("maxResults=$maxResults,")
append("nextToken=$nextToken,")
append("taskDefinitionType=$taskDefinitionType)")
}
override fun hashCode(): kotlin.Int {
var result = maxResults
result = 31 * result + (nextToken?.hashCode() ?: 0)
result = 31 * result + (taskDefinitionType?.hashCode() ?: 0)
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (javaClass != other?.javaClass) return false
other as ListWirelessGatewayTaskDefinitionsRequest
if (maxResults != other.maxResults) return false
if (nextToken != other.nextToken) return false
if (taskDefinitionType != other.taskDefinitionType) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iotwireless.model.ListWirelessGatewayTaskDefinitionsRequest = Builder(this).apply(block).build()
class Builder {
/**
* The maximum number of results to return in this operation.
*/
var maxResults: kotlin.Int = 0
/**
* To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.
*/
var nextToken: kotlin.String? = null
/**
* A filter to list only the wireless gateway task definitions that use this task definition type.
*/
var taskDefinitionType: aws.sdk.kotlin.services.iotwireless.model.WirelessGatewayTaskDefinitionType? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iotwireless.model.ListWirelessGatewayTaskDefinitionsRequest) : this() {
this.maxResults = x.maxResults
this.nextToken = x.nextToken
this.taskDefinitionType = x.taskDefinitionType
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iotwireless.model.ListWirelessGatewayTaskDefinitionsRequest = ListWirelessGatewayTaskDefinitionsRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy