using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// SmartworkBpmsProcessinstanceidListResponse. /// public class SmartworkBpmsProcessinstanceidListResponse : DingTalkResponse { /// /// DingOpenResult /// [XmlElement("result")] public DingOpenResultDomain Result { get; set; } /// /// ProcessInstanceTopVoDomain Data Structure. /// [Serializable] public class ProcessInstanceTopVoDomain : TopObject { /// /// 审批实例id /// [XmlElement("process_instance_id")] public string ProcessInstanceId { get; set; } } /// /// PageResultDomain Data Structure. /// [Serializable] public class PageResultDomain : TopObject { /// /// list /// [XmlArray("list")] [XmlArrayItem("process_instance_top_vo")] public List List { get; set; } /// /// 表示下次查询的游标,当返回结果没有该字段时表示没有更多数据了 /// [XmlElement("next_cursor")] public long NextCursor { get; set; } } /// /// DingOpenResultDomain Data Structure. /// [Serializable] public class DingOpenResultDomain : TopObject { /// /// 错误码 /// [XmlElement("ding_open_errcode")] public long DingOpenErrcode { get; set; } /// /// 错误信息 /// [XmlElement("error_msg")] public string ErrorMsg { get; set; } /// /// result /// [XmlElement("result")] public PageResultDomain Result { get; set; } /// /// success /// [XmlElement("success")] public bool Success { get; set; } } } }