using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// CorpMessageCorpconversationGetsendprogressResponse. /// public class CorpMessageCorpconversationGetsendprogressResponse : DingTalkResponse { /// /// result /// [XmlElement("result")] public DingOpenResultDomain Result { get; set; } /// /// AsyncSendProgressDomain Data Structure. /// [Serializable] public class AsyncSendProgressDomain : TopObject { /// /// 取值 0-100,表示处理的百分比 /// [XmlElement("progress_in_percent")] public long ProgressInPercent { get; set; } /// /// 任务执行状态,0=未开始,1=处理中,2=处理完毕 /// [XmlElement("status")] public long Status { 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("progress")] public AsyncSendProgressDomain Progress { get; set; } /// /// success /// [XmlElement("success")] public bool Success { get; set; } } } }