using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// SmartworkBpmsProcessGetvisibleResponse. /// public class SmartworkBpmsProcessGetvisibleResponse : DingTalkResponse { /// /// 返回数据 /// [XmlElement("result")] public DingOpenResultDomain Result { get; set; } /// /// ProcessTopVoDomain Data Structure. /// [Serializable] public class ProcessTopVoDomain : TopObject { /// /// 可见的流程模板唯一标识,最多20条 /// [XmlElement("process_code")] public string ProcessCode { 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; } /// /// 返回的业务数据 /// [XmlArray("processes")] [XmlArrayItem("process_top_vo")] public List Processes { get; set; } /// /// 请求状态 /// [XmlElement("success")] public bool Success { get; set; } } } }