diff --git a/src/GitHub/Models/Job.cs b/src/GitHub/Models/Job.cs
index 8be75d7a..3beae8ed 100644
--- a/src/GitHub/Models/Job.cs
+++ b/src/GitHub/Models/Job.cs
@@ -54,7 +54,7 @@ public partial class Job : IAdditionalDataHolder, IParsable
public string HtmlUrl { get; set; }
#endif
/// The id of the job.
- public int? Id { get; set; }
+ public long? Id { get; set; }
/// Labels for the workflow job. Specified by the "runs_on" attribute in the action's workflow file.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -171,7 +171,7 @@ public virtual IDictionary> GetFieldDeserializers()
{ "head_branch", n => { HeadBranch = n.GetStringValue(); } },
{ "head_sha", n => { HeadSha = n.GetStringValue(); } },
{ "html_url", n => { HtmlUrl = n.GetStringValue(); } },
- { "id", n => { Id = n.GetIntValue(); } },
+ { "id", n => { Id = n.GetLongValue(); } },
{ "labels", n => { Labels = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
{ "name", n => { Name = n.GetStringValue(); } },
{ "node_id", n => { NodeId = n.GetStringValue(); } },
@@ -203,7 +203,7 @@ public virtual void Serialize(ISerializationWriter writer)
writer.WriteStringValue("head_branch", HeadBranch);
writer.WriteStringValue("head_sha", HeadSha);
writer.WriteStringValue("html_url", HtmlUrl);
- writer.WriteIntValue("id", Id);
+ writer.WriteLongValue("id", Id);
writer.WriteCollectionOfPrimitiveValues("labels", Labels);
writer.WriteStringValue("name", Name);
writer.WriteStringValue("node_id", NodeId);