RepositoryCollaboratorsUser

data class RepositoryCollaboratorsUser(val permission: String? = null, val username: String)

Constructors

Link copied to clipboard
constructor(permission: String? = null, username: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val permission: String? = null

The permission of the outside collaborators for the repository. Must be one of pull, push, maintain, triage or admin or the name of an existing custom repository role within the organization for organization-owned repositories. Must be push for personal repositories. Defaults to push.

Link copied to clipboard

The user to add to the repository as a collaborator.