mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
42 lines
1.2 KiB
C#
42 lines
1.2 KiB
C#
using System.Runtime.Serialization;
|
|
|
|
namespace Sdk.RSWebApi.Contracts
|
|
{
|
|
[DataContract]
|
|
public struct Annotation
|
|
{
|
|
[DataMember(Name = "level", EmitDefaultValue = false)]
|
|
public AnnotationLevel Level;
|
|
|
|
[DataMember(Name = "message", EmitDefaultValue = false)]
|
|
public string Message;
|
|
|
|
[DataMember(Name = "title", EmitDefaultValue = false)]
|
|
public string Title;
|
|
|
|
[DataMember(Name = "rawDetails", EmitDefaultValue = false)]
|
|
public string RawDetails;
|
|
|
|
[DataMember(Name = "path", EmitDefaultValue = false)]
|
|
public string Path;
|
|
|
|
[DataMember(Name = "isInfrastructureIssue", EmitDefaultValue = false)]
|
|
public bool IsInfrastructureIssue;
|
|
|
|
[DataMember(Name = "startLine", EmitDefaultValue = false)]
|
|
public long StartLine;
|
|
|
|
[DataMember(Name = "endLine", EmitDefaultValue = false)]
|
|
public long EndLine;
|
|
|
|
[DataMember(Name = "startColumn", EmitDefaultValue = false)]
|
|
public long StartColumn;
|
|
|
|
[DataMember(Name = "endColumn", EmitDefaultValue = false)]
|
|
public long EndColumn;
|
|
|
|
[DataMember(Name = "stepNumber", EmitDefaultValue = false)]
|
|
public long StepNumber;
|
|
}
|
|
}
|