-
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.
Merge branch 'feature/meeting_getall_returns_summary' into develop
Resolves #223
- Loading branch information
Showing
8 changed files
with
220 additions
and
65 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,89 @@ | ||
using System; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace ZoomNet.Models | ||
{ | ||
/// <summary> | ||
/// Summary information about a meeting. | ||
/// </summary> | ||
public class MeetingSummary | ||
{ | ||
/// <summary>Gets or sets the meeting description.</summary> | ||
/// <remarks> | ||
/// The length of agenda gets truncated to 250 characters | ||
/// when you list all meetings for a user. To view the complete | ||
/// agenda of a meeting, retrieve details for a single meeting, | ||
/// use the Get a meeting API. | ||
/// </remarks> | ||
[JsonPropertyName("agenda")] | ||
public string Agenda { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the date and time when the meeting was created. | ||
/// </summary> | ||
[JsonPropertyName("created_at")] | ||
public DateTime CreatedOn { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the duration in minutes. | ||
/// </summary> | ||
[JsonPropertyName("duration")] | ||
public int Duration { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the ID of the user who is set as the host of the meeting. | ||
/// </summary> | ||
[JsonPropertyName("host_id")] | ||
public string HostId { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the meeting id, also known as the meeting number. | ||
/// </summary> | ||
[JsonPropertyName("id")] | ||
public long Id { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the URL for the host to start the meeting. | ||
/// </summary> | ||
[JsonPropertyName("start_url")] | ||
public string StartUrl { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the personal meeting id. | ||
/// </summary> | ||
[JsonPropertyName("pmi")] | ||
public string PersonalMeetingId { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the start time. | ||
/// </summary> | ||
[JsonPropertyName("start_time")] | ||
public DateTime StartTime { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the timezone. | ||
/// For example, "America/Los_Angeles". | ||
/// Please reference our <a href="https://marketplace.zoom.us/docs/api-reference/other-references/abbreviation-lists#timezones">timezone list</a> for supported timezones and their formats. | ||
/// </summary> | ||
[JsonPropertyName("timezone")] | ||
public string Timezone { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the topic of the meeting. | ||
/// </summary> | ||
[JsonPropertyName("topic")] | ||
public string Topic { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the meeting type. | ||
/// </summary> | ||
[JsonPropertyName("type")] | ||
public MeetingType Type { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the unique id. | ||
/// </summary> | ||
[JsonPropertyName("uuid")] | ||
public string Uuid { 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,98 @@ | ||
using System; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace ZoomNet.Models | ||
{ | ||
/// <summary> | ||
/// Summary information about a webinar. | ||
/// </summary> | ||
public class WebinarSummary | ||
{ | ||
/// <summary> | ||
/// Gets or sets the webinar agenda. | ||
/// </summary> | ||
/// <value>The agenda.</value> | ||
[JsonPropertyName("agenda")] | ||
public string Agenda { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the date and time when the meeting was created. | ||
/// </summary> | ||
/// <value>The meeting created time.</value> | ||
[JsonPropertyName("created_at")] | ||
public DateTime CreatedOn { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the duration in minutes. | ||
/// </summary> | ||
/// <value>The duration in minutes.</value> | ||
[JsonPropertyName("duration")] | ||
public int Duration { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the ID of the user who is set as the host of the webinar. | ||
/// </summary> | ||
/// <value> | ||
/// The user id. | ||
/// </value> | ||
[JsonPropertyName("host_id")] | ||
public string HostId { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the webinar id, also known as the webinar number. | ||
/// </summary> | ||
/// <value> | ||
/// The id. | ||
/// </value> | ||
[JsonPropertyName("id")] | ||
public long Id { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the URL to join the webinar. | ||
/// </summary> | ||
/// <value>The join URL.</value> | ||
[JsonPropertyName("join_url")] | ||
public string JoinUrl { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the webinar start time. | ||
/// </summary> | ||
/// <value>The webinar start time.</value> | ||
[JsonPropertyName("start_time")] | ||
public DateTime StartTime { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the timezone. | ||
/// For example, "America/Los_Angeles". | ||
/// Please reference our <a href="https://marketplace.zoom.us/docs/api-reference/other-references/abbreviation-lists#timezones">timezone list</a> for supported timezones and their formats. | ||
/// </summary> | ||
/// <value>The webinar timezone. For example, "America/Los_Angeles". Please reference our <a href="https://marketplace.zoom.us/docs/api-reference/other-references/abbreviation-lists#timezones">timezone list</a> for supported timezones and their formats.</value> | ||
[JsonPropertyName("timezone")] | ||
public string Timezone { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the topic of the meeting. | ||
/// </summary> | ||
/// <value> | ||
/// The topic. | ||
/// </value> | ||
[JsonPropertyName("topic")] | ||
public string Topic { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the webinar type. | ||
/// </summary> | ||
/// <value>The webinar type.</value> | ||
[JsonPropertyName("type")] | ||
public WebinarType Type { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the unique id. | ||
/// </summary> | ||
/// <value> | ||
/// The unique id. | ||
/// </value> | ||
[JsonPropertyName("uuid")] | ||
public string Uuid { 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
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
Oops, something went wrong.