using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiKacOpenliveRecordListResponse.
///
public class OapiKacOpenliveRecordListResponse : DingTalkResponse
{
///
/// 错误代码
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// 错误信息
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// 结果集合
///
[XmlElement("result")]
public ResultListDomain Result { get; set; }
///
/// 是否调用成功
///
[XmlElement("success")]
public bool Success { get; set; }
///
/// ListOpenLiveRecordRspModelDomain Data Structure.
///
[Serializable]
public class ListOpenLiveRecordRspModelDomain : TopObject
{
///
/// 直播ID
///
[XmlElement("live_id")]
public string LiveId { get; set; }
///
/// 直播观看链接
///
[XmlElement("live_link")]
public string LiveLink { get; set; }
///
/// 公开类型 0: 不公开; 1: 完全公开; 2:组织内公开
///
[XmlElement("public_type")]
public long PublicType { get; set; }
///
/// 预约开始时间戳
///
[XmlElement("start_time")]
public long StartTime { get; set; }
///
/// 直播状态:init: 未开播, living: 直播中,end: 直播已结束
///
[XmlElement("status")]
public string Status { get; set; }
///
/// 直播标题
///
[XmlElement("title")]
public string Title { get; set; }
}
///
/// ResultListDomain Data Structure.
///
[Serializable]
public class ResultListDomain : TopObject
{
///
/// 直播总数
///
[XmlElement("total_cnt")]
public long TotalCnt { get; set; }
///
/// 集合子对象
///
[XmlArray("values")]
[XmlArrayItem("list_open_live_record_rsp_model")]
public List Values { get; set; }
}
}
}