commonMain.aws.sdk.kotlin.services.wafv2.serde.NoneActionDocumentDeserializer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wafv2-jvm Show documentation
Show all versions of wafv2-jvm Show documentation
The AWS Kotlin client for WAFV2
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.wafv2.serde
import aws.sdk.kotlin.services.wafv2.model.NoneAction
import aws.smithy.kotlin.runtime.serde.Deserializer
import aws.smithy.kotlin.runtime.serde.SdkObjectDescriptor
import aws.smithy.kotlin.runtime.serde.deserializeStruct
internal fun deserializeNoneActionDocument(deserializer: Deserializer): NoneAction {
val builder = NoneAction.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