Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Events/MetaEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public abstract record MetaEvent : WebhookEvent
{
[JsonPropertyName("hook_id")]
public int HookId { get; init; }
public long HookId { get; init; }

[JsonPropertyName("hook")]
public Hook Hook { get; init; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Events/PageBuildEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
public sealed record PageBuildEvent : WebhookEvent
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("build")]
public Build Build { get; init; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Events/PingEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public sealed record PingEvent : WebhookEvent
public string Zen { get; init; } = null!;

[JsonPropertyName("hook_id")]
public int HookId { get; init; }
public long HookId { get; init; }

[JsonPropertyName("hook")]
public Hook Hook { get; init; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Events/PullRequestEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
public abstract record PullRequestEvent : WebhookEvent
{
[JsonPropertyName("number")]
public int Number { get; init; }
public long Number { get; init; }

[JsonPropertyName("pull_request")]
public Models.PullRequestEvent.PullRequest PullRequest { get; init; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Events/StatusEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
public sealed record StatusEvent : WebhookEvent
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("sha")]
public string Sha { get; init; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Models/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public sealed record App
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("slug")]
public string? Slug { get; init; }
Expand Down
6 changes: 3 additions & 3 deletions src/Octokit.Webhooks/Models/BranchProtectionRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
public sealed record BranchProtectionRule
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("repository_id")]
public int RepositoryId { get; init; }
public long RepositoryId { get; init; }

[JsonPropertyName("name")]
public string Name { get; init; } = null!;
Expand Down Expand Up @@ -59,7 +59,7 @@ public sealed record BranchProtectionRule
public bool RequireCodeOwnerReview { get; init; }

[JsonPropertyName("required_approving_review_count")]
public int RequiredApprovingReviewCount { get; init; }
public long RequiredApprovingReviewCount { get; init; }

[JsonPropertyName("required_conversation_resolution_level")]
public EnforcementLevel RequiredConversationResolutionLevel { get; init; }
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Models/CheckRunEvent/CheckRun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public sealed record CheckRun
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public sealed record CheckRunOutput
public string? Text { get; init; }

[JsonPropertyName("annotations_count")]
public int AnnotationsCount { get; init; }
public long AnnotationsCount { get; init; }

[JsonPropertyName("annotations_url")]
public string AnnotationsUrl { get; init; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ public sealed record CheckRunPullRequest
public string Url { get; init; } = null!;

[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

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

[JsonPropertyName("head")]
public CheckRunPullRequestHead Head { get; init; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Models/CheckRunEvent/CheckSuite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public sealed record CheckSuite
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string? NodeId { get; init; }
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Models/CheckRunEvent/Deployment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed record Deployment
public string Url { get; init; } = null!;

[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand Down
4 changes: 2 additions & 2 deletions src/Octokit.Webhooks/Models/CheckSuiteEvent/CheckSuite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
public sealed record CheckSuite
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string? NodeId { get; init; }
Expand Down Expand Up @@ -48,7 +48,7 @@ public sealed record CheckSuite
public string UpdatedAt { get; init; } = null!;

[JsonPropertyName("latest_check_runs_count")]
public int LatestCheckRunsCount { get; init; }
public long LatestCheckRunsCount { get; init; }

[JsonPropertyName("check_runs_url")]
public string CheckRunsUrl { get; init; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public sealed record Alert
{
[JsonPropertyName("number")]
public int Number { get; init; }
public long Number { get; init; }

[JsonPropertyName("created_at")]
public string CreatedAt { get; init; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Models/CommitCommentEvent/Comment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public sealed record Comment
public string HtmlUrl { get; init; } = null!;

[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
public sealed record ContentReference
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Models/DeployKeyEvent/DeployKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
public sealed record DeployKey
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("key")]
public string Key { get; init; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Models/DeploymentEvent/Deployment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed record Deployment
public string Url { get; init; } = null!;

[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed record Deployment
public string Url { get; init; } = null!;

[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed record DeploymentStatus
public string Url { get; init; } = null!;

[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
public sealed record DiscussionComment
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand All @@ -19,13 +19,13 @@ public sealed record DiscussionComment
public int? ParentId { get; init; }

[JsonPropertyName("child_comment_count")]
public int ChildCommentCount { get; init; }
public long ChildCommentCount { get; init; }

[JsonPropertyName("repository_url")]
public string RepositoryUrl { get; init; } = null!;

[JsonPropertyName("discussion_id")]
public int DiscussionId { get; init; }
public long DiscussionId { get; init; }

[JsonPropertyName("author_association")]
public AuthorAssociation AuthorAssociation { get; init; }
Expand Down
8 changes: 4 additions & 4 deletions src/Octokit.Webhooks/Models/DiscussionEvent/Discussion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ public sealed record Discussion
public string HtmlUrl { get; init; } = null!;

[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;

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

[JsonPropertyName("title")]
public string Title { get; init; } = null!;
Expand All @@ -43,10 +43,10 @@ public sealed record Discussion
public DiscussionState State { get; init; }

[JsonPropertyName("locked")]
public int Locked { get; init; }
public long Locked { get; init; }

[JsonPropertyName("comments")]
public int Comments { get; init; }
public long Comments { get; init; }

[JsonPropertyName("created_at")]
public string CreatedAt { get; init; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
public sealed record DiscussionAnswer
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand All @@ -19,13 +19,13 @@ public sealed record DiscussionAnswer
public int? ParentId { get; init; }

[JsonPropertyName("child_comment_count")]
public int ChildCommentCount { get; init; }
public long ChildCommentCount { get; init; }

[JsonPropertyName("repository_url")]
public string RepositoryUrl { get; init; } = null!;

[JsonPropertyName("discussion_id")]
public int DiscussionId { get; init; }
public long DiscussionId { get; init; }

[JsonPropertyName("author_association")]
public AuthorAssociation AuthorAssociation { get; init; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
public sealed record DiscussionCategory
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("repository_id")]
public int RepositoryId { get; init; }
public long RepositoryId { get; init; }

[JsonPropertyName("emoji")]
public string Emoji { get; init; } = null!;
Expand All @@ -31,6 +31,6 @@ public sealed record DiscussionCategory
public string Slug { get; init; } = null!;

[JsonPropertyName("is_answerable")]
public int IsAnswerable { get; init; }
public long IsAnswerable { get; init; }
}
}
6 changes: 3 additions & 3 deletions src/Octokit.Webhooks/Models/Installation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public sealed record Installation
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("account")]
public User Account { get; init; } = null!;
Expand All @@ -26,13 +26,13 @@ public sealed record Installation
public string HtmlUrl { get; init; } = null!;

[JsonPropertyName("app_id")]
public int AppId { get; init; }
public long AppId { get; init; }

[JsonPropertyName("app_slug")]
public string? AppSlug { get; init; }

[JsonPropertyName("target_id")]
public int TargetId { get; init; }
public long TargetId { get; init; }

[JsonPropertyName("target_type")]
public InstallationTargetType TargetType { get; init; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
public sealed record Repository
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Models/InstallationLite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
public sealed record InstallationLite
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
public sealed record Repository
{
[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand Down
6 changes: 3 additions & 3 deletions src/Octokit.Webhooks/Models/Issue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ public sealed record Issue
public string HtmlUrl { get; init; } = null!;

[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;

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

[JsonPropertyName("title")]
public string Title { get; init; } = null!;
Expand All @@ -59,7 +59,7 @@ public sealed record Issue
public Milestone? Milestone { get; init; }

[JsonPropertyName("comments")]
public int Comments { get; init; }
public long Comments { get; init; }

[JsonPropertyName("created_at")]
public string CreatedAt { get; init; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion src/Octokit.Webhooks/Models/IssueComment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public sealed record IssueComment
public string IssueUrl { get; init; } = null!;

[JsonPropertyName("id")]
public int Id { get; init; }
public long Id { get; init; }

[JsonPropertyName("node_id")]
public string NodeId { get; init; } = null!;
Expand Down
Loading