using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// CorpReportListResponse. /// public class CorpReportListResponse : DingTalkResponse { /// /// result /// [XmlElement("result")] public DingOpenResultDomain Result { get; set; } /// /// JsonObjectDomain Data Structure. /// [Serializable] public class JsonObjectDomain : TopObject { /// /// 模板内容 /// [XmlElement("key")] public string Key { get; set; } /// /// 排序 /// [XmlElement("sort")] public string Sort { get; set; } /// /// 类型 /// [XmlElement("type")] public string Type { get; set; } /// /// 用户填写的内容 /// [XmlElement("value")] public string Value { get; set; } } /// /// ReportOapiVoDomain Data Structure. /// [Serializable] public class ReportOapiVoDomain : TopObject { /// /// 日志内容 /// [XmlArray("contents")] [XmlArrayItem("json_object")] public List Contents { get; set; } /// /// 日志创建时间 /// [XmlElement("create_time")] public long CreateTime { get; set; } /// /// 日志创建人userid /// [XmlElement("creator_id")] public string CreatorId { get; set; } /// /// 日志创建人 /// [XmlElement("creator_name")] public string CreatorName { get; set; } /// /// 部门 /// [XmlElement("dept_name")] public string DeptName { get; set; } /// /// 备注 /// [XmlElement("remark")] public string Remark { get; set; } /// /// 日志唯一id /// [XmlElement("report_id")] public string ReportId { get; set; } /// /// 日志模板名 /// [XmlElement("template_name")] public string TemplateName { get; set; } } /// /// PageVoDomain Data Structure. /// [Serializable] public class PageVoDomain : TopObject { /// /// 日志列表 /// [XmlArray("data_list")] [XmlArrayItem("report_oapi_vo")] public List DataList { get; set; } /// /// 是否还有下一页 /// [XmlElement("has_more")] public bool HasMore { get; set; } /// /// nextCursor /// [XmlElement("next_cursor")] public long NextCursor { get; set; } /// /// 分页大小 /// [XmlElement("size")] public long Size { get; set; } } /// /// DingOpenResultDomain Data Structure. /// [Serializable] public class DingOpenResultDomain : TopObject { /// /// dingOpenErrcode /// [XmlElement("ding_open_errcode")] public long DingOpenErrcode { get; set; } /// /// errorMsg /// [XmlElement("error_msg")] public string ErrorMsg { get; set; } /// /// result /// [XmlElement("result")] public PageVoDomain Result { get; set; } /// /// success /// [XmlElement("success")] public bool Success { get; set; } } } }