Make CreatedAt nullable (#2734)

make createdAt nullable
This commit is contained in:
Liam Neville
2023-06-28 13:03:59 -07:00
committed by GitHub
parent afac3e0bcf
commit d56404aee8
+2 -2
View File
@@ -10,7 +10,7 @@ namespace Octokit
{
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;
@@ -82,7 +82,7 @@ namespace Octokit
/// <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.