![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.outputs.AppSpecServiceRoute.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property path Paths must start with `/` and must be unique within the app.
* @property preservePathPrefix An optional flag to preserve the path that is forwarded to the backend service.
*/
public data class AppSpecServiceRoute(
public val path: String? = null,
public val preservePathPrefix: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.AppSpecServiceRoute): AppSpecServiceRoute = AppSpecServiceRoute(
path = javaType.path().map({ args0 -> args0 }).orElse(null),
preservePathPrefix = javaType.preservePathPrefix().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy