using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiOrgpaasOrgInfoGetResponse. /// public class OapiOrgpaasOrgInfoGetResponse : DingTalkResponse { /// /// 错误码 -1 系统异常 40035 参数错误 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 组织信息 /// [XmlElement("result")] public GetOrgInfoRespDomain Result { get; set; } /// /// 接口是否调用成功 /// [XmlElement("success")] public bool Success { get; set; } /// /// GetOrgInfoRespDomain Data Structure. /// [Serializable] public class GetOrgInfoRespDomain : TopObject { /// /// 组织附件信息 /// [XmlElement("extension")] public string Extension { get; set; } /// /// 组织名 /// [XmlElement("org_name")] public string OrgName { get; set; } } } }