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

com.pulumi.digitalocean.kotlin.outputs.GetAppSpecFunctionRoute.kt Maven / Gradle / Ivy

@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 GetAppSpecFunctionRoute(
    public val path: String? = null,
    public val preservePathPrefix: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetAppSpecFunctionRoute): GetAppSpecFunctionRoute = GetAppSpecFunctionRoute(
            path = javaType.path().map({ args0 -> args0 }).orElse(null),
            preservePathPrefix = javaType.preservePathPrefix().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy