tencentcloud-sdk-hasim 3.0.487

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2044 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Hasim
19
+ module V20210716
20
+ # CreateRule请求参数结构体
21
+ class CreateRuleRequest < TencentCloud::Common::AbstractModel
22
+ # @param Name: 自动化规则名称
23
+ # @type Name: String
24
+ # @param Type: 规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)
25
+ # @type Type: Integer
26
+ # @param IsActive: 是否激活
27
+ # @type IsActive: Boolean
28
+ # @param Notice: 触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点
29
+ # @type Notice: Integer
30
+ # @param Email: 邮箱
31
+ # @type Email: String
32
+ # @param Url: 推送的API地址
33
+ # @type Url: String
34
+ # @param DataThreshold: 用量阈值
35
+ # @type DataThreshold: Integer
36
+ # @param District: 行政区类型:1. 省份 2. 城市 3. 区
37
+ # @type District: Integer
38
+ # @param Distance: 心跳移动距离阈值
39
+ # @type Distance: Integer
40
+ # @param SignalStrength: 信号强度阈值
41
+ # @type SignalStrength: Integer
42
+ # @param LostDay: 盲点时间阈值,天
43
+ # @type LostDay: Integer
44
+ # @param TagIDs: 标签ID集合
45
+ # @type TagIDs: Array
46
+ # @param SalePlan: 资费计划
47
+ # @type SalePlan: String
48
+
49
+ attr_accessor :Name, :Type, :IsActive, :Notice, :Email, :Url, :DataThreshold, :District, :Distance, :SignalStrength, :LostDay, :TagIDs, :SalePlan
50
+
51
+ def initialize(name=nil, type=nil, isactive=nil, notice=nil, email=nil, url=nil, datathreshold=nil, district=nil, distance=nil, signalstrength=nil, lostday=nil, tagids=nil, saleplan=nil)
52
+ @Name = name
53
+ @Type = type
54
+ @IsActive = isactive
55
+ @Notice = notice
56
+ @Email = email
57
+ @Url = url
58
+ @DataThreshold = datathreshold
59
+ @District = district
60
+ @Distance = distance
61
+ @SignalStrength = signalstrength
62
+ @LostDay = lostday
63
+ @TagIDs = tagids
64
+ @SalePlan = saleplan
65
+ end
66
+
67
+ def deserialize(params)
68
+ @Name = params['Name']
69
+ @Type = params['Type']
70
+ @IsActive = params['IsActive']
71
+ @Notice = params['Notice']
72
+ @Email = params['Email']
73
+ @Url = params['Url']
74
+ @DataThreshold = params['DataThreshold']
75
+ @District = params['District']
76
+ @Distance = params['Distance']
77
+ @SignalStrength = params['SignalStrength']
78
+ @LostDay = params['LostDay']
79
+ @TagIDs = params['TagIDs']
80
+ @SalePlan = params['SalePlan']
81
+ end
82
+ end
83
+
84
+ # CreateRule返回参数结构体
85
+ class CreateRuleResponse < TencentCloud::Common::AbstractModel
86
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
87
+ # @type RequestId: String
88
+
89
+ attr_accessor :RequestId
90
+
91
+ def initialize(requestid=nil)
92
+ @RequestId = requestid
93
+ end
94
+
95
+ def deserialize(params)
96
+ @RequestId = params['RequestId']
97
+ end
98
+ end
99
+
100
+ # CreateTactic请求参数结构体
101
+ class CreateTacticRequest < TencentCloud::Common::AbstractModel
102
+ # @param Name: 策略名称
103
+ # @type Name: String
104
+ # @param IsAuto: 是否自动执行
105
+ # @type IsAuto: Integer
106
+ # @param PingInterval: 心跳上报间隔(s)
107
+ # @type PingInterval: Integer
108
+ # @param IsWeak: 是否开启弱信号检测
109
+ # @type IsWeak: Integer
110
+ # @param WeakThreshold: 弱信号阈值(-dbm)
111
+ # @type WeakThreshold: Integer
112
+ # @param IsDelay: 是否开启时延切换
113
+ # @type IsDelay: Integer
114
+ # @param DelayThreshold: 网络时延阈值(ms)
115
+ # @type DelayThreshold: Integer
116
+ # @param IsFake: 是否开启假信号检测
117
+ # @type IsFake: Integer
118
+ # @param FakeIP: 假信号检测IP字符串,用逗号分隔
119
+ # @type FakeIP: String
120
+ # @param FakeInterval: 假信号检测间隔(s)
121
+ # @type FakeInterval: Integer
122
+ # @param IsNet: 是否开启网络制式检测
123
+ # @type IsNet: Integer
124
+ # @param Network: 网络回落制式 1 2G、 2 3G 、 3 2/3G
125
+ # @type Network: Integer
126
+ # @param IsMove: 是否开启移动检测
127
+ # @type IsMove: Integer
128
+ # @param IsPriorityTele: 是否开启最优先运营商
129
+ # @type IsPriorityTele: Integer
130
+ # @param PriorityTele: 最优先运营商 1 移动、 2 联通、 3 电信 4 上次在线运营商
131
+ # @type PriorityTele: Integer
132
+ # @param IsBottomTele: 是否开启最不优先运营商
133
+ # @type IsBottomTele: Integer
134
+ # @param BottomTele: 最不优先运营商 1 移动、 2 联通、 3 电信
135
+ # @type BottomTele: Integer
136
+ # @param IsBestSignal: 最优先信号选取策略
137
+ # @type IsBestSignal: Integer
138
+
139
+ attr_accessor :Name, :IsAuto, :PingInterval, :IsWeak, :WeakThreshold, :IsDelay, :DelayThreshold, :IsFake, :FakeIP, :FakeInterval, :IsNet, :Network, :IsMove, :IsPriorityTele, :PriorityTele, :IsBottomTele, :BottomTele, :IsBestSignal
140
+
141
+ def initialize(name=nil, isauto=nil, pinginterval=nil, isweak=nil, weakthreshold=nil, isdelay=nil, delaythreshold=nil, isfake=nil, fakeip=nil, fakeinterval=nil, isnet=nil, network=nil, ismove=nil, isprioritytele=nil, prioritytele=nil, isbottomtele=nil, bottomtele=nil, isbestsignal=nil)
142
+ @Name = name
143
+ @IsAuto = isauto
144
+ @PingInterval = pinginterval
145
+ @IsWeak = isweak
146
+ @WeakThreshold = weakthreshold
147
+ @IsDelay = isdelay
148
+ @DelayThreshold = delaythreshold
149
+ @IsFake = isfake
150
+ @FakeIP = fakeip
151
+ @FakeInterval = fakeinterval
152
+ @IsNet = isnet
153
+ @Network = network
154
+ @IsMove = ismove
155
+ @IsPriorityTele = isprioritytele
156
+ @PriorityTele = prioritytele
157
+ @IsBottomTele = isbottomtele
158
+ @BottomTele = bottomtele
159
+ @IsBestSignal = isbestsignal
160
+ end
161
+
162
+ def deserialize(params)
163
+ @Name = params['Name']
164
+ @IsAuto = params['IsAuto']
165
+ @PingInterval = params['PingInterval']
166
+ @IsWeak = params['IsWeak']
167
+ @WeakThreshold = params['WeakThreshold']
168
+ @IsDelay = params['IsDelay']
169
+ @DelayThreshold = params['DelayThreshold']
170
+ @IsFake = params['IsFake']
171
+ @FakeIP = params['FakeIP']
172
+ @FakeInterval = params['FakeInterval']
173
+ @IsNet = params['IsNet']
174
+ @Network = params['Network']
175
+ @IsMove = params['IsMove']
176
+ @IsPriorityTele = params['IsPriorityTele']
177
+ @PriorityTele = params['PriorityTele']
178
+ @IsBottomTele = params['IsBottomTele']
179
+ @BottomTele = params['BottomTele']
180
+ @IsBestSignal = params['IsBestSignal']
181
+ end
182
+ end
183
+
184
+ # CreateTactic返回参数结构体
185
+ class CreateTacticResponse < TencentCloud::Common::AbstractModel
186
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
187
+ # @type RequestId: String
188
+
189
+ attr_accessor :RequestId
190
+
191
+ def initialize(requestid=nil)
192
+ @RequestId = requestid
193
+ end
194
+
195
+ def deserialize(params)
196
+ @RequestId = params['RequestId']
197
+ end
198
+ end
199
+
200
+ # CreateTag请求参数结构体
201
+ class CreateTagRequest < TencentCloud::Common::AbstractModel
202
+ # @param Name: 名称
203
+ # @type Name: String
204
+ # @param Comment: 备注
205
+ # @type Comment: String
206
+
207
+ attr_accessor :Name, :Comment
208
+
209
+ def initialize(name=nil, comment=nil)
210
+ @Name = name
211
+ @Comment = comment
212
+ end
213
+
214
+ def deserialize(params)
215
+ @Name = params['Name']
216
+ @Comment = params['Comment']
217
+ end
218
+ end
219
+
220
+ # CreateTag返回参数结构体
221
+ class CreateTagResponse < TencentCloud::Common::AbstractModel
222
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
223
+ # @type RequestId: String
224
+
225
+ attr_accessor :RequestId
226
+
227
+ def initialize(requestid=nil)
228
+ @RequestId = requestid
229
+ end
230
+
231
+ def deserialize(params)
232
+ @RequestId = params['RequestId']
233
+ end
234
+ end
235
+
236
+ # DeleteRule请求参数结构体
237
+ class DeleteRuleRequest < TencentCloud::Common::AbstractModel
238
+ # @param RuleID: 自动化规则ID
239
+ # @type RuleID: Integer
240
+
241
+ attr_accessor :RuleID
242
+
243
+ def initialize(ruleid=nil)
244
+ @RuleID = ruleid
245
+ end
246
+
247
+ def deserialize(params)
248
+ @RuleID = params['RuleID']
249
+ end
250
+ end
251
+
252
+ # DeleteRule返回参数结构体
253
+ class DeleteRuleResponse < TencentCloud::Common::AbstractModel
254
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
255
+ # @type RequestId: String
256
+
257
+ attr_accessor :RequestId
258
+
259
+ def initialize(requestid=nil)
260
+ @RequestId = requestid
261
+ end
262
+
263
+ def deserialize(params)
264
+ @RequestId = params['RequestId']
265
+ end
266
+ end
267
+
268
+ # DeleteTactic请求参数结构体
269
+ class DeleteTacticRequest < TencentCloud::Common::AbstractModel
270
+ # @param TacticID: 策略ID
271
+ # @type TacticID: Integer
272
+
273
+ attr_accessor :TacticID
274
+
275
+ def initialize(tacticid=nil)
276
+ @TacticID = tacticid
277
+ end
278
+
279
+ def deserialize(params)
280
+ @TacticID = params['TacticID']
281
+ end
282
+ end
283
+
284
+ # DeleteTactic返回参数结构体
285
+ class DeleteTacticResponse < TencentCloud::Common::AbstractModel
286
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
287
+ # @type RequestId: String
288
+
289
+ attr_accessor :RequestId
290
+
291
+ def initialize(requestid=nil)
292
+ @RequestId = requestid
293
+ end
294
+
295
+ def deserialize(params)
296
+ @RequestId = params['RequestId']
297
+ end
298
+ end
299
+
300
+ # DeleteTag请求参数结构体
301
+ class DeleteTagRequest < TencentCloud::Common::AbstractModel
302
+ # @param TagID: 标签ID
303
+ # @type TagID: Integer
304
+
305
+ attr_accessor :TagID
306
+
307
+ def initialize(tagid=nil)
308
+ @TagID = tagid
309
+ end
310
+
311
+ def deserialize(params)
312
+ @TagID = params['TagID']
313
+ end
314
+ end
315
+
316
+ # DeleteTag返回参数结构体
317
+ class DeleteTagResponse < TencentCloud::Common::AbstractModel
318
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
319
+ # @type RequestId: String
320
+
321
+ attr_accessor :RequestId
322
+
323
+ def initialize(requestid=nil)
324
+ @RequestId = requestid
325
+ end
326
+
327
+ def deserialize(params)
328
+ @RequestId = params['RequestId']
329
+ end
330
+ end
331
+
332
+ # DescribeLink请求参数结构体
333
+ class DescribeLinkRequest < TencentCloud::Common::AbstractModel
334
+ # @param LinkID: 云兔卡ID
335
+ # @type LinkID: Integer
336
+ # @param UinAccount: 具体的账号
337
+ # @type UinAccount: String
338
+
339
+ attr_accessor :LinkID, :UinAccount
340
+
341
+ def initialize(linkid=nil, uinaccount=nil)
342
+ @LinkID = linkid
343
+ @UinAccount = uinaccount
344
+ end
345
+
346
+ def deserialize(params)
347
+ @LinkID = params['LinkID']
348
+ @UinAccount = params['UinAccount']
349
+ end
350
+ end
351
+
352
+ # DescribeLink返回参数结构体
353
+ class DescribeLinkResponse < TencentCloud::Common::AbstractModel
354
+ # @param Data: 云兔连接详细信息
355
+ # @type Data: :class:`Tencentcloud::Hasim.v20210716.models.LinkDetailInfo`
356
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
357
+ # @type RequestId: String
358
+
359
+ attr_accessor :Data, :RequestId
360
+
361
+ def initialize(data=nil, requestid=nil)
362
+ @Data = data
363
+ @RequestId = requestid
364
+ end
365
+
366
+ def deserialize(params)
367
+ unless params['Data'].nil?
368
+ @Data = LinkDetailInfo.new
369
+ @Data.deserialize(params['Data'])
370
+ end
371
+ @RequestId = params['RequestId']
372
+ end
373
+ end
374
+
375
+ # DescribeLinks请求参数结构体
376
+ class DescribeLinksRequest < TencentCloud::Common::AbstractModel
377
+ # @param LinkID: 云兔卡ID
378
+ # @type LinkID: Integer
379
+ # @param ICCID: 运营商ICCID
380
+ # @type ICCID: String
381
+ # @param IMEI: 设备码
382
+ # @type IMEI: String
383
+ # @param Status: 卡片状态
384
+ # @type Status: Integer
385
+ # @param TeleOperator: 运营商 1移动 2联通 3电信
386
+ # @type TeleOperator: Integer
387
+ # @param TagID: 标签ID
388
+ # @type TagID: Integer
389
+ # @param TacticID: 策略ID
390
+ # @type TacticID: Integer
391
+ # @param LinkedState: 设备在线状态 0 未激活 1 在线 2 离线
392
+ # @type LinkedState: Integer
393
+ # @param TagIDs: 标签ID 集合
394
+ # @type TagIDs: Array
395
+
396
+ attr_accessor :LinkID, :ICCID, :IMEI, :Status, :TeleOperator, :TagID, :TacticID, :LinkedState, :TagIDs
397
+
398
+ def initialize(linkid=nil, iccid=nil, imei=nil, status=nil, teleoperator=nil, tagid=nil, tacticid=nil, linkedstate=nil, tagids=nil)
399
+ @LinkID = linkid
400
+ @ICCID = iccid
401
+ @IMEI = imei
402
+ @Status = status
403
+ @TeleOperator = teleoperator
404
+ @TagID = tagid
405
+ @TacticID = tacticid
406
+ @LinkedState = linkedstate
407
+ @TagIDs = tagids
408
+ end
409
+
410
+ def deserialize(params)
411
+ @LinkID = params['LinkID']
412
+ @ICCID = params['ICCID']
413
+ @IMEI = params['IMEI']
414
+ @Status = params['Status']
415
+ @TeleOperator = params['TeleOperator']
416
+ @TagID = params['TagID']
417
+ @TacticID = params['TacticID']
418
+ @LinkedState = params['LinkedState']
419
+ @TagIDs = params['TagIDs']
420
+ end
421
+ end
422
+
423
+ # DescribeLinks返回参数结构体
424
+ class DescribeLinksResponse < TencentCloud::Common::AbstractModel
425
+ # @param Data: 云兔连接响应信息
426
+ # 注意:此字段可能返回 null,表示取不到有效值。
427
+ # @type Data: :class:`Tencentcloud::Hasim.v20210716.models.LinkInfos`
428
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
429
+ # @type RequestId: String
430
+
431
+ attr_accessor :Data, :RequestId
432
+
433
+ def initialize(data=nil, requestid=nil)
434
+ @Data = data
435
+ @RequestId = requestid
436
+ end
437
+
438
+ def deserialize(params)
439
+ unless params['Data'].nil?
440
+ @Data = LinkInfos.new
441
+ @Data.deserialize(params['Data'])
442
+ end
443
+ @RequestId = params['RequestId']
444
+ end
445
+ end
446
+
447
+ # DescribeOrders请求参数结构体
448
+ class DescribeOrdersRequest < TencentCloud::Common::AbstractModel
449
+ # @param DealName: 子订单ID
450
+ # @type DealName: String
451
+ # @param AuditStatus: 审批状态 0全部 1通过 2驳回 3待审核
452
+ # @type AuditStatus: Integer
453
+ # @param Limit: 翻页大小
454
+ # @type Limit: Integer
455
+ # @param Offset: 翻页偏移
456
+ # @type Offset: Integer
457
+ # @param BeginTime: 开始时间,例如2022-06-30 00:00:00
458
+ # @type BeginTime: String
459
+ # @param EndTime: 结束时间,例如2022-06-30 00:00:00
460
+ # @type EndTime: String
461
+
462
+ attr_accessor :DealName, :AuditStatus, :Limit, :Offset, :BeginTime, :EndTime
463
+
464
+ def initialize(dealname=nil, auditstatus=nil, limit=nil, offset=nil, begintime=nil, endtime=nil)
465
+ @DealName = dealname
466
+ @AuditStatus = auditstatus
467
+ @Limit = limit
468
+ @Offset = offset
469
+ @BeginTime = begintime
470
+ @EndTime = endtime
471
+ end
472
+
473
+ def deserialize(params)
474
+ @DealName = params['DealName']
475
+ @AuditStatus = params['AuditStatus']
476
+ @Limit = params['Limit']
477
+ @Offset = params['Offset']
478
+ @BeginTime = params['BeginTime']
479
+ @EndTime = params['EndTime']
480
+ end
481
+ end
482
+
483
+ # DescribeOrders返回参数结构体
484
+ class DescribeOrdersResponse < TencentCloud::Common::AbstractModel
485
+ # @param Data: 订单列表
486
+ # @type Data: :class:`Tencentcloud::Hasim.v20210716.models.Orders`
487
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
488
+ # @type RequestId: String
489
+
490
+ attr_accessor :Data, :RequestId
491
+
492
+ def initialize(data=nil, requestid=nil)
493
+ @Data = data
494
+ @RequestId = requestid
495
+ end
496
+
497
+ def deserialize(params)
498
+ unless params['Data'].nil?
499
+ @Data = Orders.new
500
+ @Data.deserialize(params['Data'])
501
+ end
502
+ @RequestId = params['RequestId']
503
+ end
504
+ end
505
+
506
+ # DescribeRule请求参数结构体
507
+ class DescribeRuleRequest < TencentCloud::Common::AbstractModel
508
+ # @param RuleID: 自动化规则ID
509
+ # @type RuleID: Integer
510
+
511
+ attr_accessor :RuleID
512
+
513
+ def initialize(ruleid=nil)
514
+ @RuleID = ruleid
515
+ end
516
+
517
+ def deserialize(params)
518
+ @RuleID = params['RuleID']
519
+ end
520
+ end
521
+
522
+ # DescribeRule返回参数结构体
523
+ class DescribeRuleResponse < TencentCloud::Common::AbstractModel
524
+ # @param Data: 策略信息
525
+ # @type Data: :class:`Tencentcloud::Hasim.v20210716.models.RuleDetail`
526
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
527
+ # @type RequestId: String
528
+
529
+ attr_accessor :Data, :RequestId
530
+
531
+ def initialize(data=nil, requestid=nil)
532
+ @Data = data
533
+ @RequestId = requestid
534
+ end
535
+
536
+ def deserialize(params)
537
+ unless params['Data'].nil?
538
+ @Data = RuleDetail.new
539
+ @Data.deserialize(params['Data'])
540
+ end
541
+ @RequestId = params['RequestId']
542
+ end
543
+ end
544
+
545
+ # DescribeRules请求参数结构体
546
+ class DescribeRulesRequest < TencentCloud::Common::AbstractModel
547
+ # @param RuleID: 自动化规则ID
548
+ # @type RuleID: Integer
549
+ # @param RuleIDs: 自动化规则ID
550
+ # @type RuleIDs: Array
551
+ # @param Name: 名称
552
+ # @type Name: String
553
+ # @param Type: 类型
554
+ # @type Type: Integer
555
+ # @param IsActive: 是否激活
556
+ # @type IsActive: Integer
557
+ # @param Limit: 翻页大小
558
+ # @type Limit: Integer
559
+ # @param Offset: 翻页偏移
560
+ # @type Offset: Integer
561
+
562
+ attr_accessor :RuleID, :RuleIDs, :Name, :Type, :IsActive, :Limit, :Offset
563
+
564
+ def initialize(ruleid=nil, ruleids=nil, name=nil, type=nil, isactive=nil, limit=nil, offset=nil)
565
+ @RuleID = ruleid
566
+ @RuleIDs = ruleids
567
+ @Name = name
568
+ @Type = type
569
+ @IsActive = isactive
570
+ @Limit = limit
571
+ @Offset = offset
572
+ end
573
+
574
+ def deserialize(params)
575
+ @RuleID = params['RuleID']
576
+ @RuleIDs = params['RuleIDs']
577
+ @Name = params['Name']
578
+ @Type = params['Type']
579
+ @IsActive = params['IsActive']
580
+ @Limit = params['Limit']
581
+ @Offset = params['Offset']
582
+ end
583
+ end
584
+
585
+ # DescribeRules返回参数结构体
586
+ class DescribeRulesResponse < TencentCloud::Common::AbstractModel
587
+ # @param Data: 自动化规则列表集合
588
+ # 注意:此字段可能返回 null,表示取不到有效值。
589
+ # @type Data: :class:`Tencentcloud::Hasim.v20210716.models.RuleInfos`
590
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
591
+ # @type RequestId: String
592
+
593
+ attr_accessor :Data, :RequestId
594
+
595
+ def initialize(data=nil, requestid=nil)
596
+ @Data = data
597
+ @RequestId = requestid
598
+ end
599
+
600
+ def deserialize(params)
601
+ unless params['Data'].nil?
602
+ @Data = RuleInfos.new
603
+ @Data.deserialize(params['Data'])
604
+ end
605
+ @RequestId = params['RequestId']
606
+ end
607
+ end
608
+
609
+ # DescribeTactic请求参数结构体
610
+ class DescribeTacticRequest < TencentCloud::Common::AbstractModel
611
+ # @param TacticID: 策略ID
612
+ # @type TacticID: Integer
613
+
614
+ attr_accessor :TacticID
615
+
616
+ def initialize(tacticid=nil)
617
+ @TacticID = tacticid
618
+ end
619
+
620
+ def deserialize(params)
621
+ @TacticID = params['TacticID']
622
+ end
623
+ end
624
+
625
+ # DescribeTactic返回参数结构体
626
+ class DescribeTacticResponse < TencentCloud::Common::AbstractModel
627
+ # @param Data: 策略信息
628
+ # @type Data: :class:`Tencentcloud::Hasim.v20210716.models.Tactic`
629
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
630
+ # @type RequestId: String
631
+
632
+ attr_accessor :Data, :RequestId
633
+
634
+ def initialize(data=nil, requestid=nil)
635
+ @Data = data
636
+ @RequestId = requestid
637
+ end
638
+
639
+ def deserialize(params)
640
+ unless params['Data'].nil?
641
+ @Data = Tactic.new
642
+ @Data.deserialize(params['Data'])
643
+ end
644
+ @RequestId = params['RequestId']
645
+ end
646
+ end
647
+
648
+ # DescribeTactics请求参数结构体
649
+ class DescribeTacticsRequest < TencentCloud::Common::AbstractModel
650
+ # @param TacticID: 策略ID
651
+ # @type TacticID: Integer
652
+ # @param Name: 策略名称
653
+ # @type Name: String
654
+
655
+ attr_accessor :TacticID, :Name
656
+
657
+ def initialize(tacticid=nil, name=nil)
658
+ @TacticID = tacticid
659
+ @Name = name
660
+ end
661
+
662
+ def deserialize(params)
663
+ @TacticID = params['TacticID']
664
+ @Name = params['Name']
665
+ end
666
+ end
667
+
668
+ # DescribeTactics返回参数结构体
669
+ class DescribeTacticsResponse < TencentCloud::Common::AbstractModel
670
+ # @param Data: 策略集合信息
671
+ # @type Data: :class:`Tencentcloud::Hasim.v20210716.models.TacticInfos`
672
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
673
+ # @type RequestId: String
674
+
675
+ attr_accessor :Data, :RequestId
676
+
677
+ def initialize(data=nil, requestid=nil)
678
+ @Data = data
679
+ @RequestId = requestid
680
+ end
681
+
682
+ def deserialize(params)
683
+ unless params['Data'].nil?
684
+ @Data = TacticInfos.new
685
+ @Data.deserialize(params['Data'])
686
+ end
687
+ @RequestId = params['RequestId']
688
+ end
689
+ end
690
+
691
+ # DescribeTags请求参数结构体
692
+ class DescribeTagsRequest < TencentCloud::Common::AbstractModel
693
+ # @param Name: 标签名称
694
+ # @type Name: String
695
+
696
+ attr_accessor :Name
697
+
698
+ def initialize(name=nil)
699
+ @Name = name
700
+ end
701
+
702
+ def deserialize(params)
703
+ @Name = params['Name']
704
+ end
705
+ end
706
+
707
+ # DescribeTags返回参数结构体
708
+ class DescribeTagsResponse < TencentCloud::Common::AbstractModel
709
+ # @param Data: 列表
710
+ # @type Data: :class:`Tencentcloud::Hasim.v20210716.models.TagInfos`
711
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
712
+ # @type RequestId: String
713
+
714
+ attr_accessor :Data, :RequestId
715
+
716
+ def initialize(data=nil, requestid=nil)
717
+ @Data = data
718
+ @RequestId = requestid
719
+ end
720
+
721
+ def deserialize(params)
722
+ unless params['Data'].nil?
723
+ @Data = TagInfos.new
724
+ @Data.deserialize(params['Data'])
725
+ end
726
+ @RequestId = params['RequestId']
727
+ end
728
+ end
729
+
730
+ # 设备上报信息
731
+ class DeviceReport < TencentCloud::Common::AbstractModel
732
+ # @param Imei: 移动设备ID
733
+ # @type Imei: String
734
+ # @param Lng: 经度
735
+ # 注意:此字段可能返回 null,表示取不到有效值。
736
+ # @type Lng: String
737
+ # @param Lat: 维度
738
+ # 注意:此字段可能返回 null,表示取不到有效值。
739
+ # @type Lat: String
740
+ # @param Lac: 运营商基站ID
741
+ # 注意:此字段可能返回 null,表示取不到有效值。
742
+ # @type Lac: String
743
+ # @param Cell: 小区CellID
744
+ # 注意:此字段可能返回 null,表示取不到有效值。
745
+ # @type Cell: String
746
+ # @param Iccid: 当前上报运营商ID
747
+ # 注意:此字段可能返回 null,表示取不到有效值。
748
+ # @type Iccid: String
749
+ # @param Rss: 信号强度
750
+ # 注意:此字段可能返回 null,表示取不到有效值。
751
+ # @type Rss: Integer
752
+ # @param Tele: 运营商: 1 移动 2 联通 3 电信
753
+ # 注意:此字段可能返回 null,表示取不到有效值。
754
+ # @type Tele: Integer
755
+ # @param Tid: 当前设备策略ID
756
+ # 注意:此字段可能返回 null,表示取不到有效值。
757
+ # @type Tid: Integer
758
+ # @param Ping: 心跳间隔,单位秒
759
+ # 注意:此字段可能返回 null,表示取不到有效值。
760
+ # @type Ping: Integer
761
+ # @param Delay: 网络延迟,单位毫秒
762
+ # 注意:此字段可能返回 null,表示取不到有效值。
763
+ # @type Delay: Integer
764
+ # @param Log: 高级日志启停状态
765
+ # 注意:此字段可能返回 null,表示取不到有效值。
766
+ # @type Log: Integer
767
+ # @param DevType: 设备型号
768
+ # 注意:此字段可能返回 null,表示取不到有效值。
769
+ # @type DevType: String
770
+ # @param DevModel: 设备型号
771
+ # 注意:此字段可能返回 null,表示取不到有效值。
772
+ # @type DevModel: String
773
+ # @param Version: 设备版本
774
+ # 注意:此字段可能返回 null,表示取不到有效值。
775
+ # @type Version: String
776
+ # @param UploadTime: 设备刷新时间戳
777
+ # 注意:此字段可能返回 null,表示取不到有效值。
778
+ # @type UploadTime: String
779
+ # @param Status: 网络环境: 0 正常 1 弱网
780
+ # 注意:此字段可能返回 null,表示取不到有效值。
781
+ # @type Status: Integer
782
+ # @param MonthFirstTime: 每月第一次上报心跳时间
783
+ # 注意:此字段可能返回 null,表示取不到有效值。
784
+ # @type MonthFirstTime: String
785
+
786
+ attr_accessor :Imei, :Lng, :Lat, :Lac, :Cell, :Iccid, :Rss, :Tele, :Tid, :Ping, :Delay, :Log, :DevType, :DevModel, :Version, :UploadTime, :Status, :MonthFirstTime
787
+
788
+ def initialize(imei=nil, lng=nil, lat=nil, lac=nil, cell=nil, iccid=nil, rss=nil, tele=nil, tid=nil, ping=nil, delay=nil, log=nil, devtype=nil, devmodel=nil, version=nil, uploadtime=nil, status=nil, monthfirsttime=nil)
789
+ @Imei = imei
790
+ @Lng = lng
791
+ @Lat = lat
792
+ @Lac = lac
793
+ @Cell = cell
794
+ @Iccid = iccid
795
+ @Rss = rss
796
+ @Tele = tele
797
+ @Tid = tid
798
+ @Ping = ping
799
+ @Delay = delay
800
+ @Log = log
801
+ @DevType = devtype
802
+ @DevModel = devmodel
803
+ @Version = version
804
+ @UploadTime = uploadtime
805
+ @Status = status
806
+ @MonthFirstTime = monthfirsttime
807
+ end
808
+
809
+ def deserialize(params)
810
+ @Imei = params['Imei']
811
+ @Lng = params['Lng']
812
+ @Lat = params['Lat']
813
+ @Lac = params['Lac']
814
+ @Cell = params['Cell']
815
+ @Iccid = params['Iccid']
816
+ @Rss = params['Rss']
817
+ @Tele = params['Tele']
818
+ @Tid = params['Tid']
819
+ @Ping = params['Ping']
820
+ @Delay = params['Delay']
821
+ @Log = params['Log']
822
+ @DevType = params['DevType']
823
+ @DevModel = params['DevModel']
824
+ @Version = params['Version']
825
+ @UploadTime = params['UploadTime']
826
+ @Status = params['Status']
827
+ @MonthFirstTime = params['MonthFirstTime']
828
+ end
829
+ end
830
+
831
+ # 云兔连接详细信息
832
+ class LinkDetailInfo < TencentCloud::Common::AbstractModel
833
+ # @param ID: 云兔连接ID
834
+ # 注意:此字段可能返回 null,表示取不到有效值。
835
+ # @type ID: Integer
836
+ # @param Status: 卡片状态
837
+ # 注意:此字段可能返回 null,表示取不到有效值。
838
+ # @type Status: Integer
839
+ # @param ActiveTime: 激活时间
840
+ # 注意:此字段可能返回 null,表示取不到有效值。
841
+ # @type ActiveTime: String
842
+ # @param ExpireTime: 过期时间
843
+ # 注意:此字段可能返回 null,表示取不到有效值。
844
+ # @type ExpireTime: String
845
+ # @param DataUse: 数据用量
846
+ # 注意:此字段可能返回 null,表示取不到有效值。
847
+ # @type DataUse: Float
848
+ # @param AudioUse: 语音用量
849
+ # 注意:此字段可能返回 null,表示取不到有效值。
850
+ # @type AudioUse: Integer
851
+ # @param SmsUse: 短信用量
852
+ # 注意:此字段可能返回 null,表示取不到有效值。
853
+ # @type SmsUse: Integer
854
+ # @param LinkedState: 在线状态 0 未激活 1 在线 2 离线
855
+ # 注意:此字段可能返回 null,表示取不到有效值。
856
+ # @type LinkedState: Integer
857
+ # @param TacticID: 预期策略ID
858
+ # 注意:此字段可能返回 null,表示取不到有效值。
859
+ # @type TacticID: Integer
860
+ # @param TacticStatus: 策略下发状态
861
+ # 注意:此字段可能返回 null,表示取不到有效值。
862
+ # @type TacticStatus: Integer
863
+ # @param TacticExpireTime: 策略下发成功过期时间
864
+ # 注意:此字段可能返回 null,表示取不到有效值。
865
+ # @type TacticExpireTime: String
866
+ # @param IsActiveLog: 高级日志预期状态
867
+ # 注意:此字段可能返回 null,表示取不到有效值。
868
+ # @type IsActiveLog: Boolean
869
+ # @param TeleOperator: 运营商 1移动 2联通 3电信
870
+ # 注意:此字段可能返回 null,表示取不到有效值。
871
+ # @type TeleOperator: Integer
872
+ # @param Report: 设备最新上报信息
873
+ # 注意:此字段可能返回 null,表示取不到有效值。
874
+ # @type Report: :class:`Tencentcloud::Hasim.v20210716.models.DeviceReport`
875
+ # @param Tags: 标签列表
876
+ # 注意:此字段可能返回 null,表示取不到有效值。
877
+ # @type Tags: Array
878
+ # @param Cards: 运营商ICCID信息集合
879
+ # 注意:此字段可能返回 null,表示取不到有效值。
880
+ # @type Cards: Array
881
+ # @param CardID: 云兔实际卡片ID
882
+ # 注意:此字段可能返回 null,表示取不到有效值。
883
+ # @type CardID: String
884
+
885
+ attr_accessor :ID, :Status, :ActiveTime, :ExpireTime, :DataUse, :AudioUse, :SmsUse, :LinkedState, :TacticID, :TacticStatus, :TacticExpireTime, :IsActiveLog, :TeleOperator, :Report, :Tags, :Cards, :CardID
886
+
887
+ def initialize(id=nil, status=nil, activetime=nil, expiretime=nil, datause=nil, audiouse=nil, smsuse=nil, linkedstate=nil, tacticid=nil, tacticstatus=nil, tacticexpiretime=nil, isactivelog=nil, teleoperator=nil, report=nil, tags=nil, cards=nil, cardid=nil)
888
+ @ID = id
889
+ @Status = status
890
+ @ActiveTime = activetime
891
+ @ExpireTime = expiretime
892
+ @DataUse = datause
893
+ @AudioUse = audiouse
894
+ @SmsUse = smsuse
895
+ @LinkedState = linkedstate
896
+ @TacticID = tacticid
897
+ @TacticStatus = tacticstatus
898
+ @TacticExpireTime = tacticexpiretime
899
+ @IsActiveLog = isactivelog
900
+ @TeleOperator = teleoperator
901
+ @Report = report
902
+ @Tags = tags
903
+ @Cards = cards
904
+ @CardID = cardid
905
+ end
906
+
907
+ def deserialize(params)
908
+ @ID = params['ID']
909
+ @Status = params['Status']
910
+ @ActiveTime = params['ActiveTime']
911
+ @ExpireTime = params['ExpireTime']
912
+ @DataUse = params['DataUse']
913
+ @AudioUse = params['AudioUse']
914
+ @SmsUse = params['SmsUse']
915
+ @LinkedState = params['LinkedState']
916
+ @TacticID = params['TacticID']
917
+ @TacticStatus = params['TacticStatus']
918
+ @TacticExpireTime = params['TacticExpireTime']
919
+ @IsActiveLog = params['IsActiveLog']
920
+ @TeleOperator = params['TeleOperator']
921
+ unless params['Report'].nil?
922
+ @Report = DeviceReport.new
923
+ @Report.deserialize(params['Report'])
924
+ end
925
+ unless params['Tags'].nil?
926
+ @Tags = []
927
+ params['Tags'].each do |i|
928
+ tag_tmp = Tag.new
929
+ tag_tmp.deserialize(i)
930
+ @Tags << tag_tmp
931
+ end
932
+ end
933
+ unless params['Cards'].nil?
934
+ @Cards = []
935
+ params['Cards'].each do |i|
936
+ teleoperatorcard_tmp = TeleOperatorCard.new
937
+ teleoperatorcard_tmp.deserialize(i)
938
+ @Cards << teleoperatorcard_tmp
939
+ end
940
+ end
941
+ @CardID = params['CardID']
942
+ end
943
+ end
944
+
945
+ # 云兔连接基本信息
946
+ class LinkInfo < TencentCloud::Common::AbstractModel
947
+ # @param ID: 云兔连接ID
948
+ # 注意:此字段可能返回 null,表示取不到有效值。
949
+ # @type ID: Integer
950
+ # @param Status: 卡片状态
951
+ # 注意:此字段可能返回 null,表示取不到有效值。
952
+ # @type Status: Integer
953
+ # @param ActiveTime: 激活时间
954
+ # 注意:此字段可能返回 null,表示取不到有效值。
955
+ # @type ActiveTime: String
956
+ # @param ExpireTime: 过期时间
957
+ # 注意:此字段可能返回 null,表示取不到有效值。
958
+ # @type ExpireTime: String
959
+ # @param DataUse: 数据用量
960
+ # 注意:此字段可能返回 null,表示取不到有效值。
961
+ # @type DataUse: Float
962
+ # @param AudioUse: 语音用量
963
+ # 注意:此字段可能返回 null,表示取不到有效值。
964
+ # @type AudioUse: Integer
965
+ # @param SmsUse: 短信用量
966
+ # 注意:此字段可能返回 null,表示取不到有效值。
967
+ # @type SmsUse: Integer
968
+ # @param LinkedState: 在线状态 0 未激活 1 在线 2 离线
969
+ # 注意:此字段可能返回 null,表示取不到有效值。
970
+ # @type LinkedState: Integer
971
+ # @param TacticID: 预期策略ID
972
+ # 注意:此字段可能返回 null,表示取不到有效值。
973
+ # @type TacticID: Integer
974
+ # @param TacticStatus: 策略下发状态
975
+ # 注意:此字段可能返回 null,表示取不到有效值。
976
+ # @type TacticStatus: Integer
977
+ # @param TacticExpireTime: 策略下发成功过期时间
978
+ # 注意:此字段可能返回 null,表示取不到有效值。
979
+ # @type TacticExpireTime: String
980
+ # @param IsActiveLog: 高级日志预期状态
981
+ # 注意:此字段可能返回 null,表示取不到有效值。
982
+ # @type IsActiveLog: Boolean
983
+ # @param TeleOperator: 运营商 1移动 2联通 3电信
984
+ # 注意:此字段可能返回 null,表示取不到有效值。
985
+ # @type TeleOperator: Integer
986
+ # @param Report: 设备最新上报信息
987
+ # 注意:此字段可能返回 null,表示取不到有效值。
988
+ # @type Report: :class:`Tencentcloud::Hasim.v20210716.models.DeviceReport`
989
+
990
+ attr_accessor :ID, :Status, :ActiveTime, :ExpireTime, :DataUse, :AudioUse, :SmsUse, :LinkedState, :TacticID, :TacticStatus, :TacticExpireTime, :IsActiveLog, :TeleOperator, :Report
991
+
992
+ def initialize(id=nil, status=nil, activetime=nil, expiretime=nil, datause=nil, audiouse=nil, smsuse=nil, linkedstate=nil, tacticid=nil, tacticstatus=nil, tacticexpiretime=nil, isactivelog=nil, teleoperator=nil, report=nil)
993
+ @ID = id
994
+ @Status = status
995
+ @ActiveTime = activetime
996
+ @ExpireTime = expiretime
997
+ @DataUse = datause
998
+ @AudioUse = audiouse
999
+ @SmsUse = smsuse
1000
+ @LinkedState = linkedstate
1001
+ @TacticID = tacticid
1002
+ @TacticStatus = tacticstatus
1003
+ @TacticExpireTime = tacticexpiretime
1004
+ @IsActiveLog = isactivelog
1005
+ @TeleOperator = teleoperator
1006
+ @Report = report
1007
+ end
1008
+
1009
+ def deserialize(params)
1010
+ @ID = params['ID']
1011
+ @Status = params['Status']
1012
+ @ActiveTime = params['ActiveTime']
1013
+ @ExpireTime = params['ExpireTime']
1014
+ @DataUse = params['DataUse']
1015
+ @AudioUse = params['AudioUse']
1016
+ @SmsUse = params['SmsUse']
1017
+ @LinkedState = params['LinkedState']
1018
+ @TacticID = params['TacticID']
1019
+ @TacticStatus = params['TacticStatus']
1020
+ @TacticExpireTime = params['TacticExpireTime']
1021
+ @IsActiveLog = params['IsActiveLog']
1022
+ @TeleOperator = params['TeleOperator']
1023
+ unless params['Report'].nil?
1024
+ @Report = DeviceReport.new
1025
+ @Report.deserialize(params['Report'])
1026
+ end
1027
+ end
1028
+ end
1029
+
1030
+ # 云兔连接信息集合
1031
+ class LinkInfos < TencentCloud::Common::AbstractModel
1032
+ # @param Total: 总量
1033
+ # @type Total: Integer
1034
+ # @param List: 云兔连接列表
1035
+ # 注意:此字段可能返回 null,表示取不到有效值。
1036
+ # @type List: Array
1037
+
1038
+ attr_accessor :Total, :List
1039
+
1040
+ def initialize(total=nil, list=nil)
1041
+ @Total = total
1042
+ @List = list
1043
+ end
1044
+
1045
+ def deserialize(params)
1046
+ @Total = params['Total']
1047
+ unless params['List'].nil?
1048
+ @List = []
1049
+ params['List'].each do |i|
1050
+ linkinfo_tmp = LinkInfo.new
1051
+ linkinfo_tmp.deserialize(i)
1052
+ @List << linkinfo_tmp
1053
+ end
1054
+ end
1055
+ end
1056
+ end
1057
+
1058
+ # ModifyLinkAdvancedLog请求参数结构体
1059
+ class ModifyLinkAdvancedLogRequest < TencentCloud::Common::AbstractModel
1060
+ # @param LinkID: 云兔ID
1061
+ # @type LinkID: Integer
1062
+ # @param IsAdLog: 是否激活高级日志 0 关闭 1激活
1063
+ # @type IsAdLog: Integer
1064
+
1065
+ attr_accessor :LinkID, :IsAdLog
1066
+
1067
+ def initialize(linkid=nil, isadlog=nil)
1068
+ @LinkID = linkid
1069
+ @IsAdLog = isadlog
1070
+ end
1071
+
1072
+ def deserialize(params)
1073
+ @LinkID = params['LinkID']
1074
+ @IsAdLog = params['IsAdLog']
1075
+ end
1076
+ end
1077
+
1078
+ # ModifyLinkAdvancedLog返回参数结构体
1079
+ class ModifyLinkAdvancedLogResponse < TencentCloud::Common::AbstractModel
1080
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1081
+ # @type RequestId: String
1082
+
1083
+ attr_accessor :RequestId
1084
+
1085
+ def initialize(requestid=nil)
1086
+ @RequestId = requestid
1087
+ end
1088
+
1089
+ def deserialize(params)
1090
+ @RequestId = params['RequestId']
1091
+ end
1092
+ end
1093
+
1094
+ # ModifyLinkTactic请求参数结构体
1095
+ class ModifyLinkTacticRequest < TencentCloud::Common::AbstractModel
1096
+ # @param LinkID: 云兔ID
1097
+ # @type LinkID: Integer
1098
+ # @param TacticID: 策略ID
1099
+ # @type TacticID: Integer
1100
+
1101
+ attr_accessor :LinkID, :TacticID
1102
+
1103
+ def initialize(linkid=nil, tacticid=nil)
1104
+ @LinkID = linkid
1105
+ @TacticID = tacticid
1106
+ end
1107
+
1108
+ def deserialize(params)
1109
+ @LinkID = params['LinkID']
1110
+ @TacticID = params['TacticID']
1111
+ end
1112
+ end
1113
+
1114
+ # ModifyLinkTactic返回参数结构体
1115
+ class ModifyLinkTacticResponse < TencentCloud::Common::AbstractModel
1116
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1117
+ # @type RequestId: String
1118
+
1119
+ attr_accessor :RequestId
1120
+
1121
+ def initialize(requestid=nil)
1122
+ @RequestId = requestid
1123
+ end
1124
+
1125
+ def deserialize(params)
1126
+ @RequestId = params['RequestId']
1127
+ end
1128
+ end
1129
+
1130
+ # ModifyLinkTele请求参数结构体
1131
+ class ModifyLinkTeleRequest < TencentCloud::Common::AbstractModel
1132
+ # @param LinkID: 云兔ID
1133
+ # @type LinkID: Integer
1134
+ # @param TeleOperator: 运营商 1 移动 2 联通 3 电信
1135
+ # @type TeleOperator: Integer
1136
+
1137
+ attr_accessor :LinkID, :TeleOperator
1138
+
1139
+ def initialize(linkid=nil, teleoperator=nil)
1140
+ @LinkID = linkid
1141
+ @TeleOperator = teleoperator
1142
+ end
1143
+
1144
+ def deserialize(params)
1145
+ @LinkID = params['LinkID']
1146
+ @TeleOperator = params['TeleOperator']
1147
+ end
1148
+ end
1149
+
1150
+ # ModifyLinkTele返回参数结构体
1151
+ class ModifyLinkTeleResponse < TencentCloud::Common::AbstractModel
1152
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1153
+ # @type RequestId: String
1154
+
1155
+ attr_accessor :RequestId
1156
+
1157
+ def initialize(requestid=nil)
1158
+ @RequestId = requestid
1159
+ end
1160
+
1161
+ def deserialize(params)
1162
+ @RequestId = params['RequestId']
1163
+ end
1164
+ end
1165
+
1166
+ # ModifyRule请求参数结构体
1167
+ class ModifyRuleRequest < TencentCloud::Common::AbstractModel
1168
+ # @param Name: 自动化规则名称
1169
+ # @type Name: String
1170
+ # @param Type: 规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)
1171
+ # @type Type: Integer
1172
+ # @param IsActive: 是否激活
1173
+ # @type IsActive: Boolean
1174
+ # @param Notice: 触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点
1175
+ # @type Notice: Integer
1176
+ # @param RuleID: 自动化规则ID
1177
+ # @type RuleID: Integer
1178
+ # @param Email: 邮箱
1179
+ # @type Email: String
1180
+ # @param Url: 推送的API地址
1181
+ # @type Url: String
1182
+ # @param DataThreshold: 用量阈值
1183
+ # @type DataThreshold: Integer
1184
+ # @param District: 行政区类型:1. 省份 2. 城市 3. 区
1185
+ # @type District: Integer
1186
+ # @param Distance: 心跳移动距离阈值
1187
+ # @type Distance: Integer
1188
+ # @param SignalStrength: 信号强度阈值
1189
+ # @type SignalStrength: Integer
1190
+ # @param TagIDs: 标签ID集合
1191
+ # @type TagIDs: Array
1192
+ # @param SalePlan: 资费计划
1193
+ # @type SalePlan: String
1194
+ # @param UinAccount: 具体的账号
1195
+ # @type UinAccount: String
1196
+
1197
+ attr_accessor :Name, :Type, :IsActive, :Notice, :RuleID, :Email, :Url, :DataThreshold, :District, :Distance, :SignalStrength, :TagIDs, :SalePlan, :UinAccount
1198
+
1199
+ def initialize(name=nil, type=nil, isactive=nil, notice=nil, ruleid=nil, email=nil, url=nil, datathreshold=nil, district=nil, distance=nil, signalstrength=nil, tagids=nil, saleplan=nil, uinaccount=nil)
1200
+ @Name = name
1201
+ @Type = type
1202
+ @IsActive = isactive
1203
+ @Notice = notice
1204
+ @RuleID = ruleid
1205
+ @Email = email
1206
+ @Url = url
1207
+ @DataThreshold = datathreshold
1208
+ @District = district
1209
+ @Distance = distance
1210
+ @SignalStrength = signalstrength
1211
+ @TagIDs = tagids
1212
+ @SalePlan = saleplan
1213
+ @UinAccount = uinaccount
1214
+ end
1215
+
1216
+ def deserialize(params)
1217
+ @Name = params['Name']
1218
+ @Type = params['Type']
1219
+ @IsActive = params['IsActive']
1220
+ @Notice = params['Notice']
1221
+ @RuleID = params['RuleID']
1222
+ @Email = params['Email']
1223
+ @Url = params['Url']
1224
+ @DataThreshold = params['DataThreshold']
1225
+ @District = params['District']
1226
+ @Distance = params['Distance']
1227
+ @SignalStrength = params['SignalStrength']
1228
+ @TagIDs = params['TagIDs']
1229
+ @SalePlan = params['SalePlan']
1230
+ @UinAccount = params['UinAccount']
1231
+ end
1232
+ end
1233
+
1234
+ # ModifyRule返回参数结构体
1235
+ class ModifyRuleResponse < TencentCloud::Common::AbstractModel
1236
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1237
+ # @type RequestId: String
1238
+
1239
+ attr_accessor :RequestId
1240
+
1241
+ def initialize(requestid=nil)
1242
+ @RequestId = requestid
1243
+ end
1244
+
1245
+ def deserialize(params)
1246
+ @RequestId = params['RequestId']
1247
+ end
1248
+ end
1249
+
1250
+ # ModifyRuleStatus请求参数结构体
1251
+ class ModifyRuleStatusRequest < TencentCloud::Common::AbstractModel
1252
+ # @param RuleID: 自动化规则ID
1253
+ # @type RuleID: Integer
1254
+ # @param IsActive: 是否激活
1255
+ # @type IsActive: Boolean
1256
+
1257
+ attr_accessor :RuleID, :IsActive
1258
+
1259
+ def initialize(ruleid=nil, isactive=nil)
1260
+ @RuleID = ruleid
1261
+ @IsActive = isactive
1262
+ end
1263
+
1264
+ def deserialize(params)
1265
+ @RuleID = params['RuleID']
1266
+ @IsActive = params['IsActive']
1267
+ end
1268
+ end
1269
+
1270
+ # ModifyRuleStatus返回参数结构体
1271
+ class ModifyRuleStatusResponse < TencentCloud::Common::AbstractModel
1272
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1273
+ # @type RequestId: String
1274
+
1275
+ attr_accessor :RequestId
1276
+
1277
+ def initialize(requestid=nil)
1278
+ @RequestId = requestid
1279
+ end
1280
+
1281
+ def deserialize(params)
1282
+ @RequestId = params['RequestId']
1283
+ end
1284
+ end
1285
+
1286
+ # ModifyTactic请求参数结构体
1287
+ class ModifyTacticRequest < TencentCloud::Common::AbstractModel
1288
+ # @param Name: 策略名称
1289
+ # @type Name: String
1290
+ # @param IsAuto: 是否自动执行
1291
+ # @type IsAuto: Integer
1292
+ # @param PingInterval: 心跳上报间隔(s)
1293
+ # @type PingInterval: Integer
1294
+ # @param IsWeak: 是否开启弱信号检测
1295
+ # @type IsWeak: Integer
1296
+ # @param WeakThreshold: 弱信号阈值(-dbm)
1297
+ # @type WeakThreshold: Integer
1298
+ # @param IsDelay: 是否开启时延切换
1299
+ # @type IsDelay: Integer
1300
+ # @param DelayThreshold: 网络时延阈值(ms)
1301
+ # @type DelayThreshold: Integer
1302
+ # @param IsFake: 是否开启假信号检测
1303
+ # @type IsFake: Integer
1304
+ # @param FakeInterval: 假信号检测间隔(s)
1305
+ # @type FakeInterval: Integer
1306
+ # @param IsNet: 是否开启网络制式检测
1307
+ # @type IsNet: Integer
1308
+ # @param Network: 网络回落制式 1 2G、 2 3G 、 3 2/3G
1309
+ # @type Network: Integer
1310
+ # @param IsMove: 是否开启移动检测
1311
+ # @type IsMove: Integer
1312
+ # @param TacticID: 策略ID
1313
+ # @type TacticID: Integer
1314
+ # @param IsPriorityTele: 是否开启最优先运营商
1315
+ # @type IsPriorityTele: Integer
1316
+ # @param PriorityTele: 最优先运营商 1 移动、 2 联通、 3 电信 4 上次在线运营商
1317
+ # @type PriorityTele: Integer
1318
+ # @param IsBottomTele: 是否开启最不优先运营商
1319
+ # @type IsBottomTele: Integer
1320
+ # @param BottomTele: 最不优先运营商 1 移动、 2 联通、 3 电信
1321
+ # @type BottomTele: Integer
1322
+ # @param IsBestSignal: 是否最优先信号选取策略
1323
+ # @type IsBestSignal: Integer
1324
+ # @param FakeIP: 假信号检测IP字符串,用逗号分隔
1325
+ # @type FakeIP: String
1326
+
1327
+ attr_accessor :Name, :IsAuto, :PingInterval, :IsWeak, :WeakThreshold, :IsDelay, :DelayThreshold, :IsFake, :FakeInterval, :IsNet, :Network, :IsMove, :TacticID, :IsPriorityTele, :PriorityTele, :IsBottomTele, :BottomTele, :IsBestSignal, :FakeIP
1328
+
1329
+ def initialize(name=nil, isauto=nil, pinginterval=nil, isweak=nil, weakthreshold=nil, isdelay=nil, delaythreshold=nil, isfake=nil, fakeinterval=nil, isnet=nil, network=nil, ismove=nil, tacticid=nil, isprioritytele=nil, prioritytele=nil, isbottomtele=nil, bottomtele=nil, isbestsignal=nil, fakeip=nil)
1330
+ @Name = name
1331
+ @IsAuto = isauto
1332
+ @PingInterval = pinginterval
1333
+ @IsWeak = isweak
1334
+ @WeakThreshold = weakthreshold
1335
+ @IsDelay = isdelay
1336
+ @DelayThreshold = delaythreshold
1337
+ @IsFake = isfake
1338
+ @FakeInterval = fakeinterval
1339
+ @IsNet = isnet
1340
+ @Network = network
1341
+ @IsMove = ismove
1342
+ @TacticID = tacticid
1343
+ @IsPriorityTele = isprioritytele
1344
+ @PriorityTele = prioritytele
1345
+ @IsBottomTele = isbottomtele
1346
+ @BottomTele = bottomtele
1347
+ @IsBestSignal = isbestsignal
1348
+ @FakeIP = fakeip
1349
+ end
1350
+
1351
+ def deserialize(params)
1352
+ @Name = params['Name']
1353
+ @IsAuto = params['IsAuto']
1354
+ @PingInterval = params['PingInterval']
1355
+ @IsWeak = params['IsWeak']
1356
+ @WeakThreshold = params['WeakThreshold']
1357
+ @IsDelay = params['IsDelay']
1358
+ @DelayThreshold = params['DelayThreshold']
1359
+ @IsFake = params['IsFake']
1360
+ @FakeInterval = params['FakeInterval']
1361
+ @IsNet = params['IsNet']
1362
+ @Network = params['Network']
1363
+ @IsMove = params['IsMove']
1364
+ @TacticID = params['TacticID']
1365
+ @IsPriorityTele = params['IsPriorityTele']
1366
+ @PriorityTele = params['PriorityTele']
1367
+ @IsBottomTele = params['IsBottomTele']
1368
+ @BottomTele = params['BottomTele']
1369
+ @IsBestSignal = params['IsBestSignal']
1370
+ @FakeIP = params['FakeIP']
1371
+ end
1372
+ end
1373
+
1374
+ # ModifyTactic返回参数结构体
1375
+ class ModifyTacticResponse < TencentCloud::Common::AbstractModel
1376
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1377
+ # @type RequestId: String
1378
+
1379
+ attr_accessor :RequestId
1380
+
1381
+ def initialize(requestid=nil)
1382
+ @RequestId = requestid
1383
+ end
1384
+
1385
+ def deserialize(params)
1386
+ @RequestId = params['RequestId']
1387
+ end
1388
+ end
1389
+
1390
+ # ModifyTag请求参数结构体
1391
+ class ModifyTagRequest < TencentCloud::Common::AbstractModel
1392
+ # @param Name: 名称
1393
+ # @type Name: String
1394
+ # @param TagID: 标签ID
1395
+ # @type TagID: Integer
1396
+ # @param Comment: 备注
1397
+ # @type Comment: String
1398
+
1399
+ attr_accessor :Name, :TagID, :Comment
1400
+
1401
+ def initialize(name=nil, tagid=nil, comment=nil)
1402
+ @Name = name
1403
+ @TagID = tagid
1404
+ @Comment = comment
1405
+ end
1406
+
1407
+ def deserialize(params)
1408
+ @Name = params['Name']
1409
+ @TagID = params['TagID']
1410
+ @Comment = params['Comment']
1411
+ end
1412
+ end
1413
+
1414
+ # ModifyTag返回参数结构体
1415
+ class ModifyTagResponse < TencentCloud::Common::AbstractModel
1416
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1417
+ # @type RequestId: String
1418
+
1419
+ attr_accessor :RequestId
1420
+
1421
+ def initialize(requestid=nil)
1422
+ @RequestId = requestid
1423
+ end
1424
+
1425
+ def deserialize(params)
1426
+ @RequestId = params['RequestId']
1427
+ end
1428
+ end
1429
+
1430
+ # 订单信息
1431
+ class OrderInfo < TencentCloud::Common::AbstractModel
1432
+ # @param DealName: 子订单ID
1433
+ # @type DealName: String
1434
+ # @param CreatedAt: 创建时间
1435
+ # 注意:此字段可能返回 null,表示取不到有效值。
1436
+ # @type CreatedAt: String
1437
+ # @param Uin: 订单账户
1438
+ # @type Uin: String
1439
+ # @param BuyNum: 购买数量
1440
+ # 注意:此字段可能返回 null,表示取不到有效值。
1441
+ # @type BuyNum: Integer
1442
+ # @param IndustryCode: 行业代码
1443
+ # 注意:此字段可能返回 null,表示取不到有效值。
1444
+ # @type IndustryCode: String
1445
+ # @param Address: 地址
1446
+ # 注意:此字段可能返回 null,表示取不到有效值。
1447
+ # @type Address: String
1448
+ # @param Contact: 联系人
1449
+ # 注意:此字段可能返回 null,表示取不到有效值。
1450
+ # @type Contact: String
1451
+ # @param Msisdn: 电话号码
1452
+ # 注意:此字段可能返回 null,表示取不到有效值。
1453
+ # @type Msisdn: String
1454
+ # @param Specification: 卡片规格
1455
+ # 注意:此字段可能返回 null,表示取不到有效值。
1456
+ # @type Specification: String
1457
+ # @param Comment: 用户订单备注
1458
+ # 注意:此字段可能返回 null,表示取不到有效值。
1459
+ # @type Comment: String
1460
+ # @param BigDealId: 大订单号
1461
+ # 注意:此字段可能返回 null,表示取不到有效值。
1462
+ # @type BigDealId: String
1463
+ # @param AuditStatus: 审批状态
1464
+ # 注意:此字段可能返回 null,表示取不到有效值。
1465
+ # @type AuditStatus: String
1466
+ # @param FlowStatus: 发货状态
1467
+ # 注意:此字段可能返回 null,表示取不到有效值。
1468
+ # @type FlowStatus: String
1469
+ # @param Remark: 审批备注
1470
+ # 注意:此字段可能返回 null,表示取不到有效值。
1471
+ # @type Remark: String
1472
+ # @param RefundBigDealId: 退费订单
1473
+ # 注意:此字段可能返回 null,表示取不到有效值。
1474
+ # @type RefundBigDealId: String
1475
+
1476
+ attr_accessor :DealName, :CreatedAt, :Uin, :BuyNum, :IndustryCode, :Address, :Contact, :Msisdn, :Specification, :Comment, :BigDealId, :AuditStatus, :FlowStatus, :Remark, :RefundBigDealId
1477
+
1478
+ def initialize(dealname=nil, createdat=nil, uin=nil, buynum=nil, industrycode=nil, address=nil, contact=nil, msisdn=nil, specification=nil, comment=nil, bigdealid=nil, auditstatus=nil, flowstatus=nil, remark=nil, refundbigdealid=nil)
1479
+ @DealName = dealname
1480
+ @CreatedAt = createdat
1481
+ @Uin = uin
1482
+ @BuyNum = buynum
1483
+ @IndustryCode = industrycode
1484
+ @Address = address
1485
+ @Contact = contact
1486
+ @Msisdn = msisdn
1487
+ @Specification = specification
1488
+ @Comment = comment
1489
+ @BigDealId = bigdealid
1490
+ @AuditStatus = auditstatus
1491
+ @FlowStatus = flowstatus
1492
+ @Remark = remark
1493
+ @RefundBigDealId = refundbigdealid
1494
+ end
1495
+
1496
+ def deserialize(params)
1497
+ @DealName = params['DealName']
1498
+ @CreatedAt = params['CreatedAt']
1499
+ @Uin = params['Uin']
1500
+ @BuyNum = params['BuyNum']
1501
+ @IndustryCode = params['IndustryCode']
1502
+ @Address = params['Address']
1503
+ @Contact = params['Contact']
1504
+ @Msisdn = params['Msisdn']
1505
+ @Specification = params['Specification']
1506
+ @Comment = params['Comment']
1507
+ @BigDealId = params['BigDealId']
1508
+ @AuditStatus = params['AuditStatus']
1509
+ @FlowStatus = params['FlowStatus']
1510
+ @Remark = params['Remark']
1511
+ @RefundBigDealId = params['RefundBigDealId']
1512
+ end
1513
+ end
1514
+
1515
+ # 订单列表
1516
+ class Orders < TencentCloud::Common::AbstractModel
1517
+ # @param Total: 总数
1518
+ # @type Total: Integer
1519
+ # @param List: 订单集合
1520
+ # 注意:此字段可能返回 null,表示取不到有效值。
1521
+ # @type List: Array
1522
+
1523
+ attr_accessor :Total, :List
1524
+
1525
+ def initialize(total=nil, list=nil)
1526
+ @Total = total
1527
+ @List = list
1528
+ end
1529
+
1530
+ def deserialize(params)
1531
+ @Total = params['Total']
1532
+ unless params['List'].nil?
1533
+ @List = []
1534
+ params['List'].each do |i|
1535
+ orderinfo_tmp = OrderInfo.new
1536
+ orderinfo_tmp.deserialize(i)
1537
+ @List << orderinfo_tmp
1538
+ end
1539
+ end
1540
+ end
1541
+ end
1542
+
1543
+ # RenewLinkInfo请求参数结构体
1544
+ class RenewLinkInfoRequest < TencentCloud::Common::AbstractModel
1545
+ # @param LinkID: 云兔ID
1546
+ # @type LinkID: Integer
1547
+ # @param UinAccount: 具体的账号
1548
+ # @type UinAccount: String
1549
+
1550
+ attr_accessor :LinkID, :UinAccount
1551
+
1552
+ def initialize(linkid=nil, uinaccount=nil)
1553
+ @LinkID = linkid
1554
+ @UinAccount = uinaccount
1555
+ end
1556
+
1557
+ def deserialize(params)
1558
+ @LinkID = params['LinkID']
1559
+ @UinAccount = params['UinAccount']
1560
+ end
1561
+ end
1562
+
1563
+ # RenewLinkInfo返回参数结构体
1564
+ class RenewLinkInfoResponse < TencentCloud::Common::AbstractModel
1565
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1566
+ # @type RequestId: String
1567
+
1568
+ attr_accessor :RequestId
1569
+
1570
+ def initialize(requestid=nil)
1571
+ @RequestId = requestid
1572
+ end
1573
+
1574
+ def deserialize(params)
1575
+ @RequestId = params['RequestId']
1576
+ end
1577
+ end
1578
+
1579
+ # 自动化规则
1580
+ class Rule < TencentCloud::Common::AbstractModel
1581
+ # @param Name: 规则名称
1582
+ # @type Name: String
1583
+ # @param ID: 规则ID
1584
+ # @type ID: Integer
1585
+ # @param CreatedAt: 创建时间
1586
+ # 注意:此字段可能返回 null,表示取不到有效值。
1587
+ # @type CreatedAt: String
1588
+ # @param UpdatedAt: 更新时间
1589
+ # 注意:此字段可能返回 null,表示取不到有效值。
1590
+ # @type UpdatedAt: String
1591
+ # @param DeletedAt: 删除时间
1592
+ # 注意:此字段可能返回 null,表示取不到有效值。
1593
+ # @type DeletedAt: String
1594
+ # @param Type: 规则类型
1595
+ # 注意:此字段可能返回 null,表示取不到有效值。
1596
+ # @type Type: Integer
1597
+ # @param IsActive: 是否激活
1598
+ # 注意:此字段可能返回 null,表示取不到有效值。
1599
+ # @type IsActive: Boolean
1600
+ # @param Notice: 触发动作:1 邮件 2 API请求 5 停卡 6 地图标识为盲点
1601
+ # 注意:此字段可能返回 null,表示取不到有效值。
1602
+ # @type Notice: Integer
1603
+ # @param Email: 邮箱
1604
+ # 注意:此字段可能返回 null,表示取不到有效值。
1605
+ # @type Email: String
1606
+ # @param Url: 回调API地址
1607
+ # 注意:此字段可能返回 null,表示取不到有效值。
1608
+ # @type Url: String
1609
+ # @param DataThreshold: 用量类:用量阈值,单位MB
1610
+ # 注意:此字段可能返回 null,表示取不到有效值。
1611
+ # @type DataThreshold: Integer
1612
+ # @param District: 行政区类型:1. 省份 2. 城市 3. 区
1613
+ # 注意:此字段可能返回 null,表示取不到有效值。
1614
+ # @type District: Integer
1615
+ # @param Distance: 移动距离阈值,单位KM
1616
+ # 注意:此字段可能返回 null,表示取不到有效值。
1617
+ # @type Distance: Integer
1618
+ # @param SignalStrength: 信号强度阈值(-dbm)
1619
+ # 注意:此字段可能返回 null,表示取不到有效值。
1620
+ # @type SignalStrength: Integer
1621
+ # @param LostDay: 盲点阈值天数
1622
+ # 注意:此字段可能返回 null,表示取不到有效值。
1623
+ # @type LostDay: Integer
1624
+ # @param TagIDs: 绑定的标签ID集合
1625
+ # 注意:此字段可能返回 null,表示取不到有效值。
1626
+ # @type TagIDs: Array
1627
+ # @param SalePlan: 绑定的资费计划
1628
+ # 注意:此字段可能返回 null,表示取不到有效值。
1629
+ # @type SalePlan: String
1630
+
1631
+ attr_accessor :Name, :ID, :CreatedAt, :UpdatedAt, :DeletedAt, :Type, :IsActive, :Notice, :Email, :Url, :DataThreshold, :District, :Distance, :SignalStrength, :LostDay, :TagIDs, :SalePlan
1632
+
1633
+ def initialize(name=nil, id=nil, createdat=nil, updatedat=nil, deletedat=nil, type=nil, isactive=nil, notice=nil, email=nil, url=nil, datathreshold=nil, district=nil, distance=nil, signalstrength=nil, lostday=nil, tagids=nil, saleplan=nil)
1634
+ @Name = name
1635
+ @ID = id
1636
+ @CreatedAt = createdat
1637
+ @UpdatedAt = updatedat
1638
+ @DeletedAt = deletedat
1639
+ @Type = type
1640
+ @IsActive = isactive
1641
+ @Notice = notice
1642
+ @Email = email
1643
+ @Url = url
1644
+ @DataThreshold = datathreshold
1645
+ @District = district
1646
+ @Distance = distance
1647
+ @SignalStrength = signalstrength
1648
+ @LostDay = lostday
1649
+ @TagIDs = tagids
1650
+ @SalePlan = saleplan
1651
+ end
1652
+
1653
+ def deserialize(params)
1654
+ @Name = params['Name']
1655
+ @ID = params['ID']
1656
+ @CreatedAt = params['CreatedAt']
1657
+ @UpdatedAt = params['UpdatedAt']
1658
+ @DeletedAt = params['DeletedAt']
1659
+ @Type = params['Type']
1660
+ @IsActive = params['IsActive']
1661
+ @Notice = params['Notice']
1662
+ @Email = params['Email']
1663
+ @Url = params['Url']
1664
+ @DataThreshold = params['DataThreshold']
1665
+ @District = params['District']
1666
+ @Distance = params['Distance']
1667
+ @SignalStrength = params['SignalStrength']
1668
+ @LostDay = params['LostDay']
1669
+ @TagIDs = params['TagIDs']
1670
+ @SalePlan = params['SalePlan']
1671
+ end
1672
+ end
1673
+
1674
+ # 自动化规则详细信息
1675
+ class RuleDetail < TencentCloud::Common::AbstractModel
1676
+ # @param Name: 规则名称
1677
+ # @type Name: String
1678
+ # @param ID: 规则ID
1679
+ # @type ID: Integer
1680
+ # @param CreatedAt: 创建时间
1681
+ # 注意:此字段可能返回 null,表示取不到有效值。
1682
+ # @type CreatedAt: String
1683
+ # @param UpdatedAt: 更新时间
1684
+ # 注意:此字段可能返回 null,表示取不到有效值。
1685
+ # @type UpdatedAt: String
1686
+ # @param DeletedAt: 删除时间
1687
+ # 注意:此字段可能返回 null,表示取不到有效值。
1688
+ # @type DeletedAt: String
1689
+ # @param Type: 规则类型
1690
+ # 注意:此字段可能返回 null,表示取不到有效值。
1691
+ # @type Type: Integer
1692
+ # @param IsActive: 是否激活
1693
+ # 注意:此字段可能返回 null,表示取不到有效值。
1694
+ # @type IsActive: Boolean
1695
+ # @param Notice: 触发动作:1 邮件 2 API请求 5 停卡 6 地图标识为盲点
1696
+ # 注意:此字段可能返回 null,表示取不到有效值。
1697
+ # @type Notice: Integer
1698
+ # @param Email: 邮箱
1699
+ # 注意:此字段可能返回 null,表示取不到有效值。
1700
+ # @type Email: String
1701
+ # @param Url: 回调API地址
1702
+ # 注意:此字段可能返回 null,表示取不到有效值。
1703
+ # @type Url: String
1704
+ # @param DataThreshold: 用量类:用量阈值,单位MB
1705
+ # 注意:此字段可能返回 null,表示取不到有效值。
1706
+ # @type DataThreshold: Integer
1707
+ # @param District: 行政区类型:1. 省份 2. 城市 3. 区
1708
+ # 注意:此字段可能返回 null,表示取不到有效值。
1709
+ # @type District: Integer
1710
+ # @param Distance: 移动距离阈值,单位KM
1711
+ # 注意:此字段可能返回 null,表示取不到有效值。
1712
+ # @type Distance: Integer
1713
+ # @param SignalStrength: 信号强度阈值(-dbm)
1714
+ # 注意:此字段可能返回 null,表示取不到有效值。
1715
+ # @type SignalStrength: Integer
1716
+ # @param LostDay: 盲点阈值天数
1717
+ # 注意:此字段可能返回 null,表示取不到有效值。
1718
+ # @type LostDay: Integer
1719
+ # @param TagIDs: 标签ID集合
1720
+ # 注意:此字段可能返回 null,表示取不到有效值。
1721
+ # @type TagIDs: Array
1722
+ # @param SalePlan: 资费信息
1723
+ # 注意:此字段可能返回 null,表示取不到有效值。
1724
+ # @type SalePlan: String
1725
+
1726
+ attr_accessor :Name, :ID, :CreatedAt, :UpdatedAt, :DeletedAt, :Type, :IsActive, :Notice, :Email, :Url, :DataThreshold, :District, :Distance, :SignalStrength, :LostDay, :TagIDs, :SalePlan
1727
+
1728
+ def initialize(name=nil, id=nil, createdat=nil, updatedat=nil, deletedat=nil, type=nil, isactive=nil, notice=nil, email=nil, url=nil, datathreshold=nil, district=nil, distance=nil, signalstrength=nil, lostday=nil, tagids=nil, saleplan=nil)
1729
+ @Name = name
1730
+ @ID = id
1731
+ @CreatedAt = createdat
1732
+ @UpdatedAt = updatedat
1733
+ @DeletedAt = deletedat
1734
+ @Type = type
1735
+ @IsActive = isactive
1736
+ @Notice = notice
1737
+ @Email = email
1738
+ @Url = url
1739
+ @DataThreshold = datathreshold
1740
+ @District = district
1741
+ @Distance = distance
1742
+ @SignalStrength = signalstrength
1743
+ @LostDay = lostday
1744
+ @TagIDs = tagids
1745
+ @SalePlan = saleplan
1746
+ end
1747
+
1748
+ def deserialize(params)
1749
+ @Name = params['Name']
1750
+ @ID = params['ID']
1751
+ @CreatedAt = params['CreatedAt']
1752
+ @UpdatedAt = params['UpdatedAt']
1753
+ @DeletedAt = params['DeletedAt']
1754
+ @Type = params['Type']
1755
+ @IsActive = params['IsActive']
1756
+ @Notice = params['Notice']
1757
+ @Email = params['Email']
1758
+ @Url = params['Url']
1759
+ @DataThreshold = params['DataThreshold']
1760
+ @District = params['District']
1761
+ @Distance = params['Distance']
1762
+ @SignalStrength = params['SignalStrength']
1763
+ @LostDay = params['LostDay']
1764
+ @TagIDs = params['TagIDs']
1765
+ @SalePlan = params['SalePlan']
1766
+ end
1767
+ end
1768
+
1769
+ # 自动化规则集合
1770
+ class RuleInfos < TencentCloud::Common::AbstractModel
1771
+ # @param Total: 总量
1772
+ # @type Total: Integer
1773
+ # @param List: 列表
1774
+ # 注意:此字段可能返回 null,表示取不到有效值。
1775
+ # @type List: Array
1776
+
1777
+ attr_accessor :Total, :List
1778
+
1779
+ def initialize(total=nil, list=nil)
1780
+ @Total = total
1781
+ @List = list
1782
+ end
1783
+
1784
+ def deserialize(params)
1785
+ @Total = params['Total']
1786
+ unless params['List'].nil?
1787
+ @List = []
1788
+ params['List'].each do |i|
1789
+ rule_tmp = Rule.new
1790
+ rule_tmp.deserialize(i)
1791
+ @List << rule_tmp
1792
+ end
1793
+ end
1794
+ end
1795
+ end
1796
+
1797
+ # 策略信息
1798
+ class Tactic < TencentCloud::Common::AbstractModel
1799
+ # @param ID: 策略ID
1800
+ # @type ID: Integer
1801
+ # @param CreatedAt: 创建时间
1802
+ # 注意:此字段可能返回 null,表示取不到有效值。
1803
+ # @type CreatedAt: String
1804
+ # @param IsAuto: 是否自动执行策略
1805
+ # @type IsAuto: Integer
1806
+ # @param PingInterval: 设备上报信息间隔
1807
+ # 注意:此字段可能返回 null,表示取不到有效值。
1808
+ # @type PingInterval: Integer
1809
+ # @param IsWeak: 是否开启弱信号检查
1810
+ # 注意:此字段可能返回 null,表示取不到有效值。
1811
+ # @type IsWeak: Integer
1812
+ # @param WeakThreshold: 弱信号阈值(-dbm)
1813
+ # 注意:此字段可能返回 null,表示取不到有效值。
1814
+ # @type WeakThreshold: Integer
1815
+ # @param IsDelay: 忘了时延切换
1816
+ # 注意:此字段可能返回 null,表示取不到有效值。
1817
+ # @type IsDelay: Integer
1818
+ # @param DelayThreshold: 时延阈值(ms)
1819
+ # 注意:此字段可能返回 null,表示取不到有效值。
1820
+ # @type DelayThreshold: Integer
1821
+ # @param IsFake: 是否开启假信号检测
1822
+ # 注意:此字段可能返回 null,表示取不到有效值。
1823
+ # @type IsFake: Integer
1824
+ # @param FakeIP: 假信号检测IP字符串,用逗号分隔
1825
+ # 注意:此字段可能返回 null,表示取不到有效值。
1826
+ # @type FakeIP: String
1827
+ # @param FakeInterval: 假信号检测间隔(s)
1828
+ # 注意:此字段可能返回 null,表示取不到有效值。
1829
+ # @type FakeInterval: Integer
1830
+ # @param IsNet: 是否开启网络制式检测
1831
+ # 注意:此字段可能返回 null,表示取不到有效值。
1832
+ # @type IsNet: Integer
1833
+ # @param Network: 网络回落制式 1: 2G、 2: 3G 、 3: 2/3G
1834
+ # 注意:此字段可能返回 null,表示取不到有效值。
1835
+ # @type Network: Integer
1836
+ # @param IsMove: 是否开启移动检测
1837
+ # 注意:此字段可能返回 null,表示取不到有效值。
1838
+ # @type IsMove: Integer
1839
+ # @param Name: 策略名称
1840
+ # @type Name: String
1841
+ # @param IsPriorityTele: 是否开启最优先运营商
1842
+ # 注意:此字段可能返回 null,表示取不到有效值。
1843
+ # @type IsPriorityTele: Integer
1844
+ # @param PriorityTele: 最优先运营商 1 移动、 2 联通、 3 电信 4 上次在线运营商
1845
+ # 注意:此字段可能返回 null,表示取不到有效值。
1846
+ # @type PriorityTele: Integer
1847
+ # @param IsBottomTele: 是否开启最不优先运营商
1848
+ # 注意:此字段可能返回 null,表示取不到有效值。
1849
+ # @type IsBottomTele: Integer
1850
+ # @param BottomTele: 最不优先运营商 1 移动、 2 联通、 3 电信
1851
+ # 注意:此字段可能返回 null,表示取不到有效值。
1852
+ # @type BottomTele: Integer
1853
+ # @param IsBestSignal: 是否开启最优先信号选取策略
1854
+ # 注意:此字段可能返回 null,表示取不到有效值。
1855
+ # @type IsBestSignal: Integer
1856
+
1857
+ attr_accessor :ID, :CreatedAt, :IsAuto, :PingInterval, :IsWeak, :WeakThreshold, :IsDelay, :DelayThreshold, :IsFake, :FakeIP, :FakeInterval, :IsNet, :Network, :IsMove, :Name, :IsPriorityTele, :PriorityTele, :IsBottomTele, :BottomTele, :IsBestSignal
1858
+
1859
+ def initialize(id=nil, createdat=nil, isauto=nil, pinginterval=nil, isweak=nil, weakthreshold=nil, isdelay=nil, delaythreshold=nil, isfake=nil, fakeip=nil, fakeinterval=nil, isnet=nil, network=nil, ismove=nil, name=nil, isprioritytele=nil, prioritytele=nil, isbottomtele=nil, bottomtele=nil, isbestsignal=nil)
1860
+ @ID = id
1861
+ @CreatedAt = createdat
1862
+ @IsAuto = isauto
1863
+ @PingInterval = pinginterval
1864
+ @IsWeak = isweak
1865
+ @WeakThreshold = weakthreshold
1866
+ @IsDelay = isdelay
1867
+ @DelayThreshold = delaythreshold
1868
+ @IsFake = isfake
1869
+ @FakeIP = fakeip
1870
+ @FakeInterval = fakeinterval
1871
+ @IsNet = isnet
1872
+ @Network = network
1873
+ @IsMove = ismove
1874
+ @Name = name
1875
+ @IsPriorityTele = isprioritytele
1876
+ @PriorityTele = prioritytele
1877
+ @IsBottomTele = isbottomtele
1878
+ @BottomTele = bottomtele
1879
+ @IsBestSignal = isbestsignal
1880
+ end
1881
+
1882
+ def deserialize(params)
1883
+ @ID = params['ID']
1884
+ @CreatedAt = params['CreatedAt']
1885
+ @IsAuto = params['IsAuto']
1886
+ @PingInterval = params['PingInterval']
1887
+ @IsWeak = params['IsWeak']
1888
+ @WeakThreshold = params['WeakThreshold']
1889
+ @IsDelay = params['IsDelay']
1890
+ @DelayThreshold = params['DelayThreshold']
1891
+ @IsFake = params['IsFake']
1892
+ @FakeIP = params['FakeIP']
1893
+ @FakeInterval = params['FakeInterval']
1894
+ @IsNet = params['IsNet']
1895
+ @Network = params['Network']
1896
+ @IsMove = params['IsMove']
1897
+ @Name = params['Name']
1898
+ @IsPriorityTele = params['IsPriorityTele']
1899
+ @PriorityTele = params['PriorityTele']
1900
+ @IsBottomTele = params['IsBottomTele']
1901
+ @BottomTele = params['BottomTele']
1902
+ @IsBestSignal = params['IsBestSignal']
1903
+ end
1904
+ end
1905
+
1906
+ # 策略信息集合
1907
+ class TacticInfos < TencentCloud::Common::AbstractModel
1908
+ # @param Total: 总量
1909
+ # @type Total: Integer
1910
+ # @param List: 策略列表
1911
+ # 注意:此字段可能返回 null,表示取不到有效值。
1912
+ # @type List: Array
1913
+
1914
+ attr_accessor :Total, :List
1915
+
1916
+ def initialize(total=nil, list=nil)
1917
+ @Total = total
1918
+ @List = list
1919
+ end
1920
+
1921
+ def deserialize(params)
1922
+ @Total = params['Total']
1923
+ unless params['List'].nil?
1924
+ @List = []
1925
+ params['List'].each do |i|
1926
+ tactic_tmp = Tactic.new
1927
+ tactic_tmp.deserialize(i)
1928
+ @List << tactic_tmp
1929
+ end
1930
+ end
1931
+ end
1932
+ end
1933
+
1934
+ # 云兔标签信息
1935
+ class Tag < TencentCloud::Common::AbstractModel
1936
+ # @param Name: 标签名称
1937
+ # @type Name: String
1938
+ # @param ID: 标签ID
1939
+ # @type ID: Integer
1940
+ # @param Comment: 备注信息
1941
+ # 注意:此字段可能返回 null,表示取不到有效值。
1942
+ # @type Comment: String
1943
+ # @param CreatedAt: 创建时间
1944
+ # 注意:此字段可能返回 null,表示取不到有效值。
1945
+ # @type CreatedAt: String
1946
+ # @param UpdatedAt: 更改时间
1947
+ # 注意:此字段可能返回 null,表示取不到有效值。
1948
+ # @type UpdatedAt: String
1949
+
1950
+ attr_accessor :Name, :ID, :Comment, :CreatedAt, :UpdatedAt
1951
+
1952
+ def initialize(name=nil, id=nil, comment=nil, createdat=nil, updatedat=nil)
1953
+ @Name = name
1954
+ @ID = id
1955
+ @Comment = comment
1956
+ @CreatedAt = createdat
1957
+ @UpdatedAt = updatedat
1958
+ end
1959
+
1960
+ def deserialize(params)
1961
+ @Name = params['Name']
1962
+ @ID = params['ID']
1963
+ @Comment = params['Comment']
1964
+ @CreatedAt = params['CreatedAt']
1965
+ @UpdatedAt = params['UpdatedAt']
1966
+ end
1967
+ end
1968
+
1969
+ # 标签列表集合
1970
+ class TagInfos < TencentCloud::Common::AbstractModel
1971
+ # @param Total: 总量
1972
+ # @type Total: Integer
1973
+ # @param List: 列表
1974
+ # 注意:此字段可能返回 null,表示取不到有效值。
1975
+ # @type List: Array
1976
+
1977
+ attr_accessor :Total, :List
1978
+
1979
+ def initialize(total=nil, list=nil)
1980
+ @Total = total
1981
+ @List = list
1982
+ end
1983
+
1984
+ def deserialize(params)
1985
+ @Total = params['Total']
1986
+ unless params['List'].nil?
1987
+ @List = []
1988
+ params['List'].each do |i|
1989
+ tag_tmp = Tag.new
1990
+ tag_tmp.deserialize(i)
1991
+ @List << tag_tmp
1992
+ end
1993
+ end
1994
+ end
1995
+ end
1996
+
1997
+ # 运营商卡片信息
1998
+ class TeleOperatorCard < TencentCloud::Common::AbstractModel
1999
+ # @param AccountTime: 开户时间
2000
+ # 注意:此字段可能返回 null,表示取不到有效值。
2001
+ # @type AccountTime: String
2002
+ # @param ActiveTime: 激活时间
2003
+ # 注意:此字段可能返回 null,表示取不到有效值。
2004
+ # @type ActiveTime: String
2005
+ # @param ICCID: 运营商ICCID
2006
+ # @type ICCID: String
2007
+ # @param LinkID: 云兔卡ID
2008
+ # @type LinkID: Integer
2009
+ # @param Msisdn: 电话号码
2010
+ # 注意:此字段可能返回 null,表示取不到有效值。
2011
+ # @type Msisdn: String
2012
+ # @param IMSI: 移动用户识别码
2013
+ # 注意:此字段可能返回 null,表示取不到有效值。
2014
+ # @type IMSI: String
2015
+ # @param TeleOperator: 运营商: 1 移动 2 联通 3 电信
2016
+ # @type TeleOperator: Integer
2017
+
2018
+ attr_accessor :AccountTime, :ActiveTime, :ICCID, :LinkID, :Msisdn, :IMSI, :TeleOperator
2019
+
2020
+ def initialize(accounttime=nil, activetime=nil, iccid=nil, linkid=nil, msisdn=nil, imsi=nil, teleoperator=nil)
2021
+ @AccountTime = accounttime
2022
+ @ActiveTime = activetime
2023
+ @ICCID = iccid
2024
+ @LinkID = linkid
2025
+ @Msisdn = msisdn
2026
+ @IMSI = imsi
2027
+ @TeleOperator = teleoperator
2028
+ end
2029
+
2030
+ def deserialize(params)
2031
+ @AccountTime = params['AccountTime']
2032
+ @ActiveTime = params['ActiveTime']
2033
+ @ICCID = params['ICCID']
2034
+ @LinkID = params['LinkID']
2035
+ @Msisdn = params['Msisdn']
2036
+ @IMSI = params['IMSI']
2037
+ @TeleOperator = params['TeleOperator']
2038
+ end
2039
+ end
2040
+
2041
+ end
2042
+ end
2043
+ end
2044
+