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
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ public enum DeploymentStatusState
{
[EnumMember(Value = "pending")]
Pending,
[EnumMember(Value = "in_progress")]
InProgress,
[EnumMember(Value = "success")]
Success,
[EnumMember(Value = "failure")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Octokit.Webhooks.Models
namespace Octokit.Webhooks.Models
{
using System;
using System.Text.Json.Serialization;
Expand Down Expand Up @@ -46,7 +46,7 @@ public sealed record Discussion
public DiscussionState State { get; init; }

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

[JsonPropertyName("comments")]
public long Comments { get; init; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Octokit.Webhooks.Models
namespace Octokit.Webhooks.Models
{
using System;
using System.Text.Json.Serialization;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Octokit.Webhooks.Models
namespace Octokit.Webhooks.Models
{
using System;
using System.Text.Json.Serialization;
Expand Down Expand Up @@ -35,6 +35,6 @@ public sealed record DiscussionCategory
public string Slug { get; init; } = null!;

[JsonPropertyName("is_answerable")]
public long IsAnswerable { get; init; }
public bool IsAnswerable { get; init; }
}
}