using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiDingmiRobotGetResponse. /// public class OapiDingmiRobotGetResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误MSG /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 机器人结果json /// [XmlElement("result")] public CustomCrowdRobotDTODomain Result { get; set; } /// /// 服务调用结果 /// [XmlElement("success")] public bool Success { get; set; } /// /// CustomCrowdRobotDTODomain Data Structure. /// [Serializable] public class CustomCrowdRobotDTODomain : TopObject { /// /// 应用appid /// [XmlElement("app_id")] public string AppId { get; set; } /// /// 描述 /// [XmlElement("brief")] public string Brief { get; set; } /// /// 机器人ID /// [XmlElement("chat_bolt_id")] public string ChatBoltId { get; set; } /// /// 机器人描述 /// [XmlElement("description")] public string Description { get; set; } /// /// 头像URL /// [XmlElement("icon_url")] public string IconUrl { get; set; } /// /// 机器人名称 /// [XmlElement("name")] public string Name { get; set; } /// /// 预览URL /// [XmlElement("preview_media_url")] public string PreviewMediaUrl { get; set; } } } }