using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiLiveGroupliveStatisticsResponse. /// public class OapiLiveGroupliveStatisticsResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误描述 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 返回结果 /// [XmlElement("result")] public GroupLiveStatisticsDomain Result { get; set; } /// /// GroupliveviewersDomain Data Structure. /// [Serializable] public class GroupliveviewersDomain : TopObject { /// /// openid /// [XmlElement("open_id")] public long OpenId { get; set; } /// /// 直播时长 /// [XmlElement("play_duration")] public long PlayDuration { get; set; } /// /// 回放时长 /// [XmlElement("play_record_duration")] public long PlayRecordDuration { get; set; } } /// /// GroupLiveStatisticsDomain Data Structure. /// [Serializable] public class GroupLiveStatisticsDomain : TopObject { /// /// 观看列表 /// [XmlArray("group_live_viewers")] [XmlArrayItem("groupliveviewers")] public List GroupLiveViewers { get; set; } /// /// 直播总时长 /// [XmlElement("live_duration")] public long LiveDuration { get; set; } /// /// 消息 /// [XmlElement("message_count")] public long MessageCount { get; set; } /// /// 点赞 /// [XmlElement("praise_count")] public long PraiseCount { get; set; } /// /// pv /// [XmlElement("pv")] public long Pv { get; set; } /// /// 开始时间 /// [XmlElement("start_sime")] public long StartSime { get; set; } /// /// 直播标题 /// [XmlElement("title")] public string Title { get; set; } /// /// 未看数 /// [XmlElement("unviewed_count")] public long UnviewedCount { get; set; } /// /// 已看 /// [XmlElement("viewer_count")] public long ViewerCount { get; set; } } } }