using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiLiveCreateResponse. /// public class OapiLiveCreateResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误描述 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 直播创建响应model /// [XmlElement("result")] public CreateLiveRespModelDomain 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; } } /// /// CreateLiveRespModelDomain Data Structure. /// [Serializable] public class CreateLiveRespModelDomain : TopObject { /// /// 预约直播时间 /// [XmlElement("appointment_time")] public string AppointmentTime { get; set; } /// /// 推流地址 /// [XmlElement("input_stream_url")] public string InputStreamUrl { 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; } /// /// 直播UUID /// [XmlElement("uuid")] public string Uuid { get; set; } } } }