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:
@@ -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>
|
||||||
/// 获取或设置日程开始时间戳。
|
/// 获取或设置日程开始时间戳。
|
||||||
|
|||||||
@@ -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>
|
||||||
/// 获取或设置日程开始时间戳。
|
/// 获取或设置日程开始时间戳。
|
||||||
|
|||||||
@@ -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,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"schedule": {
|
"schedule": {
|
||||||
"organizer": "userid1",
|
"admins": ["admin1", "admin2"],
|
||||||
"start_time": 1571274600,
|
"start_time": 1571274600,
|
||||||
"end_time": 1571320210,
|
"end_time": 1571320210,
|
||||||
"attendees": [
|
"attendees": [
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -1,31 +1,31 @@
|
|||||||
{
|
{
|
||||||
"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",
|
}
|
||||||
"description": "test_description",
|
],
|
||||||
"reminders": {
|
"summary": "test_summary",
|
||||||
"is_remind": 1,
|
"description": "test_description",
|
||||||
"remind_before_event_secs": 3600,
|
"reminders": {
|
||||||
"is_repeat": 1,
|
"is_remind": 1,
|
||||||
"repeat_type": 7,
|
"remind_before_event_secs": 3600,
|
||||||
"repeat_until": 1606976813,
|
"is_repeat": 1,
|
||||||
"is_custom_repeat": 1,
|
"repeat_type": 7,
|
||||||
"repeat_interval": 1,
|
"repeat_until": 1606976813,
|
||||||
"repeat_day_of_week": [3, 7],
|
"is_custom_repeat": 1,
|
||||||
"repeat_day_of_month": [10, 21],
|
"repeat_interval": 1,
|
||||||
"timezone": 8
|
"repeat_day_of_week": [3, 7],
|
||||||
},
|
"repeat_day_of_month": [10, 21],
|
||||||
"location": "test_place",
|
"timezone": 8
|
||||||
"allow_active_join": true,
|
},
|
||||||
"only_organizer_create_chat": 1
|
"location": "test_place"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user