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

com.pulumi.gitlab.kotlin.outputs.GetGroupResult.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.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getGroup.
 * @property defaultBranchProtection Whether developers and maintainers can push to the applicable default branch.
 * @property description The description of the group.
 * @property extraSharedRunnersMinutesLimit Can be set by administrators only. Additional CI/CD minutes for this group.
 * @property fullName The full name of the group.
 * @property fullPath The full path of the group.
 * @property groupId The ID of the group.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property lfsEnabled Boolean, is LFS enabled for projects in this group.
 * @property membershipLock Users cannot be added to projects in this group.
 * @property name The name of this group.
 * @property parentId Integer, ID of the parent group.
 * @property path The path of the group.
 * @property preventForkingOutsideGroup When enabled, users can not fork projects from this group to external namespaces.
 * @property requestAccessEnabled Boolean, is request for access enabled to the group.
 * @property runnersToken The group level registration token to use during runner setup.
 * @property sharedRunnersMinutesLimit Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
 * @property sharedRunnersSetting Enable or disable shared runners for a group’s subgroups and projects. Valid values are: `enabled`, `disabled_and_overridable`, `disabled_and_unoverridable`, `disabled_with_override`.
 * @property sharedWithGroups Describes groups which have access shared to this group.
 * @property visibilityLevel Visibility level of the group. Possible values are `private`, `internal`, `public`.
 * @property webUrl Web URL of the group.
 * @property wikiAccessLevel The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are `disabled`, `private`, `enabled`.
 */
public data class GetGroupResult(
    public val defaultBranchProtection: Int,
    public val description: String,
    public val extraSharedRunnersMinutesLimit: Int,
    public val fullName: String,
    public val fullPath: String,
    public val groupId: Int,
    public val id: String,
    public val lfsEnabled: Boolean,
    public val membershipLock: Boolean,
    public val name: String,
    public val parentId: Int,
    public val path: String,
    public val preventForkingOutsideGroup: Boolean,
    public val requestAccessEnabled: Boolean,
    public val runnersToken: String,
    public val sharedRunnersMinutesLimit: Int,
    public val sharedRunnersSetting: String,
    public val sharedWithGroups: List,
    public val visibilityLevel: String,
    public val webUrl: String,
    public val wikiAccessLevel: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gitlab.outputs.GetGroupResult): GetGroupResult =
            GetGroupResult(
                defaultBranchProtection = javaType.defaultBranchProtection(),
                description = javaType.description(),
                extraSharedRunnersMinutesLimit = javaType.extraSharedRunnersMinutesLimit(),
                fullName = javaType.fullName(),
                fullPath = javaType.fullPath(),
                groupId = javaType.groupId(),
                id = javaType.id(),
                lfsEnabled = javaType.lfsEnabled(),
                membershipLock = javaType.membershipLock(),
                name = javaType.name(),
                parentId = javaType.parentId(),
                path = javaType.path(),
                preventForkingOutsideGroup = javaType.preventForkingOutsideGroup(),
                requestAccessEnabled = javaType.requestAccessEnabled(),
                runnersToken = javaType.runnersToken(),
                sharedRunnersMinutesLimit = javaType.sharedRunnersMinutesLimit(),
                sharedRunnersSetting = javaType.sharedRunnersSetting(),
                sharedWithGroups = javaType.sharedWithGroups().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gitlab.kotlin.outputs.GetGroupSharedWithGroup.Companion.toKotlin(args0)
                    })
                }),
                visibilityLevel = javaType.visibilityLevel(),
                webUrl = javaType.webUrl(),
                wikiAccessLevel = javaType.wikiAccessLevel(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy