JLChen
2021-05-17 a722e767f98042d5ef6259d2dde7854c925e4167
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
/**
 *  Auto created by ApiCreator Tool.
 *  SVN Rev: unknown, Author: unknown, Date: unknown
 *  SHOULD NOT MODIFY!
 */
 
#ifndef _LC_OPENAPI_CLIENT_BindDeviceChannelInfo_H_
#define _LC_OPENAPI_CLIENT_BindDeviceChannelInfo_H_
 
#include "LCOpenApiDefine.h"
#include "LCOpenApiRequest.h"
#include "LCOpenApiResponse.h"
 
/** DESCRIPTION: 
获取绑定的单个设备通道的信息
 
 */
 
namespace Dahua{
namespace LCOpenApi{
    using namespace std;
    class BindDeviceChannelInfoRequest : public LCOpenApiRequest
    {
    public:
        class BindDeviceChannelInfoRequestData
        {
        public:
            BindDeviceChannelInfoRequestData();
            ~BindDeviceChannelInfoRequestData();
            
        public:
            /** 授权token(userToken或accessToken) */
            string token;
        public:
            /** [String][Not Null]通道号 */
            string channelId;
        public:
            /** [cstr]bindDeviceChannelInfo */
            #define _STATIC_BindDeviceChannelInfoRequestData_method "bindDeviceChannelInfo"
            string method;
        public:
            /** 设备ID */
            string deviceId;
 
        };
    public:
        BindDeviceChannelInfoRequest();
        ~BindDeviceChannelInfoRequest();
    public:
        virtual int build();
    public:
        BindDeviceChannelInfoRequestData data;
    };
 
    
    typedef typename BindDeviceChannelInfoRequest::BindDeviceChannelInfoRequestData BindDeviceChannelInfoRequestData;
 
 
    class BindDeviceChannelInfoResponse : public LCOpenApiResponse
    {
    public:
        class BindDeviceChannelInfoResponseData
        {
        public:
            BindDeviceChannelInfoResponseData();
            ~BindDeviceChannelInfoResponseData();
            
        public:
            /** [int]动检开关状态 0:关闭状态,1:开启状态 */
            int alarmStatus;
        public:
            /** [String]云存储状态 notExist:未开通套餐,using:开通云存储且没有过期, expired:套餐过期 */
            string csStatus;
        public:
            /** [String]设备ID */
            string deviceId;
        public:
            /** [String]可选,被共享和授权的权限功能列表(逗号隔开) */
            string shareFunctions;
        public:
            /** [String]通道名称 */
            string channelName;
        public:
            /** [String]缩略图URL */
            string channelPicUrl;
        public:
            /** [int]通道号 */
            int channelId;
        public:
            /** [string]是否在线 ,online-在线 offline-在线 close-未配置 sleep-休眠 */
            string channelOnline;
        public:
            /** 设备共享状态 */
            string shareStatus;
 
        };
    public:
        BindDeviceChannelInfoResponse();
        ~BindDeviceChannelInfoResponse();
    public:
        virtual int parse();
    public:
        BindDeviceChannelInfoResponseData data;
    };
 
    
    typedef typename BindDeviceChannelInfoResponse::BindDeviceChannelInfoResponseData BindDeviceChannelInfoResponseData;
 
}
}
 
#endif