Skip to content

Commit

Permalink
Make CreatedAt nullable (#2734)
Browse files Browse the repository at this point in the history
make createdAt nullable
  • Loading branch information
lineville authored Jun 28, 2023
1 parent afac3e0 commit d56404a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Octokit/Models/Response/WorkflowJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class WorkflowJob
{
public WorkflowJob() { }

public WorkflowJob(long id, long runId, string runUrl, string nodeId, string headSha, string url, string htmlUrl, WorkflowJobStatus status, WorkflowJobConclusion? conclusion, DateTimeOffset createdAt, DateTimeOffset startedAt, DateTimeOffset? completedAt, string name, IReadOnlyList<WorkflowJobStep> steps, string checkRunUrl, IReadOnlyList<string> labels, long? runnerId = default, string runnerName = default, long? runnerGroupId = default, string runnerGroupName = default)
public WorkflowJob(long id, long runId, string runUrl, string nodeId, string headSha, string url, string htmlUrl, WorkflowJobStatus status, WorkflowJobConclusion? conclusion, DateTimeOffset? createdAt, DateTimeOffset startedAt, DateTimeOffset? completedAt, string name, IReadOnlyList<WorkflowJobStep> steps, string checkRunUrl, IReadOnlyList<string> labels, long? runnerId = default, string runnerName = default, long? runnerGroupId = default, string runnerGroupName = default)
{
Id = id;
RunId = runId;
Expand Down Expand Up @@ -82,7 +82,7 @@ public WorkflowJob(long id, long runId, string runUrl, string nodeId, string hea
/// <summary>
/// The time that the job was created.
/// </summary>
public DateTimeOffset CreatedAt { get; private set; }
public DateTimeOffset? CreatedAt { get; private set; }

/// <summary>
/// The time that the job started.
Expand Down

0 comments on commit d56404a

Please sign in to comment.