using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiLiveGroupliveListbytimeResponse. /// public class OapiLiveGroupliveListbytimeResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误描述 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 直播列表 /// [XmlArray("result")] [XmlArrayItem("group_live_list_result")] public List Result { get; set; } /// /// GroupLiveListResultDomain Data Structure. /// [Serializable] public class GroupLiveListResultDomain : TopObject { /// /// 直播时长 /// [XmlElement("duration")] public long Duration { get; set; } /// /// 直播id /// [XmlElement("live_uuid")] public string LiveUuid { get; set; } /// /// true为被联播群,false为主群 /// [XmlElement("share_from")] public bool ShareFrom { get; set; } /// /// 直播开始时间 /// [XmlElement("start_time")] public long StartTime { get; set; } /// /// 直播标题 /// [XmlElement("title")] public string Title { get; set; } /// /// 主播userId /// [XmlElement("userid")] public string Userid { get; set; } } } }