using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiIndustryUserGetResponse. /// public class OapiIndustryUserGetResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 员工信息 /// [XmlElement("result")] public OpenIndustryEmpDomain Result { get; set; } /// /// 是否成功 /// [XmlElement("success")] public bool Success { get; set; } /// /// OpenRoleDomain Data Structure. /// [Serializable] public class OpenRoleDomain : TopObject { /// /// 标签ID /// [XmlElement("id")] public long Id { get; set; } /// /// 标签名称 /// [XmlElement("name")] public string Name { get; set; } } /// /// OpenIndustryEmpDomain Data Structure. /// [Serializable] public class OpenIndustryEmpDomain : TopObject { /// /// 员工特征 /// [XmlElement("feature")] public string Feature { get; set; } /// /// 员工名字 /// [XmlElement("name")] public string Name { get; set; } /// /// 员工角色列表 /// [XmlArray("roles")] [XmlArrayItem("open_role")] public List Roles { get; set; } /// /// unionId /// [XmlElement("unionid")] public string Unionid { get; set; } } } }