From 8a78f7b3e2815bed548126a0e36f3deba71e5414 Mon Sep 17 00:00:00 2001 From: Maarten Balliauw Date: Tue, 31 Oct 2017 12:01:56 +0100 Subject: [PATCH] Develop (#68) * Add wikifyDescription param to IssuesService.GetIssues() #64 * Increment version * Update XML documentation: UserManagementService GetUsers only returns 10 users #66 * Extend class User with RingId property #67 * Update version number --- src/YouTrackSharp/Management/User.cs | 5 +++++ src/YouTrackSharp/Management/UserManagementService.cs | 2 +- src/YouTrackSharp/YouTrackSharp.csproj | 2 +- tests/YouTrackSharp.Tests/YouTrackSharp.Tests.csproj | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/YouTrackSharp/Management/User.cs b/src/YouTrackSharp/Management/User.cs index d3554ac9..9b800756 100644 --- a/src/YouTrackSharp/Management/User.cs +++ b/src/YouTrackSharp/Management/User.cs @@ -7,6 +7,11 @@ namespace YouTrackSharp.Management /// public class User { + /// + /// Ring ID of the user. + /// + [JsonProperty("ringId")] + public string RingId { get; set; } /// /// Username of the user. /// diff --git a/src/YouTrackSharp/Management/UserManagementService.cs b/src/YouTrackSharp/Management/UserManagementService.cs index cf2816dd..3ef6b272 100644 --- a/src/YouTrackSharp/Management/UserManagementService.cs +++ b/src/YouTrackSharp/Management/UserManagementService.cs @@ -50,7 +50,7 @@ public async Task GetUser(string username) } /// - /// Get a list of all available registered users. + /// Get a list of available registered users, paged per 10. Use the parameter to get subsequent results. /// /// Uses the REST API Get a list of all available registered users. /// Search query (part of user login, name or email). diff --git a/src/YouTrackSharp/YouTrackSharp.csproj b/src/YouTrackSharp/YouTrackSharp.csproj index 1a2b242f..b92a1b97 100644 --- a/src/YouTrackSharp/YouTrackSharp.csproj +++ b/src/YouTrackSharp/YouTrackSharp.csproj @@ -17,7 +17,7 @@ JetBrains https://github.com/JetBrains/YouTrackSharp.git Git - 3.2.2 + 3.2.3 diff --git a/tests/YouTrackSharp.Tests/YouTrackSharp.Tests.csproj b/tests/YouTrackSharp.Tests/YouTrackSharp.Tests.csproj index fb4f31ec..432f9b73 100644 --- a/tests/YouTrackSharp.Tests/YouTrackSharp.Tests.csproj +++ b/tests/YouTrackSharp.Tests/YouTrackSharp.Tests.csproj @@ -13,7 +13,7 @@ https://raw.githubusercontent.com/JetBrains/YouTrackSharp/master/logo.png https://github.com/JetBrains/YouTrackSharp.git Git - 3.2.2 + 3.2.3 False