using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiIndustryDepartmentListResponse.
///
public class OapiIndustryDepartmentListResponse : DingTalkResponse
{
///
/// 成功
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// errorMsg
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// result
///
[XmlElement("result")]
public ResultWrapperDomain Result { get; set; }
///
/// 成功
///
[XmlElement("success")]
public bool Success { get; set; }
///
/// OpenIndustryDeptInfoDomain Data Structure.
///
[Serializable]
public class OpenIndustryDeptInfoDomain : TopObject
{
///
/// 传统农村类型
///
[XmlElement("contact_type")]
public string ContactType { get; set; }
///
/// 部门ID
///
[XmlElement("dept_id")]
public long DeptId { get; set; }
///
/// 户
///
[XmlElement("dept_type")]
public string DeptType { get; set; }
///
/// 部门属性信息
///
[XmlElement("feature")]
public string Feature { get; set; }
///
/// 部门名称
///
[XmlElement("name")]
public string Name { get; set; }
}
///
/// ResultWrapperDomain Data Structure.
///
[Serializable]
public class ResultWrapperDomain : TopObject
{
///
/// details
///
[XmlArray("details")]
[XmlArrayItem("open_industry_dept_info")]
public List Details { get; set; }
///
/// 是否还有更多
///
[XmlElement("has_more")]
public bool HasMore { get; set; }
///
/// 下一个游标开始位置
///
[XmlElement("next_cursor")]
public long NextCursor { get; set; }
}
}
}