-
Notifications
You must be signed in to change notification settings - Fork 48
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
Showing
9 changed files
with
150 additions
and
40 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
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
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace ZoomNet.Models; | ||
|
||
/// <summary> | ||
/// Host report item. | ||
/// </summary> | ||
public class ReportHost | ||
{ | ||
/// <summary>Gets or sets the user id.</summary> | ||
[JsonPropertyName("id")] | ||
public string Id { get; set; } | ||
|
||
/// <summary>Gets or sets the department.</summary> | ||
[JsonPropertyName("dept")] | ||
public string Department { get; set; } | ||
|
||
/// <summary>Gets or sets a valid email address.</summary> | ||
[JsonPropertyName("email")] | ||
public string Email { get; set; } | ||
|
||
/// <summary>Gets or sets the type.</summary> | ||
[JsonPropertyName("type")] | ||
public UserType Type { get; set; } | ||
|
||
/// <summary>Gets or sets display name.</summary> | ||
[JsonPropertyName("user_name")] | ||
public string DisplayName { get; set; } | ||
|
||
/// <summary>Gets or sets the custom attributes.</summary> | ||
[JsonPropertyName("custom_attributes")] | ||
public CustomAttribute[] CustomAttributes { get; set; } | ||
|
||
/// <summary>Gets or sets the number of participants in meetings for user.</summary> | ||
[JsonPropertyName("participants")] | ||
public int TotalParticipants { get; set; } | ||
|
||
/// <summary>Gets or sets the number of meetings for user.</summary> | ||
[JsonPropertyName("meetings")] | ||
public int TotalMeetings { get; set; } | ||
|
||
/// <summary>Gets or sets the number of meeting minutes for user.</summary> | ||
[JsonPropertyName("meeting_minutes")] | ||
public int TotalMeetingMinutes { 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace ZoomNet.Models; | ||
|
||
/// <summary> | ||
/// Enumeration to indicate the type of a host. | ||
/// </summary> | ||
public enum ReportHostType | ||
{ | ||
/// <summary> | ||
/// Active. | ||
/// </summary> | ||
[EnumMember(Value = "active")] | ||
Active, | ||
|
||
/// <summary> | ||
/// Inactive. | ||
/// </summary> | ||
[EnumMember(Value = "inactive")] | ||
Inactive, | ||
} |
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
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
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
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
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