using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiUserGetbyunionidResponse. /// public class OapiUserGetbyunionidResponse : DingTalkResponse { /// /// 错误码。0代表成功。 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息。 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 返回结果 /// [XmlElement("result")] public UserGetByUnionIdResponseDomain Result { get; set; } /// /// UserGetByUnionIdResponseDomain Data Structure. /// [Serializable] public class UserGetByUnionIdResponseDomain : TopObject { /// /// 联系类型,0 企业内部员工 1 企业外部联系人 /// [XmlElement("contact_type")] public long ContactType { get; set; } /// /// 用户id /// [XmlElement("userid")] public string Userid { get; set; } } } }