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
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
124
125
126
127
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiSmartdeviceDeviceQuerylistResponse.
    /// </summary>
    public class OapiSmartdeviceDeviceQuerylistResponse : DingTalkResponse
    {
        /// <summary>
        /// 错误代码
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// 错误信息
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// 返回结果
        /// </summary>
        [XmlElement("result")]
        public PageResultDomain Result { get; set; }
 
        /// <summary>
        /// 是否成功
        /// </summary>
        [XmlElement("success")]
        public bool Success { get; set; }
 
    /// <summary>
/// DeviceDetailVODomain Data Structure.
/// </summary>
[Serializable]
 
public class DeviceDetailVODomain : TopObject
{
            /// <summary>
            /// 企业id
            /// </summary>
            [XmlElement("corp_id")]
            public string CorpId { 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>
            /// 设备名称
            /// </summary>
            [XmlElement("device_name")]
            public string DeviceName { get; set; }
    
            /// <summary>
            /// 备注信息
            /// </summary>
            [XmlElement("ext")]
            public string Ext { get; set; }
    
            /// <summary>
            /// 设备nick
            /// </summary>
            [XmlElement("nick")]
            public string Nick { get; set; }
    
            /// <summary>
            /// 产品标识
            /// </summary>
            [XmlElement("pk")]
            public string Pk { get; set; }
    
            /// <summary>
            /// 设备序列号
            /// </summary>
            [XmlElement("sn")]
            public string Sn { get; set; }
    
            /// <summary>
            /// 绑定的员工id
            /// </summary>
            [XmlElement("userid")]
            public string Userid { get; set; }
}
 
    /// <summary>
/// PageResultDomain Data Structure.
/// </summary>
[Serializable]
 
public class PageResultDomain : TopObject
{
            /// <summary>
            /// 是否有下一页
            /// </summary>
            [XmlElement("has_more")]
            public bool HasMore { get; set; }
    
            /// <summary>
            /// 设备类别
            /// </summary>
            [XmlArray("list")]
            [XmlArrayItem("device_detail_v_o")]
            public List<DeviceDetailVODomain> List { get; set; }
    
            /// <summary>
            /// 下一页的游标
            /// </summary>
            [XmlElement("next_cursor")]
            public long NextCursor { get; set; }
}
 
    }
}