using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiEduUserGetResponse.
///
public class OapiEduUserGetResponse : DingTalkResponse
{
///
/// 错误码
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// 错误信息
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// 人员身份详情
///
[XmlElement("result")]
public ResultDomain Result { get; set; }
///
/// 是否成功
///
[XmlElement("success")]
public bool Success { get; set; }
///
/// DetailDomain Data Structure.
///
[Serializable]
public class DetailDomain : TopObject
{
///
/// 班级id
///
[XmlElement("class_id")]
public long ClassId { get; set; }
///
/// 身份属性
///
[XmlElement("feature")]
public string Feature { get; set; }
///
/// 手机号
///
[XmlElement("mobile")]
public string Mobile { get; set; }
///
/// 人员名
///
[XmlElement("name")]
public string Name { get; set; }
///
/// 身份
///
[XmlElement("role")]
public string Role { get; set; }
///
/// unionid
///
[XmlElement("unionid")]
public string Unionid { get; set; }
///
/// 人员id
///
[XmlElement("userid")]
public string Userid { get; set; }
}
///
/// ResultDomain Data Structure.
///
[Serializable]
public class ResultDomain : TopObject
{
///
/// 人员身份详情列表
///
[XmlArray("details")]
[XmlArrayItem("detail")]
public List Details { get; set; }
}
}
}