mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 14:04:32 +08:00
feat(work): 随官方更新会议室、日程相关接口模型
This commit is contained in:
parent
cc444a668f
commit
6ef991898d
@ -20,10 +20,10 @@
|
||||
public int MeetingRoomId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置排期列表。
|
||||
/// 获取或设置排期信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("schedule")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("schedule")]
|
||||
public Types.Schedule[] ScheduleList { get; set; } = default!;
|
||||
public Types.Schedule Schedule { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
@ -47,6 +47,13 @@
|
||||
[Newtonsoft.Json.JsonProperty("booker")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("booker")]
|
||||
public string? BookerUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置预定状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("status")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
||||
public int Status { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -84,6 +84,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[Newtonsoft.Json.JsonProperty("attendees")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("attendees")]
|
||||
public IList<Types.Attendee>? AttendeeList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否忽略参与者字段。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("skip_attendees")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("skip_attendees")]
|
||||
public bool? RequireSkipAttendees { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,13 +2,12 @@
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"meetingroom_id": 1,
|
||||
"schedule": [
|
||||
{
|
||||
"meeting_id": "mtebsada6e027c123cbafAAA",
|
||||
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
|
||||
"start_time": 1593532800,
|
||||
"end_time": 1593662400,
|
||||
"booker": "zhangsan"
|
||||
}
|
||||
]
|
||||
}
|
||||
"schedule": {
|
||||
"meeting_id": "mtebsada6e027c123cbafAAA",
|
||||
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
|
||||
"start_time": 1593532800,
|
||||
"end_time": 1593662400,
|
||||
"booker": "zhangsan",
|
||||
"status": 0
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,8 @@
|
||||
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
|
||||
"start_time": 1593532800,
|
||||
"end_time": 1593662400,
|
||||
"booker": "zhangsan"
|
||||
"booker": "zhangsan",
|
||||
"status": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -23,6 +23,7 @@
|
||||
"repeat_day_of_month": [ 10, 21 ],
|
||||
"timezone": 8
|
||||
},
|
||||
"location": "test_place"
|
||||
"location": "test_place",
|
||||
"skip_attendees": true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user