commonMain.aws.sdk.kotlin.services.iot1clickdevicesservice.serde.AttributesDocumentDeserializer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iot1clickdevicesservice-jvm Show documentation
Show all versions of iot1clickdevicesservice-jvm Show documentation
The AWS SDK for Kotlin client for IoT 1Click Devices Service
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iot1clickdevicesservice.serde
import aws.sdk.kotlin.services.iot1clickdevicesservice.model.Attributes
import aws.smithy.kotlin.runtime.serde.Deserializer
import aws.smithy.kotlin.runtime.serde.SdkObjectDescriptor
import aws.smithy.kotlin.runtime.serde.deserializeStruct
internal fun deserializeAttributesDocument(deserializer: Deserializer): Attributes {
val builder = Attributes.Builder()
deserializer.deserializeStruct(SdkObjectDescriptor.build {}) {
loop@while (true) {
when (findNextFieldIndex()) {
null -> break@loop
else -> skipValue()
}
}
}
builder.correctErrors()
return builder.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy