com.pulumi.azure.mobile.kotlin.outputs.NetworkSimPolicySlice.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.mobile.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property dataNetworks An array of `data_network` block as defined below.
* @property defaultDataNetworkId The ID of default data network to use if the user equipment does not explicitly specify it. Configuration for this object must exist in the `data_network` block.
* @property sliceId The ID of the slice that these settings apply to.
*/
public data class NetworkSimPolicySlice(
public val dataNetworks: List,
public val defaultDataNetworkId: String,
public val sliceId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.mobile.outputs.NetworkSimPolicySlice): NetworkSimPolicySlice = NetworkSimPolicySlice(
dataNetworks = javaType.dataNetworks().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.mobile.kotlin.outputs.NetworkSimPolicySliceDataNetwork.Companion.toKotlin(args0)
})
}),
defaultDataNetworkId = javaType.defaultDataNetworkId(),
sliceId = javaType.sliceId(),
)
}
}