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

com.pulumi.googlenative.compute.v1.kotlin.outputs.RouteAsPathResponse.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.compute.v1.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property asLists The AS numbers of the AS Path.
 * @property pathSegmentType The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed
 */
public data class RouteAsPathResponse(
    public val asLists: List,
    public val pathSegmentType: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.compute.v1.outputs.RouteAsPathResponse): RouteAsPathResponse = RouteAsPathResponse(
            asLists = javaType.asLists().map({ args0 -> args0 }),
            pathSegmentType = javaType.pathSegmentType(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy