Table of Contents

Class PullRequestEventPayload

Namespace
Ando.Server.GitHub
Assembly
Ando.Server.dll

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

string

Installation

GitHub App installation that received this event.

[JsonPropertyName("installation")]
public InstallationInfo? Installation { get; init; }

Property Value

InstallationInfo

Number

Pull request number.

[JsonPropertyName("number")]
public int Number { get; init; }

Property Value

int

PullRequest

Pull request details.

[JsonPropertyName("pull_request")]
public PullRequestInfo? PullRequest { get; init; }

Property Value

PullRequestInfo

Repository

Repository the pull request is against.

[JsonPropertyName("repository")]
public RepositoryInfo? Repository { get; init; }

Property Value

RepositoryInfo