This repository was archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathCheckRunModel.cs
More file actions
71 lines (59 loc) · 1.95 KB
/
CheckRunModel.cs
File metadata and controls
71 lines (59 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
using System;
using System.Collections.Generic;
namespace GitHub.Models
{
/// <summary>
/// Model for a single check run.
/// </summary>
public class CheckRunModel
{
/// <summary>
/// The id of a Check Run.
/// </summary>
public string Id { get; set; }
/// <summary>
/// The conclusion of the check run.
/// </summary>
public CheckConclusionState? Conclusion { get; set; }
/// <summary>
/// The current status of a Check Run.
/// </summary>
public CheckStatusState Status { get; set; }
/// <summary>
/// Identifies the date and time when the check run was started.
/// </summary>
public DateTimeOffset? StartedAt { get; set; }
/// <summary>
/// Identifies the date and time when the check run was completed.
/// </summary>
public DateTimeOffset? CompletedAt { get; set; }
/// <summary>
/// The check run's annotations.
/// </summary>
public List<CheckRunAnnotationModel> Annotations { get; set; }
/// <summary>
/// The name of the check for this check run.
/// </summary>
public string Name { get; set; }
/// <summary>
/// The URL from which to find full details of the check run on the integrator's site.
/// </summary>
public string DetailsUrl { get; set; }
/// <summary>
/// The title of a Check Run.
/// </summary>
public string Title { get; set; }
/// <summary>
/// The summary of a Check Run.
/// </summary>
public string Summary { get; set; }
/// <summary>
/// The flag to shows this Check Run is required.
/// </summary>
public bool IsRequired { get; set; }
/// <summary>
/// The detail of a Check Run.
/// </summary>
public string Text { get; set; }
}
}