GetRepositoryPullRequestResult

data class GetRepositoryPullRequestResult(val baseRef: String, val baseRepository: String, val baseSha: String, val body: String, val draft: Boolean, val headOwner: String, val headRef: String, val headRepository: String, val headSha: String, val id: String, val labels: List<String>, val maintainerCanModify: Boolean, val number: Int, val openedAt: Int, val openedBy: String, val owner: String? = null, val state: String, val title: String, val updatedAt: Int)

A collection of values returned by getRepositoryPullRequest.

Constructors

Link copied to clipboard
constructor(baseRef: String, baseRepository: String, baseSha: String, body: String, draft: Boolean, headOwner: String, headRef: String, headRepository: String, headSha: String, id: String, labels: List<String>, maintainerCanModify: Boolean, number: Int, openedAt: Int, openedBy: String, owner: String? = null, state: String, title: String, updatedAt: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Name of the ref (branch) of the Pull Request base.

Link copied to clipboard
Link copied to clipboard

Head commit SHA of the Pull Request base.

Link copied to clipboard

Body of the Pull Request.

Link copied to clipboard

Indicates Whether this Pull Request is a draft.

Link copied to clipboard

Owner of the Pull Request head repository.

Link copied to clipboard
Link copied to clipboard

Name of the Pull Request head repository.

Link copied to clipboard

Head commit SHA of the Pull Request head.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

List of label names set on the Pull Request.

Link copied to clipboard

Indicates whether the base repository maintainers can modify the Pull Request.

Link copied to clipboard
val number: Int
Link copied to clipboard

Unix timestamp indicating the Pull Request creation time.

Link copied to clipboard

GitHub login of the user who opened the Pull Request.

Link copied to clipboard
val owner: String? = null
Link copied to clipboard

the current Pull Request state - can be "open", "closed" or "merged".

Link copied to clipboard

The title of the Pull Request.

Link copied to clipboard

The timestamp of the last Pull Request update.