using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiProcessTemplateManageGetResponse. /// public class OapiProcessTemplateManageGetResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 模版对象 /// [XmlArray("result")] [XmlArrayItem("process_simple_v_o")] public List Result { get; set; } /// /// 成功 /// [XmlElement("success")] public bool Success { get; set; } /// /// ProcessSimpleVODomain Data Structure. /// [Serializable] public class ProcessSimpleVODomain : TopObject { /// /// 关联考勤类型 ,0: 无 ;1:补卡申请 ;2:请假。。。 /// [XmlElement("attendance_type")] public long AttendanceType { get; set; } /// /// 模版名 /// [XmlElement("flow_title")] public string FlowTitle { get; set; } /// /// 修改时间 /// [XmlElement("gmt_modified")] public string GmtModified { get; set; } /// /// 图标名 /// [XmlElement("icon_name")] public string IconName { get; set; } /// /// 图标地址 /// [XmlElement("icon_url")] public string IconUrl { get; set; } /// /// 是否新模版 /// [XmlElement("is_new_process")] public bool IsNewProcess { get; set; } /// /// 模版code /// [XmlElement("process_code")] public string ProcessCode { get; set; } } } }