using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiEduHomeworkUserCourseQueryResponse. /// public class OapiEduHomeworkUserCourseQueryResponse : DingTalkResponse { /// /// 错误编码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 返回结果 /// [XmlElement("result")] public ResultDomain Result { get; set; } /// /// 是否成功 /// [XmlElement("success")] public bool Success { get; set; } /// /// TemplateContentDtoDomain Data Structure. /// [Serializable] public class TemplateContentDtoDomain : TopObject { /// /// 图片 /// [XmlElement("photo")] public string Photo { get; set; } /// /// 标题 /// [XmlElement("title")] public string Title { get; set; } } /// /// ResultDomain Data Structure. /// [Serializable] public class ResultDomain : TopObject { /// /// 科目内容详情 /// [XmlArray("contents")] [XmlArrayItem("template_content_dto")] public List Contents { get; set; } } } }