GroupProtectedEnvironmentDeployAccessLevel

data class GroupProtectedEnvironmentDeployAccessLevel(val accessLevel: String? = null, val accessLevelDescription: String? = null, val groupId: Int? = null, val groupInheritanceType: Int? = null, val id: Int? = null, val userId: Int? = null)

Constructors

constructor(accessLevel: String? = null, accessLevelDescription: String? = null, groupId: Int? = null, groupInheritanceType: Int? = null, id: Int? = null, userId: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val accessLevel: String? = null

Levels of access required to deploy to this protected environment. Mutually exclusive with user_id and group_id. Valid values are developer, maintainer.

Link copied to clipboard

Readable description of level of access.

Link copied to clipboard
val groupId: Int? = null

The ID of the group allowed to deploy to this protected environment. The group must be a sub-group under the given group. Mutually exclusive with access_level and user_id.

Link copied to clipboard

Group inheritance allows deploy access levels to take inherited group membership into account. Valid values are 0, 1. 0 => Direct group membership only, 1 => All inherited groups. Default: 0

Link copied to clipboard
val id: Int? = null

The unique ID of the Deploy Access Level object.

Link copied to clipboard
val userId: Int? = null

The ID of the user allowed to deploy to this protected environment. The user must be a member of the group with Maintainer role or higher. Mutually exclusive with access_level and group_id.