OrganizationRulesetConditions

data class OrganizationRulesetConditions(val refName: OrganizationRulesetConditionsRefName, val repositoryIds: List<Int>? = null, val repositoryName: OrganizationRulesetConditionsRepositoryName? = null)

Constructors

Link copied to clipboard
constructor(refName: OrganizationRulesetConditionsRefName, repositoryIds: List<Int>? = null, repositoryName: OrganizationRulesetConditionsRepositoryName? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

(Block List, Min: 1, Max: 1) (see below for nested schema)

Link copied to clipboard
val repositoryIds: List<Int>? = null

The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with repository_name.

Link copied to clipboard

Conflicts with repository_id. (see below for nested schema) One of repository_id and repository_name must be set for the rule to target any repositories.