GetBranchResult

data class GetBranchResult(val canPush: Boolean, val commits: List<GetBranchCommit>, val default: Boolean, val developerCanMerge: Boolean, val developerCanPush: Boolean, val id: String, val merged: Boolean, val name: String, val project: String, val protected: Boolean, val webUrl: String)

A collection of values returned by getBranch.

Constructors

Link copied to clipboard
constructor(canPush: Boolean, commits: List<GetBranchCommit>, default: Boolean, developerCanMerge: Boolean, developerCanPush: Boolean, id: String, merged: Boolean, name: String, project: String, protected: Boolean, webUrl: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Bool, true if you can push to the branch.

Link copied to clipboard

The commit associated with the branch ref.

Link copied to clipboard

Bool, true if branch is the default branch for the project.

Link copied to clipboard

Bool, true if developer level access allows to merge branch.

Link copied to clipboard

Bool, true if developer level access allows git push.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

Bool, true if the branch has been merged into it's parent.

Link copied to clipboard

The name of the branch.

Link copied to clipboard

The full path or id of the project.

Link copied to clipboard

Bool, true if branch has branch protection.

Link copied to clipboard

The url of the created branch (https.)