using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiLiveGroupliveViewrecordResponse. /// public class OapiLiveGroupliveViewrecordResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 返回结果 /// [XmlElement("result")] public QueryLiveViewRecordDetailDomain Result { get; set; } /// /// UserViewRecordDetailModelListDomain Data Structure. /// [Serializable] public class UserViewRecordDetailModelListDomain : TopObject { /// /// 开始观看时间戳 /// [XmlElement("live_begin_unix_time")] public long LiveBeginUnixTime { get; set; } /// /// 结束观看时间戳 /// [XmlElement("live_end_unix_time")] public long LiveEndUnixTime { get; set; } /// /// 用户id /// [XmlElement("user_id")] public string UserId { get; set; } /// /// 用户名 /// [XmlElement("user_name")] public string UserName { get; set; } /// /// 0:直播 1:回放 /// [XmlElement("view_type")] public long ViewType { get; set; } /// /// 观看时长,单位s /// [XmlElement("watch_time_second")] public long WatchTimeSecond { get; set; } } /// /// QueryLiveViewRecordDetailDomain Data Structure. /// [Serializable] public class QueryLiveViewRecordDetailDomain : TopObject { /// /// 部门id /// [XmlElement("dept_id")] public long DeptId { get; set; } /// /// 群名称 /// [XmlElement("group_name")] public string GroupName { get; set; } /// /// 是否分页拉取完成,true:完成 /// [XmlElement("has_more")] public bool HasMore { get; set; } /// /// 直播uuid /// [XmlElement("live_uuid")] public string LiveUuid { get; set; } /// /// 用户观看记录 /// [XmlArray("record_list")] [XmlArrayItem("user_view_record_detail_model_list")] public List RecordList { get; set; } /// /// 直播标题 /// [XmlElement("title")] public string Title { get; set; } } } }