using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// CorpDingCreateResponse. /// public class CorpDingCreateResponse : DingTalkResponse { /// /// result /// [XmlElement("result")] public DingOpenResultDomain Result { get; set; } /// /// CorpDingCreateResultDomain Data Structure. /// [Serializable] public class CorpDingCreateResultDomain : TopObject { /// /// invalidUser /// [XmlArray("invalid_users")] [XmlArrayItem("string")] public List InvalidUsers { get; set; } /// /// openDingId /// [XmlElement("open_ding_id")] public string OpenDingId { 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; } /// /// 返回结果 /// [XmlElement("result")] public CorpDingCreateResultDomain Result { get; set; } /// /// 调用结果 /// [XmlElement("success")] public bool Success { get; set; } } } }