GetRepositoryPullRequestsResult

data class GetRepositoryPullRequestsResult(val baseRef: String, val baseSha: String, val body: String, val draft: Boolean, val headOwner: String, val headRef: String, val headRepository: String, val headSha: String, val labels: List<String>, val maintainerCanModify: Boolean, val number: Int, val openedAt: Int, val openedBy: String, val state: String, val title: String, val updatedAt: Int)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If set, filters Pull Requests by base branch name.

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

If set, filters Pull Requests by head user or head organization and branch name in the format of "user:ref-name" or "organization:ref-name". For example: "github:new-script-format" or "octocat:test-branch".

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

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

The number of the Pull Request within the repository.

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

If set, filters Pull Requests by state. Can be "open", "closed", or "all". Default: "open".

Link copied to clipboard

The title of the Pull Request.

Link copied to clipboard

The timestamp of the last Pull Request update.