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:
+25
-1
@@ -1,4 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
@@ -25,6 +25,23 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("latitude")]
|
||||
public double Latitude { get; set; }
|
||||
}
|
||||
|
||||
public class Range
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置使用范围的成员 UserId 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("user_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("user_list")]
|
||||
public IList<string>? UserIdList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置使用范围的部门 ID 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("department_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("department_list")]
|
||||
public IList<long>? DepartmentId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -69,6 +86,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("coordinate")]
|
||||
public Types.Coordinate? Coordinate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置使用范围信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("range")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("range")]
|
||||
public Types.Range? Range { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置会议室支持的设备 ID 列表。
|
||||
/// </summary>
|
||||
|
||||
+12
-1
@@ -1,4 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
@@ -12,6 +12,10 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
public class Coordinate : CgibinOAMeetingRoomAddRequest.Types.Coordinate
|
||||
{
|
||||
}
|
||||
|
||||
public class Range : CgibinOAMeetingRoomAddRequest.Types.Range
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -63,6 +67,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("coordinate")]
|
||||
public Types.Coordinate? Coordinate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置使用范围信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("range")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("range")]
|
||||
public Types.Range? Range { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置会议室支持的设备 ID 列表。
|
||||
/// </summary>
|
||||
|
||||
+25
-1
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/oa/meetingroom/list 接口的响应。</para>
|
||||
@@ -14,6 +14,23 @@
|
||||
public class Coordinate : CgibinOAMeetingRoomAddRequest.Types.Coordinate
|
||||
{
|
||||
}
|
||||
|
||||
public class Range
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置使用范围的成员 UserId 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("user_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("user_list")]
|
||||
public string[]? UserIdList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置使用范围的部门 ID 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("department_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("department_list")]
|
||||
public long[]? DepartmentId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -65,6 +82,13 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("coordinate")]
|
||||
public Types.Coordinate? Coordinate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置使用范围信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("range")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("range")]
|
||||
public Types.Range? Range { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置会议室支持的设备 ID 列表。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user