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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// CorpDeviceManageQuerylistResponse.
    /// </summary>
    public class CorpDeviceManageQuerylistResponse : DingTalkResponse
    {
        /// <summary>
        /// 返回结果
        /// </summary>
        [XmlElement("result")]
        public DingOpenResultDomain Result { get; set; }
 
    /// <summary>
/// OpenDeviceVoDomain Data Structure.
/// </summary>
[Serializable]
 
public class OpenDeviceVoDomain : TopObject
{
            /// <summary>
            /// 设备头像
            /// </summary>
            [XmlElement("avatar")]
            public string Avatar { get; set; }
    
            /// <summary>
            /// 设备ID
            /// </summary>
            [XmlElement("device_id")]
            public string DeviceId { get; set; }
    
            /// <summary>
            /// 设备MAC地址
            /// </summary>
            [XmlElement("device_mac")]
            public string DeviceMac { get; set; }
    
            /// <summary>
            /// 设备SN
            /// </summary>
            [XmlElement("device_sn")]
            public string DeviceSn { get; set; }
    
            /// <summary>
            /// 设备类型名称
            /// </summary>
            [XmlElement("device_type_name")]
            public string DeviceTypeName { get; set; }
    
            /// <summary>
            /// 设备昵称
            /// </summary>
            [XmlElement("nick")]
            public string Nick { get; set; }
    
            /// <summary>
            /// 设备在线状态{1:在线,0:不在线}
            /// </summary>
            [XmlElement("on_line_status")]
            public long OnLineStatus { get; set; }
}
 
    /// <summary>
/// PageVoDomain Data Structure.
/// </summary>
[Serializable]
 
public class PageVoDomain : TopObject
{
            /// <summary>
            /// 设备列表
            /// </summary>
            [XmlArray("list")]
            [XmlArrayItem("open_device_vo")]
            public List<OpenDeviceVoDomain> List { get; set; }
    
            /// <summary>
            /// 下次拉取列表的游标,如果为Null,代表没有数据了
            /// </summary>
            [XmlElement("next_cursor")]
            public long NextCursor { get; set; }
}
 
    /// <summary>
/// DingOpenResultDomain Data Structure.
/// </summary>
[Serializable]
 
public class DingOpenResultDomain : TopObject
{
            /// <summary>
            /// 错误码
            /// </summary>
            [XmlElement("ding_open_errcode")]
            public long DingOpenErrcode { get; set; }
    
            /// <summary>
            /// 错误信息
            /// </summary>
            [XmlElement("error_msg")]
            public string ErrorMsg { get; set; }
    
            /// <summary>
            /// 返回的Page对象
            /// </summary>
            [XmlElement("result")]
            public PageVoDomain Result { get; set; }
    
            /// <summary>
            /// request是否成功
            /// </summary>
            [XmlElement("success")]
            public bool Success { get; set; }
}
 
    }
}