using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiImpaasUserGetprofileResponse.
///
public class OapiImpaasUserGetprofileResponse : DingTalkResponse
{
///
/// 错误码 -1 系统异常 40035 参数错误 400023 用户不存在
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// errorMsg
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// 用户属性
///
[XmlElement("result")]
public GetProfileRespDomain Result { get; set; }
///
/// 接口是否调用成功
///
[XmlElement("success")]
public bool Success { get; set; }
///
/// GetProfileRespDomain Data Structure.
///
[Serializable]
public class GetProfileRespDomain : TopObject
{
///
/// 业务方的唯一id
///
[XmlElement("app_userid")]
public string AppUserid { get; set; }
///
/// 头像的mediaid
///
[XmlElement("avatar_mediaid")]
public string AvatarMediaid { get; set; }
///
/// 业务方渠道ID
///
[XmlElement("channel")]
public string Channel { get; set; }
///
/// 附件信息
///
[XmlElement("extension")]
public string Extension { get; set; }
///
/// im的唯一id
///
[XmlElement("im_openid")]
public string ImOpenid { get; set; }
///
/// 昵称
///
[XmlElement("nick")]
public string Nick { get; set; }
///
/// 用户状态 1 未激活 2 已激活 3 已注销
///
[XmlElement("status")]
public long Status { get; set; }
}
}
}