JLChen
2021-05-13 7f62f2d3bf626ac55d2d2de05ca1d71eaaabef39
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
128
129
/**
 *  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_QueryCloudPlanRecords_H_
#define _LC_OPENAPI_CLIENT_QueryCloudPlanRecords_H_
 
#include "LCOpenApiDefine.h"
#include "LCOpenApiRequest.h"
#include "LCOpenApiResponse.h"
 
/** DESCRIPTION: 
按照开始和结束时间查询定时云录像
 
 */
 
namespace Dahua{
namespace LCOpenApi{
    using namespace std;
    class QueryCloudPlanRecordsRequest : public LCOpenApiRequest
    {
    public:
        class QueryCloudPlanRecordsRequestData
        {
        public:
            QueryCloudPlanRecordsRequestData();
            ~QueryCloudPlanRecordsRequestData();
            
        public:
            /** 从第几条到第几条,单次查询上限100,1-100表示第1条到第100条,包含100,云录像查询相同 */
            string queryRange;
        public:
            /** [cstr]queryCloudPlanRecords */
            #define _STATIC_QueryCloudPlanRecordsRequestData_method "queryCloudPlanRecords"
            string method;
        public:
            /** 授权token(userToken或accessToken) */
            string token;
        public:
            /** 结束时间,如2010-05-25 23:59:59 */
            string endTime;
        public:
            /** 通道ID */
            string channelId;
        public:
            /** 开始时间,如2010-05-25 00:00:00 */
            string beginTime;
        public:
            /** 设备ID */
            string deviceId;
 
        };
    public:
        QueryCloudPlanRecordsRequest();
        ~QueryCloudPlanRecordsRequest();
    public:
        virtual int build();
    public:
        QueryCloudPlanRecordsRequestData data;
    };
 
    
    typedef typename QueryCloudPlanRecordsRequest::QueryCloudPlanRecordsRequestData QueryCloudPlanRecordsRequestData;
 
 
    class QueryCloudPlanRecordsResponse : public LCOpenApiResponse
    {
    public:
        class QueryCloudPlanRecordsResponseData
        {
        public:
            QueryCloudPlanRecordsResponseData();
            ~QueryCloudPlanRecordsResponseData();
            
        public:
            /** define a list with struct of QueryCloudPlanRecordsResponseData_RecordsElement */
            class QueryCloudPlanRecordsResponseData_RecordsElement : public LCOpenApiBase
            {
            public:
                QueryCloudPlanRecordsResponseData_RecordsElement();
                ~QueryCloudPlanRecordsResponseData_RecordsElement();
            public:
                /** [int]加密模式(0:默认加密模式;1:用户加密模式) */
                int encryptMode;
            public:
                /** 云录像的大小,单位byte */
                string size;
            public:
                /** 结束时间,如2010-05-25 23:59:59 */
                string endTime;
            public:
                /** 开始时间,如2010-05-25 00:00:00 */
                string beginTime;
            public:
                /** 加密图片下载地址 */
                string thumbUrl;
            public:
                /** 通道ID */
                string channelId;
            public:
                /** 录像ID */
                string recordId;
            public:
                /** 设备ID */
                string deviceId;
            };
        public:
            LCOpenApiVector<QueryCloudPlanRecordsResponseData_RecordsElement> records;
 
        };
    public:
        QueryCloudPlanRecordsResponse();
        ~QueryCloudPlanRecordsResponse();
    public:
        virtual int parse();
    public:
        QueryCloudPlanRecordsResponseData data;
    };
 
    
    typedef typename QueryCloudPlanRecordsResponse::QueryCloudPlanRecordsResponseData QueryCloudPlanRecordsResponseData;
    typedef typename QueryCloudPlanRecordsResponse::QueryCloudPlanRecordsResponseData::QueryCloudPlanRecordsResponseData_RecordsElement QueryCloudPlanRecordsResponseData_RecordsElement;
 
}
}
 
#endif