All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.eventgrid.kotlin.outputs.GetEventSubscriptionDeliveryAttributesResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.eventgrid.kotlin.outputs

import com.pulumi.core.Either
import kotlin.Suppress
import kotlin.collections.List

/**
 * Result of the Get delivery attributes operation.
 * @property value A collection of DeliveryAttributeMapping
 */
public data class GetEventSubscriptionDeliveryAttributesResult(
    public val `value`: List>? =
        null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.eventgrid.outputs.GetEventSubscriptionDeliveryAttributesResult): GetEventSubscriptionDeliveryAttributesResult = GetEventSubscriptionDeliveryAttributesResult(
            `value` = javaType.`value`().map({ args0 ->
                args0.transform(
                    { args0 ->
                        args0.let({ args0 ->
                            com.pulumi.azurenative.eventgrid.kotlin.outputs.DynamicDeliveryAttributeMappingResponse.Companion.toKotlin(args0)
                        })
                    },
                    { args0 ->
                        args0.let({ args0 ->
                            com.pulumi.azurenative.eventgrid.kotlin.outputs.StaticDeliveryAttributeMappingResponse.Companion.toKotlin(args0)
                        })
                    },
                )
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy