Skip to content

Commit

Permalink
Merge branch 'release/0.8.3' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Jericho committed Sep 9, 2020
2 parents a82f174 + 3cf1a03 commit 477a7bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Source/ZoomNet/Resources/Dashboards.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public Task<DashboardMeetingMetrics> GetMeetingAsync(string meetingId, Dashboard
/// <returns>
/// An array of <see cref="DashboardMeetingParticipant">participants</see>.
/// </returns>
public Task<PaginatedResponseWithTokenAndDateRange<DashboardMeetingParticipant>> GetMeetingParticipantsAsync(string meetingId, DashboardMeetingType type = DashboardMeetingType.Live, int pageSize = 30, string pageToken = null, CancellationToken cancellationToken = default)
public Task<PaginatedResponseWithToken<DashboardMeetingParticipant>> GetMeetingParticipantsAsync(string meetingId, DashboardMeetingType type = DashboardMeetingType.Live, int pageSize = 30, string pageToken = null, CancellationToken cancellationToken = default)
{
if (pageSize < 1 || pageSize > 300)
{
Expand All @@ -113,7 +113,7 @@ public Task<PaginatedResponseWithTokenAndDateRange<DashboardMeetingParticipant>>
.WithArgument("page_size", pageSize)
.WithArgument("next_page_token", pageToken)
.WithCancellationToken(cancellationToken)
.AsPaginatedResponseWithTokenAndDateRange<DashboardMeetingParticipant>("participants");
.AsPaginatedResponseWithToken<DashboardMeetingParticipant>("participants");
}

/// <summary>
Expand Down Expand Up @@ -267,7 +267,7 @@ public Task<DashboardMetricsBase> GetWebinarAsync(string webinarId, DashboardMee
/// <returns>
/// An array of <see cref="DashboardParticipant">participants</see>.
/// </returns>
public Task<PaginatedResponseWithTokenAndDateRange<DashboardParticipant>> GetWebinarParticipantsAsync(string webinarId, DashboardMeetingType type = DashboardMeetingType.Live, int pageSize = 30, string pageToken = null, CancellationToken cancellationToken = default)
public Task<PaginatedResponseWithToken<DashboardParticipant>> GetWebinarParticipantsAsync(string webinarId, DashboardMeetingType type = DashboardMeetingType.Live, int pageSize = 30, string pageToken = null, CancellationToken cancellationToken = default)
{
if (pageSize < 1 || pageSize > 300)
{
Expand All @@ -280,7 +280,7 @@ public Task<PaginatedResponseWithTokenAndDateRange<DashboardParticipant>> GetWeb
.WithArgument("page_size", pageSize)
.WithArgument("next_page_token", pageToken)
.WithCancellationToken(cancellationToken)
.AsPaginatedResponseWithTokenAndDateRange<DashboardParticipant>("participants");
.AsPaginatedResponseWithToken<DashboardParticipant>("participants");
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Source/ZoomNet/Resources/IDashboards.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public interface IDashboards
/// <returns>
/// An array of <see cref="DashboardMeetingParticipant">participants</see>.
/// </returns>
Task<PaginatedResponseWithTokenAndDateRange<DashboardMeetingParticipant>> GetMeetingParticipantsAsync(string meetingId, DashboardMeetingType type = DashboardMeetingType.Live, int pageSize = 30, string pageToken = null, CancellationToken cancellationToken = default);
Task<PaginatedResponseWithToken<DashboardMeetingParticipant>> GetMeetingParticipantsAsync(string meetingId, DashboardMeetingType type = DashboardMeetingType.Live, int pageSize = 30, string pageToken = null, CancellationToken cancellationToken = default);

/// <summary>
/// Retrieve the quality of service for participants from live or past meetings.
Expand Down Expand Up @@ -158,7 +158,7 @@ public interface IDashboards
/// <returns>
/// An array of <see cref="DashboardParticipant">participants</see>.
/// </returns>
Task<PaginatedResponseWithTokenAndDateRange<DashboardParticipant>> GetWebinarParticipantsAsync(string webinarId, DashboardMeetingType type = DashboardMeetingType.Live, int pageSize = 30, string pageToken = null, CancellationToken cancellationToken = default);
Task<PaginatedResponseWithToken<DashboardParticipant>> GetWebinarParticipantsAsync(string webinarId, DashboardMeetingType type = DashboardMeetingType.Live, int pageSize = 30, string pageToken = null, CancellationToken cancellationToken = default);

/// <summary>
/// Retrieve the quality of service for participants from live or past webinars.
Expand Down

0 comments on commit 477a7bf

Please sign in to comment.