using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiIndustryDepartmentGetResponse.
///
public class OapiIndustryDepartmentGetResponse : DingTalkResponse
{
///
/// 错误码
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// 错误信息
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// result
///
[XmlElement("result")]
public OpenIndustryDeptInfoDomain 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; }
///
/// 部门类型,行业相关
///
[XmlElement("dept_type")]
public string DeptType { get; set; }
///
/// 部门属性
///
[XmlElement("feature")]
public string Feature { get; set; }
///
/// 部门名称
///
[XmlElement("name")]
public string Name { get; set; }
///
/// 父部门ID
///
[XmlElement("super_id")]
public long SuperId { get; set; }
}
}
}