duhe
2024-10-25 948bc8f68b05abd2c942217159de1fe31075f8cd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiServiceGetPermanentCodeResponse.
    /// </summary>
    public class OapiServiceGetPermanentCodeResponse : DingTalkResponse
    {
        /// <summary>
        /// 授权方企业信息
        /// </summary>
        [XmlElement("auth_corp_info")]
        public AuthCorpInfoDomain AuthCorpInfo { get; set; }
 
        /// <summary>
        /// 企业服务窗永久授权码,如果该套件下存在服务窗应用,会返回
        /// </summary>
        [XmlElement("ch_permanent_code")]
        public string ChPermanentCode { get; set; }
 
        /// <summary>
        /// errcode
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// errmsg
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// 永久授权码
        /// </summary>
        [XmlElement("permanent_code")]
        public string PermanentCode { get; set; }
 
    /// <summary>
/// AuthCorpInfoDomain Data Structure.
/// </summary>
[Serializable]
 
public class AuthCorpInfoDomain : TopObject
{
            /// <summary>
            /// corp_name
            /// </summary>
            [XmlElement("corp_name")]
            public string CorpName { get; set; }
    
            /// <summary>
            /// 授权方企业id
            /// </summary>
            [XmlElement("corpid")]
            public string Corpid { get; set; }
}
 
    }
}