-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
400 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...Client.Wechat.Work/Models/CgibinSecurity/Vip/CgibinSecurityVipBatchAddJobResultRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /cgi-bin/security/vip/batch_add_job_result 接口的请求。</para> | ||
/// </summary> | ||
public class CgibinSecurityVipBatchAddJobResultRequest : WechatWorkRequest | ||
{ | ||
/// <summary> | ||
/// 获取或设置任务 ID。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("jobid")] | ||
[System.Text.Json.Serialization.JsonPropertyName("jobid")] | ||
public string JobId { get; set; } = string.Empty; | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...lient.Wechat.Work/Models/CgibinSecurity/Vip/CgibinSecurityVipBatchAddJobResultResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /cgi-bin/security/vip/batch_add_job_result 接口的响应。</para> | ||
/// </summary> | ||
public class CgibinSecurityVipBatchAddJobResultResponse : WechatWorkResponse | ||
{ | ||
public static class Types | ||
{ | ||
public class JobResult | ||
{ | ||
/// <summary> | ||
/// 获取或设置分配成功的成员账号列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("succ_userid_list")] | ||
[System.Text.Json.Serialization.JsonPropertyName("succ_userid_list")] | ||
public string[]? SuccessfulUserIdList { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置分配失败的成员账号列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("fail_userid_list")] | ||
[System.Text.Json.Serialization.JsonPropertyName("fail_userid_list")] | ||
public string[]? FailedUserIdList { get; set; } | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// 获取或设置任务结果信息。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("job_result")] | ||
[System.Text.Json.Serialization.JsonPropertyName("job_result")] | ||
public Types.JobResult JobResult { get; set; } = default!; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ent.Wechat.Work/Models/CgibinSecurity/Vip/CgibinSecurityVipBatchDeleteJobResultRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /cgi-bin/security/vip/batch_del_job_result 接口的请求。</para> | ||
/// </summary> | ||
public class CgibinSecurityVipBatchDeleteJobResultRequest : WechatWorkRequest | ||
{ | ||
/// <summary> | ||
/// 获取或设置任务 ID。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("jobid")] | ||
[System.Text.Json.Serialization.JsonPropertyName("jobid")] | ||
public string JobId { get; set; } = string.Empty; | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...nt.Wechat.Work/Models/CgibinSecurity/Vip/CgibinSecurityVipBatchDeleteJobResultResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /cgi-bin/security/vip/batch_del_job_result 接口的响应。</para> | ||
/// </summary> | ||
public class CgibinSecurityVipBatchDeleteJobResultResponse : WechatWorkResponse | ||
{ | ||
public static class Types | ||
{ | ||
public class JobResult | ||
{ | ||
/// <summary> | ||
/// 获取或设置撤销分配成功的成员账号列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("succ_userid_list")] | ||
[System.Text.Json.Serialization.JsonPropertyName("succ_userid_list")] | ||
public string[]? SuccessfulUserIdList { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置撤销分配失败的成员账号列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("fail_userid_list")] | ||
[System.Text.Json.Serialization.JsonPropertyName("fail_userid_list")] | ||
public string[]? FailedUserIdList { get; set; } | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// 获取或设置任务结果信息。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("job_result")] | ||
[System.Text.Json.Serialization.JsonPropertyName("job_result")] | ||
public Types.JobResult JobResult { get; set; } = default!; | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...KIT.FlurlHttpClient.Wechat.Work/Models/CgibinSecurity/Vip/CgibinSecurityVipListRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /cgi-bin/security/vip/list 接口的请求。</para> | ||
/// </summary> | ||
public class CgibinSecurityVipListRequest : WechatWorkRequest | ||
{ | ||
/// <summary> | ||
/// 获取或设置分页每页数量。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("limit")] | ||
[System.Text.Json.Serialization.JsonPropertyName("limit")] | ||
public int? Limit { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置翻页标记。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("cursor")] | ||
[System.Text.Json.Serialization.JsonPropertyName("cursor")] | ||
public string? Cursor { get; set; } | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...IT.FlurlHttpClient.Wechat.Work/Models/CgibinSecurity/Vip/CgibinSecurityVipListResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /cgi-bin/security/vip/list 接口的响应。</para> | ||
/// </summary> | ||
public class CgibinSecurityVipListResponse : WechatWorkResponse | ||
{ | ||
/// <summary> | ||
/// 获取或设置成员账号列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("userid_list")] | ||
[System.Text.Json.Serialization.JsonPropertyName("userid_list")] | ||
public string[] UserIdList { get; set; } = default!; | ||
|
||
/// <summary> | ||
/// 获取或设置是否还有更多数据。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("has_more")] | ||
[System.Text.Json.Serialization.JsonPropertyName("has_more")] | ||
public bool HasMore { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置翻页标记。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("next_cursor")] | ||
[System.Text.Json.Serialization.JsonPropertyName("next_cursor")] | ||
public string? NextCursor { get; set; } | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...Client.Wechat.Work/Models/CgibinSecurity/Vip/CgibinSecurityVipSubmitBatchAddJobRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /cgi-bin/security/vip/submit_batch_add_job 接口的请求。</para> | ||
/// </summary> | ||
public class CgibinSecurityVipSubmitBatchAddJobRequest : WechatWorkRequest | ||
{ | ||
/// <summary> | ||
/// 获取或设置成员账号列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("userid_list")] | ||
[System.Text.Json.Serialization.JsonPropertyName("userid_list")] | ||
public IList<string>? UserIdList { get; set; } | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...lient.Wechat.Work/Models/CgibinSecurity/Vip/CgibinSecurityVipSubmitBatchAddJobResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /cgi-bin/security/vip/submit_batch_add_job 接口的响应。</para> | ||
/// </summary> | ||
public class CgibinSecurityVipSubmitBatchAddJobResponse : WechatWorkResponse | ||
{ | ||
/// <summary> | ||
/// 获取或设置任务 ID。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("jobid")] | ||
[System.Text.Json.Serialization.JsonPropertyName("jobid")] | ||
public string JobId { get; set; } = default!; | ||
|
||
/// <summary> | ||
/// 获取或设置无效的成员账号列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("invalid_userid_list")] | ||
[System.Text.Json.Serialization.JsonPropertyName("invalid_userid_list")] | ||
public string[]? InvalidUserIdList { get; set; } | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ent.Wechat.Work/Models/CgibinSecurity/Vip/CgibinSecurityVipSubmitBatchDeleteJobRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /cgi-bin/security/vip/submit_batch_del_job 接口的请求。</para> | ||
/// </summary> | ||
public class CgibinSecurityVipSubmitBatchDeleteJobRequest : WechatWorkRequest | ||
{ | ||
/// <summary> | ||
/// 获取或设置成员账号列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("userid_list")] | ||
[System.Text.Json.Serialization.JsonPropertyName("userid_list")] | ||
public IList<string>? UserIdList { get; set; } | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...nt.Wechat.Work/Models/CgibinSecurity/Vip/CgibinSecurityVipSubmitBatchDeleteJobResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /cgi-bin/security/vip/submit_batch_del_job 接口的响应。</para> | ||
/// </summary> | ||
public class CgibinSecurityVipSubmitBatchDeleteJobResponse : WechatWorkResponse | ||
{ | ||
/// <summary> | ||
/// 获取或设置任务 ID。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("jobid")] | ||
[System.Text.Json.Serialization.JsonPropertyName("jobid")] | ||
public string JobId { get; set; } = default!; | ||
|
||
/// <summary> | ||
/// 获取或设置成员账号列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("invalid_userid_list")] | ||
[System.Text.Json.Serialization.JsonPropertyName("invalid_userid_list")] | ||
public string[]? InvalidUserIdList { get; set; } | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
....UnitTests/ModelSamples/CgibinSecurity/Vip/CgibinSecurityVipBatchAddJobResultRequest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"jobid": "xxx" | ||
} |
8 changes: 8 additions & 0 deletions
8
...UnitTests/ModelSamples/CgibinSecurity/Vip/CgibinSecurityVipBatchAddJobResultResponse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"errcode": 0, | ||
"errmsg": "ok", | ||
"job_result": { | ||
"succ_userid_list": [ "zhangsan", "lisi" ], | ||
"fail_userid_list": [ "wangwu" ] | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
...itTests/ModelSamples/CgibinSecurity/Vip/CgibinSecurityVipBatchDeleteJobResultRequest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"jobid": "xxx" | ||
} |
Oops, something went wrong.