using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiV2DepartmentListparentbyuserResponse.
///
public class OapiV2DepartmentListparentbyuserResponse : DingTalkResponse
{
///
/// 返回码
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// 错误信息
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// 成功数据信息
///
[XmlElement("result")]
public DeptListParentByUserResponseDomain Result { get; set; }
///
/// DeptParentResponseDomain Data Structure.
///
[Serializable]
public class DeptParentResponseDomain : TopObject
{
///
/// 父部门列表
///
[XmlArray("parent_dept_id_list")]
[XmlArrayItem("number")]
public List ParentDeptIdList { get; set; }
}
///
/// DeptListParentByUserResponseDomain Data Structure.
///
[Serializable]
public class DeptListParentByUserResponseDomain : TopObject
{
///
/// 父部门列表集合
///
[XmlArray("parent_list")]
[XmlArrayItem("dept_parent_response")]
public List ParentList { get; set; }
}
}
}