feat(work): 随官方更新获取会议详情接口模型

This commit is contained in:
Fu Diwei
2025-11-26 10:11:47 +08:00
parent 85b5f050dc
commit 0c6066b9bf
3 changed files with 115 additions and 4 deletions

View File

@@ -18,5 +18,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[Newtonsoft.Json.JsonProperty("meeting_code")]
[System.Text.Json.Serialization.JsonPropertyName("meeting_code")]
public string? MeetingCode { get; set; }
/// <summary>
/// 获取或设置子会议 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("sub_meetingid")]
[System.Text.Json.Serialization.JsonPropertyName("sub_meetingid")]
public string? SubMeetingId { get; set; }
}
}

View File

@@ -270,8 +270,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
/// <summary>
/// 获取或设置是否当有参会成员入会时立即开启云录制。
/// </summary>
[Newtonsoft.Json.JsonProperty("participant_join_auto_record")]
[System.Text.Json.Serialization.JsonPropertyName("participant_join_auto_record")]
[Newtonsoft.Json.JsonProperty("attendee_join_auto_record")]
[System.Text.Json.Serialization.JsonPropertyName("attendee_join_auto_record")]
public bool IsAttendeeJoinAutoRecord { get; set; }
/// <summary>
@@ -438,6 +438,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[System.Text.Json.Serialization.JsonPropertyName("sub_meetingid")]
public string SubMeetingId { get; set; } = default!;
/// <summary>
/// 获取或设置标题。
/// </summary>
[Newtonsoft.Json.JsonProperty("title")]
[System.Text.Json.Serialization.JsonPropertyName("title")]
public string Title { get; set; } = default!;
/// <summary>
/// 获取或设置状态。
/// </summary>
@@ -458,6 +465,81 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[Newtonsoft.Json.JsonProperty("end_time")]
[System.Text.Json.Serialization.JsonPropertyName("end_time")]
public long EndTimestamp { get; set; }
/// <summary>
/// 获取或设置周期性会议分段 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("repeat_id")]
[System.Text.Json.Serialization.JsonPropertyName("repeat_id")]
public string? RepeatId { get; set; }
}
public class SubRepeat
{
/// <summary>
/// 获取或设置周期性会议分段 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("repeat_id")]
[System.Text.Json.Serialization.JsonPropertyName("repeat_id")]
public string RepeatId { get; set; } = default!;
/// <summary>
/// 获取或设置重复类型。
/// </summary>
[Newtonsoft.Json.JsonProperty("repeat_type")]
[System.Text.Json.Serialization.JsonPropertyName("repeat_type")]
public int RepeatType { get; set; }
/// <summary>
/// 获取或设置是否自定义重复设置。
/// </summary>
[Newtonsoft.Json.JsonProperty("is_custom_repeat")]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.NumericalBooleanConverter))]
[System.Text.Json.Serialization.JsonPropertyName("is_custom_repeat")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalBooleanConverter))]
public bool IsCustomRepeat { get; set; }
/// <summary>
/// 获取或设置周期间隔。
/// </summary>
[Newtonsoft.Json.JsonProperty("repeat_interval")]
[System.Text.Json.Serialization.JsonPropertyName("repeat_interval")]
public int RepeatInterval { get; set; }
/// <summary>
/// 获取或设置每周重复日序号列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("repeat_day_of_week")]
[System.Text.Json.Serialization.JsonPropertyName("repeat_day_of_week")]
public int[]? RepeatDayOfWeekList { get; set; }
/// <summary>
/// 获取或设置每周重复日序号列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("repeat_day_of_month")]
[System.Text.Json.Serialization.JsonPropertyName("repeat_day_of_month")]
public int[]? RepeatDayOfMonthList { get; set; }
/// <summary>
/// 获取或设置周期性会议结束类型。
/// </summary>
[Newtonsoft.Json.JsonProperty("repeat_until_type")]
[System.Text.Json.Serialization.JsonPropertyName("repeat_until_type")]
public int RepeatUntilType { get; set; }
/// <summary>
/// 获取或设置分段的重复截止次数。
/// </summary>
[Newtonsoft.Json.JsonProperty("repeat_until_count")]
[System.Text.Json.Serialization.JsonPropertyName("repeat_until_count")]
public int? RepeatUntilCount { get; set; }
/// <summary>
/// 获取或设置分段的重复截止时间戳。
/// </summary>
[Newtonsoft.Json.JsonProperty("repeat_until")]
[System.Text.Json.Serialization.JsonPropertyName("repeat_until")]
public long? RepeatUntilTimestamp { get; set; }
}
}
@@ -616,5 +698,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[Newtonsoft.Json.JsonProperty("current_sub_meetingid")]
[System.Text.Json.Serialization.JsonPropertyName("current_sub_meetingid")]
public string? CurrentSubMeetingId { get; set; }
/// <summary>
/// 获取或设置周期性会议分段信息列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("sub_repeat_list")]
[System.Text.Json.Serialization.JsonPropertyName("sub_repeat_list")]
public Types.SubRepeat[]? SubRepeatList { get; set; }
}
}

View File

@@ -60,7 +60,7 @@
"enable_screen_watermark": false,
"watermark_type": 1,
"auto_record_type": "none",
"participant_join_auto_record": false,
"attendee_join_auto_record": false,
"enable_host_pause_auto_record": false,
"enable_doc_upload_permission": true,
"enable_enroll": true,
@@ -103,7 +103,9 @@
"sub_meetingid": "sub_meetingid",
"status": 0,
"start_time": 16888888888,
"end_time": 179888888888
"end_time": 179888888888,
"title": "子会议标题",
"repeat_id": "123-cjig-gmeihue"
}
],
"guests": [
@@ -112,5 +114,18 @@
"phone_number": "135123454321",
"guest_name": "lisi"
}
],
"sub_repeat_list": [
{
"repeat_id": "jmbioe-1249021-bmjg",
"repeat_type": 0,
"repeat_until_type": 1,
"repeat_until_count": 10,
"repeat_until": 1606976813,
"repeat_interval": 1,
"is_custom_repeat": 1,
"repeat_day_of_week": [ 3, 7 ],
"repeat_day_of_month": [ 10, 21 ]
}
]
}