
com.pulumi.azurenative.apimanagement.kotlin.outputs.RequestContractResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.apimanagement.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Operation request details.
* @property description Operation request description.
* @property headers Collection of operation request headers.
* @property queryParameters Collection of operation request query parameters.
* @property representations Collection of operation request representations.
*/
public data class RequestContractResponse(
public val description: String? = null,
public val headers: List? = null,
public val queryParameters: List? = null,
public val representations: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.apimanagement.outputs.RequestContractResponse): RequestContractResponse = RequestContractResponse(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
headers = javaType.headers().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.apimanagement.kotlin.outputs.ParameterContractResponse.Companion.toKotlin(args0)
})
}),
queryParameters = javaType.queryParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.apimanagement.kotlin.outputs.ParameterContractResponse.Companion.toKotlin(args0)
})
}),
representations = javaType.representations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.apimanagement.kotlin.outputs.RepresentationContractResponse.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy