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