using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiServiceaccountGetResponse.
///
public class OapiServiceaccountGetResponse : DingTalkResponse
{
///
/// 错误码
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// 错误信息
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// 服务号详情
///
[XmlElement("service_account")]
public ServiceAccountDTODomain ServiceAccount { get; set; }
///
/// ServiceAccountDTODomain Data Structure.
///
[Serializable]
public class ServiceAccountDTODomain : TopObject
{
///
/// 头像图片mediaId
///
[XmlElement("avatar_media_id")]
public string AvatarMediaId { get; set; }
///
/// 机器人管理列表中的简介,最多60个字符
///
[XmlElement("brief")]
public string Brief { get; set; }
///
/// 机器人id
///
[XmlElement("chat_bot_id")]
public string ChatBotId { get; set; }
///
/// 机器人主页中的服务号功能简介,最多200个字符
///
[XmlElement("desc")]
public string Desc { get; set; }
///
/// 服务号名称
///
[XmlElement("name")]
public string Name { get; set; }
///
/// 机器人主页中,消息预览图片的mediaId
///
[XmlElement("preview_media_id")]
public string PreviewMediaId { get; set; }
///
/// 状态,normal-正常,disabled-删除
///
[XmlElement("status")]
public string Status { get; set; }
///
/// 服务号的unionid
///
[XmlElement("unionid")]
public string Unionid { get; set; }
}
}
}