using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiCollectionFormGetResponse. /// public class OapiCollectionFormGetResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 结果 /// [XmlElement("result")] public PageResultDomain Result { get; set; } /// /// ProcessVisibleValueVoDomain Data Structure. /// [Serializable] public class ProcessVisibleValueVoDomain : TopObject { /// /// 可见性类型 0部门 1人员 2角色 3群组cid /// [XmlElement("type")] public long Type { get; set; } /// /// 值 /// [XmlElement("value")] public string Value { get; set; } } /// /// FormSchemaSettingVoDomain Data Structure. /// [Serializable] public class FormSchemaSettingVoDomain : TopObject { /// /// 表单类型 /// [XmlElement("biz_type")] public long BizType { get; set; } /// /// 创建时间 /// [XmlElement("create_time")] public string CreateTime { get; set; } /// /// 填表截止时间 /// [XmlElement("end_time")] public string EndTime { get; set; } /// /// 是否循环填表 /// [XmlElement("form_type")] public long FormType { get; set; } /// /// 填表周期,周一到周日分别用1-7表示 /// [XmlArray("loop_days")] [XmlArrayItem("number")] public List LoopDays { get; set; } /// /// 填表时间 /// [XmlElement("loop_time")] public string LoopTime { get; set; } /// /// 应填人数 /// [XmlElement("should_participation_cnt")] public long ShouldParticipationCnt { get; set; } /// /// 填表是否终止的标记 /// [XmlElement("stop")] public bool Stop { get; set; } } /// /// PageResultDomain Data Structure. /// [Serializable] public class PageResultDomain : TopObject { /// /// schema /// [XmlElement("content")] public string Content { get; set; } /// /// 创建人 /// [XmlElement("creator")] public string Creator { get; set; } /// /// 填表提示 /// [XmlElement("memo")] public string Memo { get; set; } /// /// 填表名称 /// [XmlElement("name")] public string Name { get; set; } /// /// 设置 /// [XmlElement("setting")] public FormSchemaSettingVoDomain Setting { get; set; } /// /// 应参与人数 /// [XmlElement("should_participation_cnt")] public long ShouldParticipationCnt { get; set; } /// /// 发送范围 /// [XmlArray("visible_list")] [XmlArrayItem("process_visible_value_vo")] public List VisibleList { get; set; } } } }