using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiLiveQueryResponse.
///
public class OapiLiveQueryResponse : DingTalkResponse
{
///
/// 错误码
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// 错误描述
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// 直播查询响应model
///
[XmlElement("result")]
public GetDetailRespModelDomain Result { get; set; }
///
/// LiveUrlExtModelDomain Data Structure.
///
[Serializable]
public class LiveUrlExtModelDomain : TopObject
{
///
/// 播放地址flv,超清-720p
///
[XmlElement("live_url_high")]
public string LiveUrlHigh { get; set; }
///
/// 播放地址flv,标清-360p
///
[XmlElement("live_url_low")]
public string LiveUrlLow { get; set; }
///
/// 播放地址flv,高清-480p
///
[XmlElement("live_url_normal")]
public string LiveUrlNormal { get; set; }
///
/// 播放地址flv,极速
///
[XmlElement("live_url_ultra_low")]
public string LiveUrlUltraLow { get; set; }
///
/// 播放地址flv,流畅
///
[XmlElement("live_url_very_low")]
public string LiveUrlVeryLow { get; set; }
}
///
/// GetDetailRespModelDomain Data Structure.
///
[Serializable]
public class GetDetailRespModelDomain : TopObject
{
///
/// 预约直播时间
///
[XmlElement("appointment_time")]
public string AppointmentTime { get; set; }
///
/// 直播计划开始时间
///
[XmlElement("appt_begin_time")]
public string ApptBeginTime { get; set; }
///
/// 直播计划结束时间
///
[XmlElement("appt_end_time")]
public string ApptEndTime { get; set; }
///
/// 封面图,16:9长宽比
///
[XmlElement("cover_url")]
public string CoverUrl { get; set; }
///
/// 直播结束时间
///
[XmlElement("end_time")]
public string EndTime { get; set; }
///
/// 推流地址
///
[XmlElement("input_stream_url")]
public string InputStreamUrl { get; set; }
///
/// 简介
///
[XmlElement("intro")]
public string Intro { get; set; }
///
/// 横竖屏:false 竖屏, true 横屏(默认)
///
[XmlElement("land_scape")]
public bool LandScape { get; set; }
///
/// 原始直播地址
///
[XmlElement("live_url")]
public string LiveUrl { get; set; }
///
/// 转码直播地址
///
[XmlElement("live_url_ext")]
public LiveUrlExtModelDomain LiveUrlExt { get; set; }
///
/// 原始HLS直播地址
///
[XmlElement("live_url_hls")]
public string LiveUrlHls { get; set; }
///
/// 直播回放地址
///
[XmlElement("playback_url")]
public string PlaybackUrl { get; set; }
///
/// 预告视频Url
///
[XmlElement("pre_video_play_url")]
public string PreVideoPlayUrl { get; set; }
///
/// 直播可观看类型类型:false 受限制的直播, true 公开的直播(默认)
///
[XmlElement("shared")]
public bool Shared { get; set; }
///
/// 直播开始时间
///
[XmlElement("start_time")]
public string StartTime { get; set; }
///
/// 直播间状态:0 预告, 1 直播中, 2 直播结束
///
[XmlElement("status")]
public long Status { get; set; }
///
/// 直播时长
///
[XmlElement("time_length")]
public long TimeLength { get; set; }
///
/// 标题
///
[XmlElement("title")]
public string Title { get; set; }
///
/// 总共参加人数,UV
///
[XmlElement("total_join_count")]
public long TotalJoinCount { get; set; }
///
/// 总共访问次数,PV
///
[XmlElement("total_view_count")]
public long TotalViewCount { get; set; }
///
/// 别名
///
[XmlElement("user_nick")]
public string UserNick { get; set; }
///
/// 主播ID
///
[XmlElement("userid")]
public string Userid { get; set; }
///
/// 直播UUID
///
[XmlElement("uuid")]
public string Uuid { get; set; }
}
}
}