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
/**
 *  Auto created by ApiCreator Tool.
 *  SVN Rev: 79835, Author: 32725, Date: 2017-11-10 11:03:30 +0800 
 *  SHOULD NOT MODIFY!
 */
 
#ifndef _LC_OPENAPI_CLIENT_CheckDeviceBindOrNot_H_
#define _LC_OPENAPI_CLIENT_CheckDeviceBindOrNot_H_
 
#include "LCOpenApiDefine.h"
#include "LCOpenApiRequest.h"
#include "LCOpenApiResponse.h"
 
/** DESCRIPTION: 
检查设备是否已绑定
 
 */
 
namespace Dahua{
namespace LCOpenApi{
    using namespace std;
    class CheckDeviceBindOrNotRequest : public LCOpenApiRequest
    {
    public:
        class CheckDeviceBindOrNotRequestData
        {
        public:
            CheckDeviceBindOrNotRequestData();
            ~CheckDeviceBindOrNotRequestData();
            
        public:
            /** 授权token(userToken或accessToken) */
            string token;
        public:
            /** [cstr]checkDeviceBindOrNot */
            #define _STATIC_CheckDeviceBindOrNotRequestData_method "checkDeviceBindOrNot"
            string method;
        public:
            /** 设备ID */
            string deviceId;
 
        };
    public:
        CheckDeviceBindOrNotRequest();
        ~CheckDeviceBindOrNotRequest();
    public:
        virtual int build();
    public:
        CheckDeviceBindOrNotRequestData data;
    };
 
    
    typedef typename CheckDeviceBindOrNotRequest::CheckDeviceBindOrNotRequestData CheckDeviceBindOrNotRequestData;
 
 
    class CheckDeviceBindOrNotResponse : public LCOpenApiResponse
    {
    public:
        class CheckDeviceBindOrNotResponseData
        {
        public:
            CheckDeviceBindOrNotResponseData();
            ~CheckDeviceBindOrNotResponseData();
            
        public:
            /** [bool]是否被绑定到某个账号 */
            bool isBind;
        public:
            /** [bool]是否属于自己这个账号 */
            bool isMine;
 
        };
    public:
        CheckDeviceBindOrNotResponse();
        ~CheckDeviceBindOrNotResponse();
    public:
        virtual int parse();
    public:
        CheckDeviceBindOrNotResponseData data;
    };
 
    
    typedef typename CheckDeviceBindOrNotResponse::CheckDeviceBindOrNotResponseData CheckDeviceBindOrNotResponseData;
 
}
}
 
#endif