using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiSmartworkHrmSmsSendforpayslipResponse. /// public class OapiSmartworkHrmSmsSendforpayslipResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 是否成功 /// [XmlElement("result")] public SendSmsMessageResultDomain Result { get; set; } /// /// 调用结果 /// [XmlElement("success")] public bool Success { get; set; } /// /// SendSmsMessageResultDomain Data Structure. /// [Serializable] public class SendSmsMessageResultDomain : TopObject { /// /// 失败的userids /// [XmlArray("failed_userid_list")] [XmlArrayItem("string")] public List FailedUseridList { get; set; } /// /// 无效的userids /// [XmlArray("invalid_userid_list")] [XmlArrayItem("string")] public List InvalidUseridList { get; set; } /// /// 成功的userids /// [XmlArray("success_userid_list")] [XmlArrayItem("string")] public List SuccessUseridList { get; set; } } } }