-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix return type for get test item history endpoint
Fix #128
- Loading branch information
1 parent
dbd5ae3
commit ebaef7a
Showing
3 changed files
with
15 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 1 addition & 25 deletions
26
src/ReportPortal.Client/Abstractions/Responses/TestItemHistoryResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,11 @@ | ||
using ReportPortal.Client.Abstractions.Models; | ||
using ReportPortal.Client.Converters; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using System.Collections.Generic; | ||
|
||
namespace ReportPortal.Client.Abstractions.Responses | ||
{ | ||
public class TestItemHistoryContainer | ||
{ | ||
public string GroupingField { get; set; } | ||
|
||
public IList<TestItemHistoryElement> Resources { get; set; } | ||
} | ||
|
||
public class TestItemHistoryElement | ||
{ | ||
public string Name { get; set; } | ||
|
||
[JsonConverter(typeof(JsonStringEnumConverterEx<Status>))] | ||
public Status Status { get; set; } | ||
|
||
public long LaunchNumber { get; set; } | ||
|
||
public long LaunchId { get; set; } | ||
|
||
[JsonConverter(typeof(DateTimeUnixEpochConverter))] | ||
public DateTime StartTime { get; set; } | ||
|
||
[JsonConverter(typeof(JsonStringEnumConverterEx<Status>))] | ||
public Status LaunchStatus { get; set; } | ||
|
||
public IList<TestItemResponse> Resources { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters