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

com.pulumi.cloudflare.kotlin.outputs.TeamsAccountBlockPage.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property backgroundColor Hex code of block page background color.
 * @property enabled Indicator of enablement.
 * @property footerText Block page footer text.
 * @property headerText Block page header text.
 * @property logoPath URL of block page logo.
 * @property mailtoAddress Admin email for users to contact.
 * @property mailtoSubject Subject line for emails created from block page.
 * @property name Name of block page configuration.
 */
public data class TeamsAccountBlockPage(
    public val backgroundColor: String? = null,
    public val enabled: Boolean? = null,
    public val footerText: String? = null,
    public val headerText: String? = null,
    public val logoPath: String? = null,
    public val mailtoAddress: String? = null,
    public val mailtoSubject: String? = null,
    public val name: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.TeamsAccountBlockPage): TeamsAccountBlockPage = TeamsAccountBlockPage(
            backgroundColor = javaType.backgroundColor().map({ args0 -> args0 }).orElse(null),
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            footerText = javaType.footerText().map({ args0 -> args0 }).orElse(null),
            headerText = javaType.headerText().map({ args0 -> args0 }).orElse(null),
            logoPath = javaType.logoPath().map({ args0 -> args0 }).orElse(null),
            mailtoAddress = javaType.mailtoAddress().map({ args0 -> args0 }).orElse(null),
            mailtoSubject = javaType.mailtoSubject().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy