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

com.pulumi.gitlab.kotlin.outputs.GetGroupServiceAccountResult.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: 8.4.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gitlab.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getGroupServiceAccount.
 * @property group The ID or URL-encoded path of the target group. Must be a top-level group.
 * @property id
 * @property name The name of the user. If not specified, the default Service account user name is used.
 * @property serviceAccountId The service account id.
 * @property username The username of the user. If not specified, it's automatically generated.
 */
public data class GetGroupServiceAccountResult(
    public val group: String,
    public val id: String,
    public val name: String? = null,
    public val serviceAccountId: String,
    public val username: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gitlab.outputs.GetGroupServiceAccountResult): GetGroupServiceAccountResult = GetGroupServiceAccountResult(
            group = javaType.group(),
            id = javaType.id(),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            serviceAccountId = javaType.serviceAccountId(),
            username = javaType.username().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy