Class PullRequestInfo
Pull request details.
public record PullRequestInfo : IEquatable<PullRequestInfo>
- Inheritance
-
PullRequestInfo
- Implements
- Inherited Members
Properties
Base
Base (target) branch of the pull request.
[JsonPropertyName("base")]
public PullRequestBase? Base { get; init; }
Property Value
Head
Head (source) branch of the pull request.
[JsonPropertyName("head")]
public PullRequestHead? Head { get; init; }
Property Value
Id
GitHub's internal ID for the pull request.
[JsonPropertyName("id")]
public long Id { get; init; }
Property Value
Number
Pull request number within the repository.
[JsonPropertyName("number")]
public int Number { get; init; }
Property Value
Title
Title of the pull request.
[JsonPropertyName("title")]
public string Title { get; init; }
Property Value
User
User who opened the pull request.
[JsonPropertyName("user")]
public UserInfo? User { get; init; }