using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// CorpCalendarCreateResponse. /// public class CorpCalendarCreateResponse : DingTalkResponse { /// /// result /// [XmlElement("result")] public DingOpenResultDomain Result { get; set; } /// /// CorpCalendarCreateResultDomain Data Structure. /// [Serializable] public class CorpCalendarCreateResultDomain : TopObject { /// /// dingtalkCalendarId /// [XmlElement("dingtalk_calendar_id")] public string DingtalkCalendarId { get; set; } /// /// invalidUser /// [XmlArray("invalid_userids")] [XmlArrayItem("string")] public List InvalidUserids { 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("result")] public CorpCalendarCreateResultDomain Result { get; set; } /// /// 创建结果 /// [XmlElement("success")] public bool Success { get; set; } } } }