using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiUserGetResponse. /// public class OapiUserGetResponse : DingTalkResponse { /// /// active /// [XmlElement("active")] public bool Active { get; set; } /// /// associatedUnionId /// [XmlElement("associatedUnionId")] public string AssociatedUnionId { get; set; } /// /// avatar /// [XmlElement("avatar")] public string Avatar { get; set; } /// /// department /// [XmlArray("department")] [XmlArrayItem("number")] public List Department { get; set; } /// /// dingId /// [XmlElement("dingId")] public string DingId { get; set; } /// /// email /// [XmlElement("email")] public string Email { get; set; } /// /// errcode /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// errmsg /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// extattr /// [XmlElement("extattr")] public string Extattr { get; set; } /// /// hiredDate /// [XmlElement("hiredDate")] public string HiredDate { get; set; } /// /// inviteMobile /// [XmlElement("inviteMobile")] public string InviteMobile { get; set; } /// /// isAdmin /// [XmlElement("isAdmin")] public bool IsAdmin { get; set; } /// /// isBoss /// [XmlElement("isBoss")] public bool IsBoss { get; set; } /// /// isCustomizedPortal /// [XmlElement("isCustomizedPortal")] public bool IsCustomizedPortal { get; set; } /// /// isHide /// [XmlElement("isHide")] public bool IsHide { get; set; } /// /// isLeaderInDepts /// [XmlElement("isLeaderInDepts")] public string IsLeaderInDepts { get; set; } /// /// isLimited /// [XmlElement("isLimited")] public bool IsLimited { get; set; } /// /// isSenior /// [XmlElement("isSenior")] public bool IsSenior { get; set; } /// /// jobnumber /// [XmlElement("jobnumber")] public string Jobnumber { get; set; } /// /// mana /// [XmlElement("managerUserId")] public string ManagerUserId { get; set; } /// /// memberView /// [XmlElement("memberView")] public bool MemberView { get; set; } /// /// mobile /// [XmlElement("mobile")] public string Mobile { get; set; } /// /// mobileHash /// [XmlElement("mobileHash")] public string MobileHash { get; set; } /// /// name /// [XmlElement("name")] public string Name { get; set; } /// /// nickname /// [XmlElement("nickname")] public string Nickname { get; set; } /// /// openId /// [XmlElement("openId")] public string OpenId { get; set; } /// /// orderInDepts /// [XmlElement("orderInDepts")] public string OrderInDepts { get; set; } /// /// orgEmail /// [XmlElement("orgEmail")] public string OrgEmail { get; set; } /// /// position /// [XmlElement("position")] public string Position { get; set; } /// /// realAuthed /// [XmlElement("realAuthed")] public bool RealAuthed { get; set; } /// /// remark /// [XmlElement("remark")] public string Remark { get; set; } /// /// roles /// [XmlArray("roles")] [XmlArrayItem("roles")] public List Roles { get; set; } /// /// stateCode /// [XmlElement("stateCode")] public string StateCode { get; set; } /// /// tel /// [XmlElement("tel")] public string Tel { get; set; } /// /// unionid /// [XmlElement("unionid")] public string Unionid { get; set; } /// /// userid /// [XmlElement("userid")] public string Userid { get; set; } /// /// workPlace /// [XmlElement("workPlace")] public string WorkPlace { get; set; } /// /// RolesDomain Data Structure. /// [Serializable] public class RolesDomain : TopObject { /// /// groupName /// [XmlElement("groupName")] public string GroupName { get; set; } /// /// id /// [XmlElement("id")] public long Id { get; set; } /// /// name /// [XmlElement("name")] public string Name { get; set; } /// /// type /// [XmlElement("type")] public long Type { get; set; } } } }