mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
feat(work): 随官方更新日程相关接口模型
This commit is contained in:
+4
-4
@@ -111,11 +111,11 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置组织者成员账号。
|
/// 获取或设置管理员成员账号。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("organizer")]
|
[Newtonsoft.Json.JsonProperty("admins")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("organizer")]
|
[System.Text.Json.Serialization.JsonPropertyName("admins")]
|
||||||
public string OrganizerUserId { get; set; } = string.Empty;
|
public IList<string>? AdminUserIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置日程开始时间戳。
|
/// 获取或设置日程开始时间戳。
|
||||||
|
|||||||
+4
-4
@@ -143,11 +143,11 @@
|
|||||||
public string ScheduleId { get; set; } = default!;
|
public string ScheduleId { get; set; } = default!;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置组织者成员账号。
|
/// 获取或设置管理员成员账号。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("organizer")]
|
[Newtonsoft.Json.JsonProperty("admins")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("organizer")]
|
[System.Text.Json.Serialization.JsonPropertyName("admins")]
|
||||||
public string OrganizerUserId { get; set; } = default!;
|
public string[] AdminUserIdList { get; set; } = default!;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置日程开始时间戳。
|
/// 获取或设置日程开始时间戳。
|
||||||
|
|||||||
+4
-4
@@ -30,11 +30,11 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
public string ScheduleId { get; set; } = string.Empty;
|
public string ScheduleId { get; set; } = string.Empty;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置组织者成员账号。
|
/// 获取或设置管理员成员账号。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("organizer")]
|
[Newtonsoft.Json.JsonProperty("admins")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("organizer")]
|
[System.Text.Json.Serialization.JsonPropertyName("admins")]
|
||||||
public string? OrganizerUserId { get; set; }
|
public IList<string>? AdminUserIdList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置日程开始时间戳。
|
/// 获取或设置日程开始时间戳。
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"schedule": {
|
"schedule": {
|
||||||
"organizer": "userid1",
|
"admins": ["admin1", "admin2"],
|
||||||
"start_time": 1571274600,
|
"start_time": 1571274600,
|
||||||
"end_time": 1571320210,
|
"end_time": 1571320210,
|
||||||
"attendees": [
|
"attendees": [
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
"schedule_list": [
|
"schedule_list": [
|
||||||
{
|
{
|
||||||
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
|
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
|
||||||
"organizer": "userid1",
|
"admins": ["admin1", "admin2"],
|
||||||
"attendees": [
|
"attendees": [
|
||||||
{
|
{
|
||||||
"userid": "userid2",
|
"userid": "userid2",
|
||||||
|
|||||||
+7
-7
@@ -1,15 +1,17 @@
|
|||||||
{
|
{
|
||||||
"skip_attendees": 0,
|
"skip_attendees": 0,
|
||||||
"op_mode": 1,
|
"op_mode": 1,
|
||||||
"op_start_time": 1571274600,
|
"op_start_time": 1571274600,
|
||||||
"schedule": {
|
"schedule": {
|
||||||
"organizer": "userid1",
|
"admins": ["admin1", "admin2"],
|
||||||
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
|
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
|
||||||
"start_time": 1571274600,
|
"start_time": 1571274600,
|
||||||
"end_time": 1571320210,
|
"end_time": 1571320210,
|
||||||
"attendees": [{
|
"attendees": [
|
||||||
|
{
|
||||||
"userid": "userid2"
|
"userid": "userid2"
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"summary": "test_summary",
|
"summary": "test_summary",
|
||||||
"description": "test_description",
|
"description": "test_description",
|
||||||
"reminders": {
|
"reminders": {
|
||||||
@@ -24,8 +26,6 @@
|
|||||||
"repeat_day_of_month": [10, 21],
|
"repeat_day_of_month": [10, 21],
|
||||||
"timezone": 8
|
"timezone": 8
|
||||||
},
|
},
|
||||||
"location": "test_place",
|
"location": "test_place"
|
||||||
"allow_active_join": true,
|
|
||||||
"only_organizer_create_chat": 1
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user