Class PullRequestEventPayload
Pull request event webhook payload.
public record PullRequestEventPayload : IEquatable<PullRequestEventPayload>
- Inheritance
-
PullRequestEventPayload
- Implements
- Inherited Members
Properties
Action
Action that triggered the event (opened, synchronize, closed, etc.).
[JsonPropertyName("action")]
public string Action { get; init; }
Property Value
Installation
GitHub App installation that received this event.
[JsonPropertyName("installation")]
public InstallationInfo? Installation { get; init; }
Property Value
Number
Pull request number.
[JsonPropertyName("number")]
public int Number { get; init; }
Property Value
PullRequest
Pull request details.
[JsonPropertyName("pull_request")]
public PullRequestInfo? PullRequest { get; init; }
Property Value
Repository
Repository the pull request is against.
[JsonPropertyName("repository")]
public RepositoryInfo? Repository { get; init; }