-
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.
- Loading branch information
1 parent
ebaef7a
commit ada1b40
Showing
3 changed files
with
1 addition
and
20 deletions.
There are no files selected for viewing
6 changes: 0 additions & 6 deletions
6
src/ReportPortal.Client/Abstractions/Requests/AssignTestItemIssuesRequest.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,29 @@ | ||
using ReportPortal.Client.Abstractions.Responses; | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
|
||
namespace ReportPortal.Client.Abstractions.Requests | ||
{ | ||
/// <summary> | ||
/// Defines a request for assigning issues to test items. | ||
/// </summary> | ||
[DataContract] | ||
public class AssignTestItemIssuesRequest | ||
{ | ||
/// <summary> | ||
/// List of test items and their issues. | ||
/// </summary> | ||
[DataMember(Name = "issues")] | ||
public List<TestItemIssueUpdate> Issues { get; set; } | ||
} | ||
|
||
[DataContract] | ||
public class TestItemIssueUpdate | ||
{ | ||
/// <summary> | ||
/// A issue of test item. | ||
/// </summary> | ||
[DataMember(Name = "issue")] | ||
public Issue Issue { get; set; } | ||
|
||
/// <summary> | ||
/// ID of test item to assign the issue. | ||
/// </summary> | ||
[DataMember(Name = "testItemId")] | ||
public long TestItemId { get; set; } | ||
} | ||
} |
5 changes: 0 additions & 5 deletions
5
src/ReportPortal.Client/Abstractions/Responses/Project/PreferenceResponse.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,21 +1,16 @@ | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
|
||
namespace ReportPortal.Client.Abstractions.Responses.Project | ||
{ | ||
[DataContract] | ||
public class PreferenceResponse | ||
{ | ||
/// <summary> | ||
/// List of filters in a preference. | ||
/// </summary> | ||
[DataMember(Name = "filters")] | ||
public IList<UserFilterResponse> Filters { get; set; } | ||
|
||
[DataMember(Name = "projectId")] | ||
public long ProjectId { get; set; } | ||
|
||
[DataMember(Name = "userId")] | ||
public long UserId { get; set; } | ||
} | ||
} |
10 changes: 1 addition & 9 deletions
10
src/ReportPortal.Client/Abstractions/Responses/Project/ProjectDefectSubType.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,23 +1,15 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace ReportPortal.Client.Abstractions.Responses.Project | ||
namespace ReportPortal.Client.Abstractions.Responses.Project | ||
{ | ||
[DataContract] | ||
public class ProjectDefectSubType | ||
{ | ||
[DataMember(Name = "id")] | ||
public long Id { get; set; } | ||
|
||
[DataMember(Name = "color")] | ||
public string Color { get; set; } | ||
|
||
[DataMember(Name = "locator")] | ||
public string Locator { get; set; } | ||
|
||
[DataMember(Name = "longName")] | ||
public string LongName { get; set; } | ||
|
||
[DataMember(Name = "shortName")] | ||
public string ShortName { get; set; } | ||
} | ||
} |