mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
feat(work): 随官方更新文档收集表相关接口模型
This commit is contained in:
parent
858d84f110
commit
fb58d4ca32
@ -54,7 +54,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
public class Value
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置 Text 控件文本值。
|
||||
/// 获取或设置 TextSettings 控件文本值。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("text")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("text")]
|
||||
|
@ -133,7 +133,7 @@
|
||||
public class Value
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置 Text 控件文本值。
|
||||
/// 获取或设置 TextSettings 控件文本值。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("text")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("text")]
|
||||
|
@ -36,7 +36,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
public class Value
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置 Text 控件文本值。
|
||||
/// 获取或设置 TextSettings 控件文本值。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("text")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("text")]
|
||||
|
@ -50,6 +50,327 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
||||
public int Status { get; set; }
|
||||
}
|
||||
|
||||
public class ExtendedSettings
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class TextSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置校验类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("validation_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("validation_type")]
|
||||
public int? ValidationType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置校验详情类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("validation_detail")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("validation_detail")]
|
||||
public int? ValidationDetailType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置字符长度。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("char_len")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("char_len")]
|
||||
public int? CharacterLength { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置数字的区间左端。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("number_min")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("number_min")]
|
||||
public double? NumberMinimum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置数字的区间右端。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("number_max")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("number_max")]
|
||||
public double? NumberMaximum { get; set; }
|
||||
}
|
||||
|
||||
public class RadioSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置是否增加“其他”选项。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("add_other_option")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("add_other_option")]
|
||||
public bool? RequireAddOtherOption { get; set; }
|
||||
}
|
||||
|
||||
public class CheckboxSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置是否增加“其他”选项。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("add_other_option")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("add_other_option")]
|
||||
public bool? RequireAddOtherOption { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置多选类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("type")]
|
||||
public int? Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置多选题可勾选的数量的限制。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("number")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("number")]
|
||||
public int? Count { get; set; }
|
||||
}
|
||||
|
||||
public class LocationSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置位置类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("location_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("location_type")]
|
||||
public int? LocationType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置允许定位范围类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("distance_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("distance_type")]
|
||||
public int? DistanceType { get; set; }
|
||||
}
|
||||
|
||||
public class ImageSettings
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class UploadLimitation
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置数量限制类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("count_limit_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("count_limit_type")]
|
||||
public int? CountLimitType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置数量限制。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("count")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("count")]
|
||||
public int? Count { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置单个文件大小限制(单位:字节)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("max_size")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("max_size")]
|
||||
public int? MaxSize { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否仅限手机拍照。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("camera_only")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("camera_only")]
|
||||
public bool? IsCameraOnly { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置上传限制信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("upload_image_limit")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("upload_image_limit")]
|
||||
public Types.UploadLimitation? UploadLimitation { get; set; }
|
||||
}
|
||||
|
||||
public class FileSettings
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class UploadLimitation : ImageSettings.Types.UploadLimitation
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否仅限手机拍照。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("camera_only")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("camera_only")]
|
||||
public bool? IsCameraOnly { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置上传限制信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("upload_image_limit")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("upload_image_limit")]
|
||||
public Types.UploadLimitation? UploadLimitation { get; set; }
|
||||
}
|
||||
|
||||
public class DateSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置日期格式类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("date_format_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("date_format_type")]
|
||||
public int? DateFormatType { get; set; }
|
||||
}
|
||||
|
||||
public class TimeSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置时间格式类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("time_format_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("time_format_type")]
|
||||
public int? TimeFormatType { get; set; }
|
||||
}
|
||||
|
||||
public class DurationSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置时间刻度。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("time_scale")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("time_scale")]
|
||||
public int? TimeScale { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置日期类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("date_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("date_type")]
|
||||
public int? DateType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置单位换算。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("day_range")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("day_range")]
|
||||
public int? DayRange { get; set; }
|
||||
}
|
||||
|
||||
public class TemperatureSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置温度单位类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("unit_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("unit_type")]
|
||||
public int? UnitType { get; set; }
|
||||
}
|
||||
|
||||
public class DepartmentSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置是否允许多选。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("allow_multiple_selection")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("allow_multiple_selection")]
|
||||
public bool? AllowMultipleSelection { get; set; }
|
||||
}
|
||||
|
||||
public class MemberSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置是否允许多选。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("allow_multiple_selection")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("allow_multiple_selection")]
|
||||
public bool? AllowMultipleSelection { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置文本题的题目设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("text_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("text_setting")]
|
||||
public Types.TextSettings? TextSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置单选题的题目设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("radio_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("radio_setting")]
|
||||
public Types.RadioSettings? RadioSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置多选题的题目设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("checkbox_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("checkbox_setting")]
|
||||
public Types.CheckboxSettings? CheckboxSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置位置题的题目设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("location_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("location_setting")]
|
||||
public Types.LocationSettings? LocationSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置图片题的题目设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("image_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("image_setting")]
|
||||
public Types.ImageSettings? ImageSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置文件题的题目设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("file_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("file_setting")]
|
||||
public Types.FileSettings? FileSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置日期题的题目设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("date_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("date_setting")]
|
||||
public Types.DateSettings? DateSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置时间题的题目设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("time_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("time_setting")]
|
||||
public Types.TimeSettings? TimeSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置时长题的题目设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("duration_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("duration_setting")]
|
||||
public Types.DurationSettings? DurationSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置体温题的题目设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("temperature_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("temperature_setting")]
|
||||
public Types.TemperatureSettings? TemperatureSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置部门题的题目设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("department_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("department_setting")]
|
||||
public Types.DepartmentSettings? DepartmentSettings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置成员题的题目设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("member_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("member_setting")]
|
||||
public Types.MemberSettings? MemberSettings { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -114,6 +435,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[Newtonsoft.Json.JsonProperty("placeholder")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("placeholder")]
|
||||
public string? Placeholder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置问题的额外设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("question_extend_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("question_extend_setting")]
|
||||
public Types.ExtendedSettings? ExtendedSettings { get; set; }
|
||||
}
|
||||
|
||||
public class Settings
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/wedoc/get_form_answer 接口的响应。</para>
|
||||
@ -35,7 +35,7 @@
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class ExtendedFileReply
|
||||
public class FileReply
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置文件 ID。
|
||||
@ -52,7 +52,7 @@
|
||||
public string Name { get; set; } = default!;
|
||||
}
|
||||
|
||||
public class ExtendedOptionReply
|
||||
public class OptionReply
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置额外回答选项键。
|
||||
@ -68,6 +68,97 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("extend_text")]
|
||||
public string Text { get; set; } = default!;
|
||||
}
|
||||
|
||||
public class DurationReply
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置开始时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("begin_time")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("begin_time")]
|
||||
public long BeginTimestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置结束时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("end_time")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("end_time")]
|
||||
public long EndTimestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置时间刻度。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("time_scale")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("time_scale")]
|
||||
public int TimeScale { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置单位换算。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("day_range")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("day_range")]
|
||||
public int DayRange { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置天数。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("days")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("days")]
|
||||
public double? Days { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小时数。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("hours")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("hours")]
|
||||
public double? Hours { get; set; }
|
||||
}
|
||||
|
||||
public class DepartmentReply
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Department
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置部门 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("department_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("department_id")]
|
||||
public long DepartmentId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置部门列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("list")]
|
||||
public Types.Department[] DepartmentList { get; set; } = default!;
|
||||
}
|
||||
|
||||
public class MemberReply
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Member
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置成员账号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("userid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("userid")]
|
||||
public string UserId { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置成员列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("list")]
|
||||
public Types.Member[] MemberList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -82,28 +173,49 @@
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("text_reply")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("text_reply")]
|
||||
public string? ReplyText { get; set; }
|
||||
public string? TextReply { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置回答选项键列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("option_reply")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("option_reply")]
|
||||
public int[]? ReplyOptionKeyList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置回答文件列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("file_extend_reply")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("file_extend_reply")]
|
||||
public Types.ExtendedFileReply[]? ReplyExtendedFileReply { get; set; }
|
||||
public int[]? OptionReplyKeyList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置回答额外选项列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("option_extend_reply")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("option_extend_reply")]
|
||||
public Types.ExtendedOptionReply[]? ReplyExtendedOptionList { get; set; }
|
||||
public Types.OptionReply[]? OptionReplyList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置回答文件列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("file_extend_reply")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("file_extend_reply")]
|
||||
public Types.FileReply[]? FileReply { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置回答时长信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("duration_reply")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("duration_reply")]
|
||||
public Types.DurationReply? DurationReply { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置回答部门信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("department_reply")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("department_reply")]
|
||||
public Types.DepartmentReply? DepartmentReply { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置回答成员信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("member_reply")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("member_reply")]
|
||||
public Types.MemberReply? MemberReply { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/wedoc/get_form_info 接口的响应。</para>
|
||||
@ -48,6 +48,10 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
||||
public int Status { get; set; }
|
||||
}
|
||||
|
||||
public class ExtendedSettings : CgibinWedocCreateFormRequest.Types.Form.Types.QuestionItem.Types.ExtendedSettings
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -112,6 +116,13 @@
|
||||
[Newtonsoft.Json.JsonProperty("placeholder")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("placeholder")]
|
||||
public string? Placeholder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置问题的额外设置。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("question_extend_setting")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("question_extend_setting")]
|
||||
public Types.ExtendedSettings? ExtendedSettings { get; set; }
|
||||
}
|
||||
|
||||
public class Settings
|
||||
|
@ -56,6 +56,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置填写范围信息。
|
||||
/// </summary>
|
||||
|
@ -22,7 +22,8 @@
|
||||
"status": 1
|
||||
}
|
||||
],
|
||||
"placeholder": "PLACEHOLDER"
|
||||
"placeholder": "PLACEHOLDER",
|
||||
"question_extend_setting": {}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"answer": {
|
||||
@ -16,7 +16,9 @@
|
||||
},
|
||||
{
|
||||
"question_id": 2,
|
||||
"option_reply": [2]
|
||||
"option_reply": [
|
||||
2
|
||||
]
|
||||
},
|
||||
{
|
||||
"question_id": 3,
|
||||
@ -45,7 +47,9 @@
|
||||
},
|
||||
{
|
||||
"question_id": 8,
|
||||
"option_reply": [1]
|
||||
"option_reply": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"question_id": 9,
|
||||
@ -53,17 +57,52 @@
|
||||
},
|
||||
{
|
||||
"question_id": 10,
|
||||
"option_reply": [5]
|
||||
"option_reply": [
|
||||
5
|
||||
]
|
||||
},
|
||||
{
|
||||
"question_id": 11,
|
||||
"option_reply": [3],
|
||||
"option_reply": [
|
||||
3
|
||||
],
|
||||
"option_extend_reply": [
|
||||
{
|
||||
"option_reply": 3,
|
||||
"extend_text": "test"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question_id": 12,
|
||||
"department_reply": {
|
||||
"list": [
|
||||
{
|
||||
"department_id": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"question_id": 13,
|
||||
"member_reply": {
|
||||
"list": [
|
||||
{
|
||||
"userid": "zhangsan"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"question_id": 14,
|
||||
"duration_reply": {
|
||||
"begin_time": 1586136317,
|
||||
"end_time": 1586236317,
|
||||
"time_scale": 0,
|
||||
"day_range": 0,
|
||||
"days": 1.0,
|
||||
"hours": 2.5
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"form_info": {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
{
|
||||
"oper": 1,
|
||||
"formid": "FORMID",
|
||||
"form_info": {
|
||||
@ -22,7 +22,8 @@
|
||||
"status": 1
|
||||
}
|
||||
],
|
||||
"placeholder": "PLACEHOLDER"
|
||||
"placeholder": "PLACEHOLDER",
|
||||
"question_extend_setting": {}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user