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
6 changes: 3 additions & 3 deletions src/GitHub/Models/Job.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public partial class Job : IAdditionalDataHolder, IParsable
/// <summary>Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.</summary>
public int? RunAttempt { get; set; }
/// <summary>The id of the associated workflow run.</summary>
public int? RunId { get; set; }
public long? RunId { get; set; }
/// <summary>The ID of the runner group to which this job has been assigned. (If a runner hasn&apos;t yet been assigned, this will be null.)</summary>
public int? RunnerGroupId { get; set; }
/// <summary>The name of the runner group to which this job has been assigned. (If a runner hasn&apos;t yet been assigned, this will be null.)</summary>
Expand Down Expand Up @@ -176,7 +176,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{ "name", n => { Name = n.GetStringValue(); } },
{ "node_id", n => { NodeId = n.GetStringValue(); } },
{ "run_attempt", n => { RunAttempt = n.GetIntValue(); } },
{ "run_id", n => { RunId = n.GetIntValue(); } },
{ "run_id", n => { RunId = n.GetLongValue(); } },
{ "run_url", n => { RunUrl = n.GetStringValue(); } },
{ "runner_group_id", n => { RunnerGroupId = n.GetIntValue(); } },
{ "runner_group_name", n => { RunnerGroupName = n.GetStringValue(); } },
Expand Down Expand Up @@ -208,7 +208,7 @@ public virtual void Serialize(ISerializationWriter writer)
writer.WriteStringValue("name", Name);
writer.WriteStringValue("node_id", NodeId);
writer.WriteIntValue("run_attempt", RunAttempt);
writer.WriteIntValue("run_id", RunId);
writer.WriteLongValue("run_id", RunId);
writer.WriteIntValue("runner_group_id", RunnerGroupId);
writer.WriteStringValue("runner_group_name", RunnerGroupName);
writer.WriteIntValue("runner_id", RunnerId);
Expand Down
6 changes: 3 additions & 3 deletions src/GitHub/Models/Workflow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public partial class Workflow : IAdditionalDataHolder, IParsable
public string HtmlUrl { get; set; }
#endif
/// <summary>The id property</summary>
public int? Id { get; set; }
public long? Id { get; set; }
/// <summary>The name property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down Expand Up @@ -102,7 +102,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{ "created_at", n => { CreatedAt = n.GetDateTimeOffsetValue(); } },
{ "deleted_at", n => { DeletedAt = n.GetDateTimeOffsetValue(); } },
{ "html_url", n => { HtmlUrl = n.GetStringValue(); } },
{ "id", n => { Id = n.GetIntValue(); } },
{ "id", n => { Id = n.GetLongValue(); } },
{ "name", n => { Name = n.GetStringValue(); } },
{ "node_id", n => { NodeId = n.GetStringValue(); } },
{ "path", n => { Path = n.GetStringValue(); } },
Expand All @@ -122,7 +122,7 @@ public virtual void Serialize(ISerializationWriter writer)
writer.WriteDateTimeOffsetValue("created_at", CreatedAt);
writer.WriteDateTimeOffsetValue("deleted_at", DeletedAt);
writer.WriteStringValue("html_url", HtmlUrl);
writer.WriteIntValue("id", Id);
writer.WriteLongValue("id", Id);
writer.WriteStringValue("name", Name);
writer.WriteStringValue("node_id", NodeId);
writer.WriteStringValue("path", Path);
Expand Down
12 changes: 6 additions & 6 deletions src/GitHub/Models/WorkflowRun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public partial class WorkflowRun : IAdditionalDataHolder, IParsable
public string CancelUrl { get; set; }
#endif
/// <summary>The ID of the associated check suite.</summary>
public int? CheckSuiteId { get; set; }
public long? CheckSuiteId { get; set; }
/// <summary>The node ID of the associated check suite.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down Expand Up @@ -240,7 +240,7 @@ public partial class WorkflowRun : IAdditionalDataHolder, IParsable
public string Url { get; set; }
#endif
/// <summary>The ID of the parent workflow.</summary>
public int? WorkflowId { get; set; }
public long? WorkflowId { get; set; }
/// <summary>The URL to the workflow.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down Expand Up @@ -277,7 +277,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{ "actor", n => { Actor = n.GetObjectValue<global::GitHub.Models.SimpleUser>(global::GitHub.Models.SimpleUser.CreateFromDiscriminatorValue); } },
{ "artifacts_url", n => { ArtifactsUrl = n.GetStringValue(); } },
{ "cancel_url", n => { CancelUrl = n.GetStringValue(); } },
{ "check_suite_id", n => { CheckSuiteId = n.GetIntValue(); } },
{ "check_suite_id", n => { CheckSuiteId = n.GetLongValue(); } },
{ "check_suite_node_id", n => { CheckSuiteNodeId = n.GetStringValue(); } },
{ "check_suite_url", n => { CheckSuiteUrl = n.GetStringValue(); } },
{ "conclusion", n => { Conclusion = n.GetStringValue(); } },
Expand Down Expand Up @@ -308,7 +308,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{ "triggering_actor", n => { TriggeringActor = n.GetObjectValue<global::GitHub.Models.SimpleUser>(global::GitHub.Models.SimpleUser.CreateFromDiscriminatorValue); } },
{ "updated_at", n => { UpdatedAt = n.GetDateTimeOffsetValue(); } },
{ "url", n => { Url = n.GetStringValue(); } },
{ "workflow_id", n => { WorkflowId = n.GetIntValue(); } },
{ "workflow_id", n => { WorkflowId = n.GetLongValue(); } },
{ "workflow_url", n => { WorkflowUrl = n.GetStringValue(); } },
};
}
Expand All @@ -322,7 +322,7 @@ public virtual void Serialize(ISerializationWriter writer)
writer.WriteObjectValue<global::GitHub.Models.SimpleUser>("actor", Actor);
writer.WriteStringValue("artifacts_url", ArtifactsUrl);
writer.WriteStringValue("cancel_url", CancelUrl);
writer.WriteIntValue("check_suite_id", CheckSuiteId);
writer.WriteLongValue("check_suite_id", CheckSuiteId);
writer.WriteStringValue("check_suite_node_id", CheckSuiteNodeId);
writer.WriteStringValue("check_suite_url", CheckSuiteUrl);
writer.WriteStringValue("conclusion", Conclusion);
Expand Down Expand Up @@ -353,7 +353,7 @@ public virtual void Serialize(ISerializationWriter writer)
writer.WriteObjectValue<global::GitHub.Models.SimpleUser>("triggering_actor", TriggeringActor);
writer.WriteDateTimeOffsetValue("updated_at", UpdatedAt);
writer.WriteStringValue("url", Url);
writer.WriteIntValue("workflow_id", WorkflowId);
writer.WriteLongValue("workflow_id", WorkflowId);
writer.WriteStringValue("workflow_url", WorkflowUrl);
writer.WriteAdditionalData(AdditionalData);
}
Expand Down