Skip to content
Merged
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
6 changes: 3 additions & 3 deletions src/GitHub/Models/Job.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public partial class Job : IAdditionalDataHolder, IParsable
public string HtmlUrl { get; set; }
#endif
/// <summary>The id of the job.</summary>
public int? Id { get; set; }
public long? Id { get; set; }
/// <summary>Labels for the workflow job. Specified by the &quot;runs_on&quot; attribute in the action&apos;s workflow file.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down Expand Up @@ -171,7 +171,7 @@ public virtual IDictionary<string, Action<IParseNode>> 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<string>()?.AsList(); } },
{ "name", n => { Name = n.GetStringValue(); } },
{ "node_id", n => { NodeId = n.GetStringValue(); } },
Expand Down Expand Up @@ -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<string>("labels", Labels);
writer.WriteStringValue("name", Name);
writer.WriteStringValue("node_id", NodeId);
Expand Down