tencentcloud-sdk-iotcloud 1.0.240 → 1.0.241
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180614/client.rb +72 -0
- data/lib/v20180614/models.rb +339 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 650facb537a0acfa86694fe66927d114cb3b745d
|
4
|
+
data.tar.gz: 146e3ad329d031c87ca6df941bf39e4bda858d10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98208f4f0dabd8cf3c4f9838871046cf6341c3c1deed206979c909ee7e4568e2a33ef244c5ad59d675ae0346d38c96e7bbb5022b2b63fbba621968a39fa1632e
|
7
|
+
data.tar.gz: dc56ee55d63e0a8c044c0c9a956ee25cb0e6d0d809cd1b21ac60d20c903db522ed3f10696559e081d810286de76526dad7ab98d450af308397f6b7ce07117aef
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.241
|
data/lib/v20180614/client.rb
CHANGED
@@ -1157,6 +1157,78 @@ module TencentCloud
|
|
1157
1157
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1158
1158
|
end
|
1159
1159
|
|
1160
|
+
# 本接口(ListLog)用于查看日志信息
|
1161
|
+
|
1162
|
+
# @param request: Request instance for ListLog.
|
1163
|
+
# @type request: :class:`Tencentcloud::iotcloud::V20180614::ListLogRequest`
|
1164
|
+
# @rtype: :class:`Tencentcloud::iotcloud::V20180614::ListLogResponse`
|
1165
|
+
def ListLog(request)
|
1166
|
+
body = send_request('ListLog', request.serialize)
|
1167
|
+
response = JSON.parse(body)
|
1168
|
+
if response['Response'].key?('Error') == false
|
1169
|
+
model = ListLogResponse.new
|
1170
|
+
model.deserialize(response['Response'])
|
1171
|
+
model
|
1172
|
+
else
|
1173
|
+
code = response['Response']['Error']['Code']
|
1174
|
+
message = response['Response']['Error']['Message']
|
1175
|
+
reqid = response['Response']['RequestId']
|
1176
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1177
|
+
end
|
1178
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1179
|
+
raise e
|
1180
|
+
rescue StandardError => e
|
1181
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1182
|
+
end
|
1183
|
+
|
1184
|
+
# 获取日志内容列表
|
1185
|
+
|
1186
|
+
# @param request: Request instance for ListLogPayload.
|
1187
|
+
# @type request: :class:`Tencentcloud::iotcloud::V20180614::ListLogPayloadRequest`
|
1188
|
+
# @rtype: :class:`Tencentcloud::iotcloud::V20180614::ListLogPayloadResponse`
|
1189
|
+
def ListLogPayload(request)
|
1190
|
+
body = send_request('ListLogPayload', request.serialize)
|
1191
|
+
response = JSON.parse(body)
|
1192
|
+
if response['Response'].key?('Error') == false
|
1193
|
+
model = ListLogPayloadResponse.new
|
1194
|
+
model.deserialize(response['Response'])
|
1195
|
+
model
|
1196
|
+
else
|
1197
|
+
code = response['Response']['Error']['Code']
|
1198
|
+
message = response['Response']['Error']['Message']
|
1199
|
+
reqid = response['Response']['RequestId']
|
1200
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1201
|
+
end
|
1202
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1203
|
+
raise e
|
1204
|
+
rescue StandardError => e
|
1205
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
# 获取设备上报的日志
|
1209
|
+
|
1210
|
+
# @param request: Request instance for ListSDKLog.
|
1211
|
+
# @type request: :class:`Tencentcloud::iotcloud::V20180614::ListSDKLogRequest`
|
1212
|
+
# @rtype: :class:`Tencentcloud::iotcloud::V20180614::ListSDKLogResponse`
|
1213
|
+
def ListSDKLog(request)
|
1214
|
+
body = send_request('ListSDKLog', request.serialize)
|
1215
|
+
response = JSON.parse(body)
|
1216
|
+
if response['Response'].key?('Error') == false
|
1217
|
+
model = ListSDKLogResponse.new
|
1218
|
+
model.deserialize(response['Response'])
|
1219
|
+
model
|
1220
|
+
else
|
1221
|
+
code = response['Response']['Error']['Code']
|
1222
|
+
message = response['Response']['Error']['Message']
|
1223
|
+
reqid = response['Response']['RequestId']
|
1224
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1225
|
+
end
|
1226
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1227
|
+
raise e
|
1228
|
+
rescue StandardError => e
|
1229
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1230
|
+
end
|
1231
|
+
|
1160
1232
|
# 模拟lora类型的设备端向服务器端发送消息
|
1161
1233
|
|
1162
1234
|
# @param request: Request instance for PublishAsDevice.
|
data/lib/v20180614/models.rb
CHANGED
@@ -212,6 +212,50 @@ module TencentCloud
|
|
212
212
|
end
|
213
213
|
end
|
214
214
|
|
215
|
+
# CLS日志
|
216
|
+
class CLSLogItem < TencentCloud::Common::AbstractModel
|
217
|
+
# @param Content: 日志内容
|
218
|
+
# @type Content: String
|
219
|
+
# @param Devicename: 设备名称
|
220
|
+
# @type Devicename: String
|
221
|
+
# @param Productid: 产品ID
|
222
|
+
# @type Productid: String
|
223
|
+
# @param Requestid: 请求ID
|
224
|
+
# @type Requestid: String
|
225
|
+
# @param Result: 结果
|
226
|
+
# @type Result: String
|
227
|
+
# @param Scene: 模块
|
228
|
+
# @type Scene: String
|
229
|
+
# @param Time: 日志时间
|
230
|
+
# @type Time: String
|
231
|
+
# @param Userid: 腾讯云账号
|
232
|
+
# @type Userid: String
|
233
|
+
|
234
|
+
attr_accessor :Content, :Devicename, :Productid, :Requestid, :Result, :Scene, :Time, :Userid
|
235
|
+
|
236
|
+
def initialize(content=nil, devicename=nil, productid=nil, requestid=nil, result=nil, scene=nil, time=nil, userid=nil)
|
237
|
+
@Content = content
|
238
|
+
@Devicename = devicename
|
239
|
+
@Productid = productid
|
240
|
+
@Requestid = requestid
|
241
|
+
@Result = result
|
242
|
+
@Scene = scene
|
243
|
+
@Time = time
|
244
|
+
@Userid = userid
|
245
|
+
end
|
246
|
+
|
247
|
+
def deserialize(params)
|
248
|
+
@Content = params['Content']
|
249
|
+
@Devicename = params['Devicename']
|
250
|
+
@Productid = params['Productid']
|
251
|
+
@Requestid = params['Requestid']
|
252
|
+
@Result = params['Result']
|
253
|
+
@Scene = params['Scene']
|
254
|
+
@Time = params['Time']
|
255
|
+
@Userid = params['Userid']
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
215
259
|
# CancelDeviceFirmwareTask请求参数结构体
|
216
260
|
class CancelDeviceFirmwareTaskRequest < TencentCloud::Common::AbstractModel
|
217
261
|
# @param ProductID: 产品ID
|
@@ -3019,6 +3063,217 @@ module TencentCloud
|
|
3019
3063
|
end
|
3020
3064
|
end
|
3021
3065
|
|
3066
|
+
# ListLogPayload请求参数结构体
|
3067
|
+
class ListLogPayloadRequest < TencentCloud::Common::AbstractModel
|
3068
|
+
# @param MinTime: 日志开始时间
|
3069
|
+
# @type MinTime: Integer
|
3070
|
+
# @param MaxTime: 日志结束时间
|
3071
|
+
# @type MaxTime: Integer
|
3072
|
+
# @param Keywords: 查询关键字,可以同时支持键值查询和文本查询,例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。键值或文本可以包含多个,以空格隔开。其中可以索引的key比如:RequestID、ProductID、DeviceName等。
|
3073
|
+
# 一个典型的查询示例:ProductID:ABCDE12345 DeviceName:test publish
|
3074
|
+
# @type Keywords: String
|
3075
|
+
# @param Context: 日志检索上下文
|
3076
|
+
# @type Context: String
|
3077
|
+
# @param MaxNum: 日志最大条数
|
3078
|
+
# @type MaxNum: Integer
|
3079
|
+
|
3080
|
+
attr_accessor :MinTime, :MaxTime, :Keywords, :Context, :MaxNum
|
3081
|
+
|
3082
|
+
def initialize(mintime=nil, maxtime=nil, keywords=nil, context=nil, maxnum=nil)
|
3083
|
+
@MinTime = mintime
|
3084
|
+
@MaxTime = maxtime
|
3085
|
+
@Keywords = keywords
|
3086
|
+
@Context = context
|
3087
|
+
@MaxNum = maxnum
|
3088
|
+
end
|
3089
|
+
|
3090
|
+
def deserialize(params)
|
3091
|
+
@MinTime = params['MinTime']
|
3092
|
+
@MaxTime = params['MaxTime']
|
3093
|
+
@Keywords = params['Keywords']
|
3094
|
+
@Context = params['Context']
|
3095
|
+
@MaxNum = params['MaxNum']
|
3096
|
+
end
|
3097
|
+
end
|
3098
|
+
|
3099
|
+
# ListLogPayload返回参数结构体
|
3100
|
+
class ListLogPayloadResponse < TencentCloud::Common::AbstractModel
|
3101
|
+
# @param Context: 日志上下文
|
3102
|
+
# @type Context: String
|
3103
|
+
# @param Listover: 是否还有日志,如有仍有日志,下次查询的请求带上当前请求返回的Context
|
3104
|
+
# @type Listover: Boolean
|
3105
|
+
# @param Results: 日志列表
|
3106
|
+
# @type Results: Array
|
3107
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3108
|
+
# @type RequestId: String
|
3109
|
+
|
3110
|
+
attr_accessor :Context, :Listover, :Results, :RequestId
|
3111
|
+
|
3112
|
+
def initialize(context=nil, listover=nil, results=nil, requestid=nil)
|
3113
|
+
@Context = context
|
3114
|
+
@Listover = listover
|
3115
|
+
@Results = results
|
3116
|
+
@RequestId = requestid
|
3117
|
+
end
|
3118
|
+
|
3119
|
+
def deserialize(params)
|
3120
|
+
@Context = params['Context']
|
3121
|
+
@Listover = params['Listover']
|
3122
|
+
unless params['Results'].nil?
|
3123
|
+
@Results = []
|
3124
|
+
params['Results'].each do |i|
|
3125
|
+
payloadlogitem_tmp = PayloadLogItem.new
|
3126
|
+
payloadlogitem_tmp.deserialize(i)
|
3127
|
+
@Results << payloadlogitem_tmp
|
3128
|
+
end
|
3129
|
+
end
|
3130
|
+
@RequestId = params['RequestId']
|
3131
|
+
end
|
3132
|
+
end
|
3133
|
+
|
3134
|
+
# ListLog请求参数结构体
|
3135
|
+
class ListLogRequest < TencentCloud::Common::AbstractModel
|
3136
|
+
# @param MinTime: 日志开始时间
|
3137
|
+
# @type MinTime: Integer
|
3138
|
+
# @param MaxTime: 日志结束时间
|
3139
|
+
# @type MaxTime: Integer
|
3140
|
+
# @param Keywords: 查询关键字,可以同时支持键值查询和文本查询,例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。键值或文本可以包含多个,以空格隔开。其中可以索引的key包括:requestid、productid、devicename、scene、content。
|
3141
|
+
# 一个典型的查询示例:productid:ABCDE12345 devicename:test scene:SHADOW content:Device%20connect publish
|
3142
|
+
# @type Keywords: String
|
3143
|
+
# @param Context: 日志检索上下文
|
3144
|
+
# @type Context: String
|
3145
|
+
# @param MaxNum: 查询条数
|
3146
|
+
# @type MaxNum: Integer
|
3147
|
+
|
3148
|
+
attr_accessor :MinTime, :MaxTime, :Keywords, :Context, :MaxNum
|
3149
|
+
|
3150
|
+
def initialize(mintime=nil, maxtime=nil, keywords=nil, context=nil, maxnum=nil)
|
3151
|
+
@MinTime = mintime
|
3152
|
+
@MaxTime = maxtime
|
3153
|
+
@Keywords = keywords
|
3154
|
+
@Context = context
|
3155
|
+
@MaxNum = maxnum
|
3156
|
+
end
|
3157
|
+
|
3158
|
+
def deserialize(params)
|
3159
|
+
@MinTime = params['MinTime']
|
3160
|
+
@MaxTime = params['MaxTime']
|
3161
|
+
@Keywords = params['Keywords']
|
3162
|
+
@Context = params['Context']
|
3163
|
+
@MaxNum = params['MaxNum']
|
3164
|
+
end
|
3165
|
+
end
|
3166
|
+
|
3167
|
+
# ListLog返回参数结构体
|
3168
|
+
class ListLogResponse < TencentCloud::Common::AbstractModel
|
3169
|
+
# @param Context: 日志上下文
|
3170
|
+
# @type Context: String
|
3171
|
+
# @param Listover: 是否还有日志,如有仍有日志,下次查询的请求带上当前请求返回的Context
|
3172
|
+
# @type Listover: Boolean
|
3173
|
+
# @param Results: 日志列表
|
3174
|
+
# @type Results: Array
|
3175
|
+
# @param TotalCount: 日志总条数
|
3176
|
+
# @type TotalCount: Integer
|
3177
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3178
|
+
# @type RequestId: String
|
3179
|
+
|
3180
|
+
attr_accessor :Context, :Listover, :Results, :TotalCount, :RequestId
|
3181
|
+
|
3182
|
+
def initialize(context=nil, listover=nil, results=nil, totalcount=nil, requestid=nil)
|
3183
|
+
@Context = context
|
3184
|
+
@Listover = listover
|
3185
|
+
@Results = results
|
3186
|
+
@TotalCount = totalcount
|
3187
|
+
@RequestId = requestid
|
3188
|
+
end
|
3189
|
+
|
3190
|
+
def deserialize(params)
|
3191
|
+
@Context = params['Context']
|
3192
|
+
@Listover = params['Listover']
|
3193
|
+
unless params['Results'].nil?
|
3194
|
+
@Results = []
|
3195
|
+
params['Results'].each do |i|
|
3196
|
+
clslogitem_tmp = CLSLogItem.new
|
3197
|
+
clslogitem_tmp.deserialize(i)
|
3198
|
+
@Results << clslogitem_tmp
|
3199
|
+
end
|
3200
|
+
end
|
3201
|
+
@TotalCount = params['TotalCount']
|
3202
|
+
@RequestId = params['RequestId']
|
3203
|
+
end
|
3204
|
+
end
|
3205
|
+
|
3206
|
+
# ListSDKLog请求参数结构体
|
3207
|
+
class ListSDKLogRequest < TencentCloud::Common::AbstractModel
|
3208
|
+
# @param MinTime: 日志开始时间
|
3209
|
+
# @type MinTime: Integer
|
3210
|
+
# @param MaxTime: 日志结束时间
|
3211
|
+
# @type MaxTime: Integer
|
3212
|
+
# @param Keywords: 查询关键字,可以同时支持键值查询和文本查询,
|
3213
|
+
# 例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。
|
3214
|
+
# 键值或文本可以包含多个,以空格隔开。
|
3215
|
+
# 其中可以索引的key包括:productid、devicename、loglevel
|
3216
|
+
# 一个典型的查询示例:productid:7JK1G72JNE devicename:name publish loglevel:WARN一个典型的查询示例:productid:ABCDE12345 devicename:test scene:SHADOW publish
|
3217
|
+
# @type Keywords: String
|
3218
|
+
# @param Context: 日志检索上下文
|
3219
|
+
# @type Context: String
|
3220
|
+
# @param MaxNum: 查询条数
|
3221
|
+
# @type MaxNum: Integer
|
3222
|
+
|
3223
|
+
attr_accessor :MinTime, :MaxTime, :Keywords, :Context, :MaxNum
|
3224
|
+
|
3225
|
+
def initialize(mintime=nil, maxtime=nil, keywords=nil, context=nil, maxnum=nil)
|
3226
|
+
@MinTime = mintime
|
3227
|
+
@MaxTime = maxtime
|
3228
|
+
@Keywords = keywords
|
3229
|
+
@Context = context
|
3230
|
+
@MaxNum = maxnum
|
3231
|
+
end
|
3232
|
+
|
3233
|
+
def deserialize(params)
|
3234
|
+
@MinTime = params['MinTime']
|
3235
|
+
@MaxTime = params['MaxTime']
|
3236
|
+
@Keywords = params['Keywords']
|
3237
|
+
@Context = params['Context']
|
3238
|
+
@MaxNum = params['MaxNum']
|
3239
|
+
end
|
3240
|
+
end
|
3241
|
+
|
3242
|
+
# ListSDKLog返回参数结构体
|
3243
|
+
class ListSDKLogResponse < TencentCloud::Common::AbstractModel
|
3244
|
+
# @param Context: 日志检索上下文
|
3245
|
+
# @type Context: String
|
3246
|
+
# @param Listover: 是否还有日志,如有仍有日志,下次查询的请求带上当前请求返回的Context
|
3247
|
+
# @type Listover: Boolean
|
3248
|
+
# @param Results: 日志列表
|
3249
|
+
# @type Results: Array
|
3250
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3251
|
+
# @type RequestId: String
|
3252
|
+
|
3253
|
+
attr_accessor :Context, :Listover, :Results, :RequestId
|
3254
|
+
|
3255
|
+
def initialize(context=nil, listover=nil, results=nil, requestid=nil)
|
3256
|
+
@Context = context
|
3257
|
+
@Listover = listover
|
3258
|
+
@Results = results
|
3259
|
+
@RequestId = requestid
|
3260
|
+
end
|
3261
|
+
|
3262
|
+
def deserialize(params)
|
3263
|
+
@Context = params['Context']
|
3264
|
+
@Listover = params['Listover']
|
3265
|
+
unless params['Results'].nil?
|
3266
|
+
@Results = []
|
3267
|
+
params['Results'].each do |i|
|
3268
|
+
sdklogitem_tmp = SDKLogItem.new
|
3269
|
+
sdklogitem_tmp.deserialize(i)
|
3270
|
+
@Results << sdklogitem_tmp
|
3271
|
+
end
|
3272
|
+
end
|
3273
|
+
@RequestId = params['RequestId']
|
3274
|
+
end
|
3275
|
+
end
|
3276
|
+
|
3022
3277
|
# 创建设备时返回的设备信息
|
3023
3278
|
class MultiDevicesInfo < TencentCloud::Common::AbstractModel
|
3024
3279
|
# @param DeviceName: 设备名
|
@@ -3055,6 +3310,58 @@ module TencentCloud
|
|
3055
3310
|
end
|
3056
3311
|
end
|
3057
3312
|
|
3313
|
+
# 内容日志项
|
3314
|
+
class PayloadLogItem < TencentCloud::Common::AbstractModel
|
3315
|
+
# @param Uin: 账号id
|
3316
|
+
# @type Uin: String
|
3317
|
+
# @param ProductID: 产品id
|
3318
|
+
# @type ProductID: String
|
3319
|
+
# @param DeviceName: 设备名称
|
3320
|
+
# @type DeviceName: String
|
3321
|
+
# @param SrcType: 来源类型
|
3322
|
+
# @type SrcType: String
|
3323
|
+
# @param SrcName: 来源名称
|
3324
|
+
# @type SrcName: String
|
3325
|
+
# @param Topic: 消息topic
|
3326
|
+
# @type Topic: String
|
3327
|
+
# @param PayloadFmtType: 内容格式类型
|
3328
|
+
# @type PayloadFmtType: String
|
3329
|
+
# @param Payload: 内容信息
|
3330
|
+
# @type Payload: String
|
3331
|
+
# @param RequestID: 请求ID
|
3332
|
+
# @type RequestID: String
|
3333
|
+
# @param DateTime: 日期时间
|
3334
|
+
# @type DateTime: String
|
3335
|
+
|
3336
|
+
attr_accessor :Uin, :ProductID, :DeviceName, :SrcType, :SrcName, :Topic, :PayloadFmtType, :Payload, :RequestID, :DateTime
|
3337
|
+
|
3338
|
+
def initialize(uin=nil, productid=nil, devicename=nil, srctype=nil, srcname=nil, topic=nil, payloadfmttype=nil, payload=nil, requestid=nil, datetime=nil)
|
3339
|
+
@Uin = uin
|
3340
|
+
@ProductID = productid
|
3341
|
+
@DeviceName = devicename
|
3342
|
+
@SrcType = srctype
|
3343
|
+
@SrcName = srcname
|
3344
|
+
@Topic = topic
|
3345
|
+
@PayloadFmtType = payloadfmttype
|
3346
|
+
@Payload = payload
|
3347
|
+
@RequestID = requestid
|
3348
|
+
@DateTime = datetime
|
3349
|
+
end
|
3350
|
+
|
3351
|
+
def deserialize(params)
|
3352
|
+
@Uin = params['Uin']
|
3353
|
+
@ProductID = params['ProductID']
|
3354
|
+
@DeviceName = params['DeviceName']
|
3355
|
+
@SrcType = params['SrcType']
|
3356
|
+
@SrcName = params['SrcName']
|
3357
|
+
@Topic = params['Topic']
|
3358
|
+
@PayloadFmtType = params['PayloadFmtType']
|
3359
|
+
@Payload = params['Payload']
|
3360
|
+
@RequestID = params['RequestID']
|
3361
|
+
@DateTime = params['DateTime']
|
3362
|
+
end
|
3363
|
+
end
|
3364
|
+
|
3058
3365
|
# 产品详细信息
|
3059
3366
|
class ProductInfo < TencentCloud::Common::AbstractModel
|
3060
3367
|
# @param ProductId: 产品ID
|
@@ -3679,6 +3986,38 @@ module TencentCloud
|
|
3679
3986
|
end
|
3680
3987
|
end
|
3681
3988
|
|
3989
|
+
# SDK日志项
|
3990
|
+
class SDKLogItem < TencentCloud::Common::AbstractModel
|
3991
|
+
# @param ProductID: 产品ID
|
3992
|
+
# @type ProductID: String
|
3993
|
+
# @param DeviceName: 设备名称
|
3994
|
+
# @type DeviceName: String
|
3995
|
+
# @param Level: 日志等级
|
3996
|
+
# @type Level: String
|
3997
|
+
# @param DateTime: 日志时间
|
3998
|
+
# @type DateTime: String
|
3999
|
+
# @param Content: 日志内容
|
4000
|
+
# @type Content: String
|
4001
|
+
|
4002
|
+
attr_accessor :ProductID, :DeviceName, :Level, :DateTime, :Content
|
4003
|
+
|
4004
|
+
def initialize(productid=nil, devicename=nil, level=nil, datetime=nil, content=nil)
|
4005
|
+
@ProductID = productid
|
4006
|
+
@DeviceName = devicename
|
4007
|
+
@Level = level
|
4008
|
+
@DateTime = datetime
|
4009
|
+
@Content = content
|
4010
|
+
end
|
4011
|
+
|
4012
|
+
def deserialize(params)
|
4013
|
+
@ProductID = params['ProductID']
|
4014
|
+
@DeviceName = params['DeviceName']
|
4015
|
+
@Level = params['Level']
|
4016
|
+
@DateTime = params['DateTime']
|
4017
|
+
@Content = params['Content']
|
4018
|
+
end
|
4019
|
+
end
|
4020
|
+
|
3682
4021
|
# 搜索关键词
|
3683
4022
|
class SearchKeyword < TencentCloud::Common::AbstractModel
|
3684
4023
|
# @param Key: 搜索条件的Key
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iotcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.241
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|