Skip to content

Commit

Permalink
Merge branch 'release/0.15.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jericho committed Jan 14, 2021
2 parents 0386002 + 0b8b7d5 commit 032fc84
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Source/ZoomNet/Resources/IUsers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace ZoomNet.Resources
/// Allows you to manage users.
/// </summary>
/// <remarks>
/// See <a href="https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users">Zoom documentation</a> for more information.
/// See <a href="https://marketplace.zoom.us/docs/api-reference/zoom-api/users/">Zoom documentation</a> for more information.
/// </remarks>
public interface IUsers
{
Expand All @@ -23,7 +23,7 @@ public interface IUsers
/// <param name="page">The current page number of returned records.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>
/// An array of <see cref="Users">users</see>.
/// An array of <see cref="User">users</see>.
/// </returns>
Task<PaginatedResponse<User>> GetAllAsync(UserStatus status = UserStatus.Active, string roleId = null, int recordsPerPage = 30, int page = 1, CancellationToken cancellationToken = default);

Expand Down
2 changes: 1 addition & 1 deletion Source/ZoomNet/Resources/IWebinars.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public interface IWebinars
/// The new webinar.
/// </returns>
/// <exception cref="System.Exception">Thrown when an exception occured while creating the webinar.</exception>
Task<Webinar> CreateScheduledWebinarAsync(string userId, string topic, string agenda, DateTime start, int duration, string password = null, WebinarSettings settings = null, IDictionary<string, string> trackingFields = null, CancellationToken cancellationToken = default);
Task<ScheduledWebinar> CreateScheduledWebinarAsync(string userId, string topic, string agenda, DateTime start, int duration, string password = null, WebinarSettings settings = null, IDictionary<string, string> trackingFields = null, CancellationToken cancellationToken = default);

/// <summary>
/// Creates a recurring webinar for a user.
Expand Down
6 changes: 3 additions & 3 deletions Source/ZoomNet/Resources/Users.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
namespace ZoomNet.Resources
{
/// <summary>
/// Allows you to manage meetings.
/// Allows you to manage users.
/// </summary>
/// <seealso cref="ZoomNet.Resources.IUsers" />
/// <remarks>
/// See <a href="https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users">Zoom documentation</a> for more information.
/// See <a href="https://marketplace.zoom.us/docs/api-reference/zoom-api/users/">Zoom documentation</a> for more information.
/// </remarks>
public class Users : IUsers
{
Expand All @@ -41,7 +41,7 @@ internal Users(Pathoschild.Http.Client.IClient client)
/// <param name="page">The current page number of returned records.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>
/// An array of <see cref="Users">users</see>.
/// An array of <see cref="User">users</see>.
/// </returns>
public Task<PaginatedResponse<User>> GetAllAsync(UserStatus status = UserStatus.Active, string roleId = null, int recordsPerPage = 30, int page = 1, CancellationToken cancellationToken = default)
{
Expand Down
4 changes: 2 additions & 2 deletions Source/ZoomNet/Resources/Webinars.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public Task<PaginatedResponseWithToken<Webinar>> GetAllAsync(string userId, int
/// The new webinar.
/// </returns>
/// <exception cref="System.Exception">Thrown when an exception occured while creating the webinar.</exception>
public Task<Webinar> CreateScheduledWebinarAsync(string userId, string topic, string agenda, DateTime start, int duration, string password = null, WebinarSettings settings = null, IDictionary<string, string> trackingFields = null, CancellationToken cancellationToken = default)
public Task<ScheduledWebinar> CreateScheduledWebinarAsync(string userId, string topic, string agenda, DateTime start, int duration, string password = null, WebinarSettings settings = null, IDictionary<string, string> trackingFields = null, CancellationToken cancellationToken = default)
{
var data = new JObject()
{
Expand All @@ -117,7 +117,7 @@ public Task<Webinar> CreateScheduledWebinarAsync(string userId, string topic, st
.PostAsync($"users/{userId}/webinars")
.WithJsonBody(data)
.WithCancellationToken(cancellationToken)
.AsObject<Webinar>();
.AsObject<ScheduledWebinar>();
}

/// <summary>
Expand Down

0 comments on commit 032fc84

Please sign in to comment.