tencentcloud-sdk-cat 3.0.1045 → 3.0.1046

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180409/models.rb +140 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6cae69e80212765f0320753c108c3faee64f900
4
- data.tar.gz: 8e629ca0ed8926a477daf6e0e4926a5ae8555f8b
3
+ metadata.gz: a8512450c16b6df6994c059e6b02288c9870d84a
4
+ data.tar.gz: 9d6733f52a1f07afa977f6aef93c2ed6c566fb2d
5
5
  SHA512:
6
- metadata.gz: 6653959de6ac77b0fd580c8db065c44b949c8ee5145965667ff227f2f9e2d820d87315bb738b143023c521fb8930f5356a32f139a730f3172730c659da755228
7
- data.tar.gz: e94fd3551685973575be9fbc57b50ea1fa3278502f6247fd1bb055a49494a8985f2ea4947d90c0c84def2216d23f08842bdd9024a81dca83d4a61a572340549b
6
+ metadata.gz: 8e305ab5c62232cbc7693633c40b6d18c7f19f8738858366616d91ee39864e677d18ae5dab9b327fc7dae490c8d3515f8c651d4ec547820a54435cd28f64cfe8
7
+ data.tar.gz: b8da7721fb0eb7ed4525c8c1eb93f7d0d11db06966277818a5ffe40d8904032adea093c06aa88e99fd1c40029fa3255ca5babce98e7251faabe7dfabe79d79c6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1045
1
+ 3.0.1046
@@ -410,16 +410,52 @@ module TencentCloud
410
410
 
411
411
  # DescribeNodeGroups返回参数结构体
412
412
  class DescribeNodeGroupsResponse < TencentCloud::Common::AbstractModel
413
+ # @param NodeList: 树状节点列表,总共两级
414
+ # 注意:此字段可能返回 null,表示取不到有效值。
415
+ # @type NodeList: Array
416
+ # @param DistrictList: 省份或国家列表
417
+ # 注意:此字段可能返回 null,表示取不到有效值。
418
+ # @type DistrictList: Array
419
+ # @param NetServiceList: 运营商列表
420
+ # 注意:此字段可能返回 null,表示取不到有效值。
421
+ # @type NetServiceList: Array
413
422
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
414
423
  # @type RequestId: String
415
424
 
416
- attr_accessor :RequestId
425
+ attr_accessor :NodeList, :DistrictList, :NetServiceList, :RequestId
417
426
 
418
- def initialize(requestid=nil)
427
+ def initialize(nodelist=nil, districtlist=nil, netservicelist=nil, requestid=nil)
428
+ @NodeList = nodelist
429
+ @DistrictList = districtlist
430
+ @NetServiceList = netservicelist
419
431
  @RequestId = requestid
420
432
  end
421
433
 
422
434
  def deserialize(params)
435
+ unless params['NodeList'].nil?
436
+ @NodeList = []
437
+ params['NodeList'].each do |i|
438
+ nodetree_tmp = NodeTree.new
439
+ nodetree_tmp.deserialize(i)
440
+ @NodeList << nodetree_tmp
441
+ end
442
+ end
443
+ unless params['DistrictList'].nil?
444
+ @DistrictList = []
445
+ params['DistrictList'].each do |i|
446
+ distinctornetserviceinfo_tmp = DistinctOrNetServiceInfo.new
447
+ distinctornetserviceinfo_tmp.deserialize(i)
448
+ @DistrictList << distinctornetserviceinfo_tmp
449
+ end
450
+ end
451
+ unless params['NetServiceList'].nil?
452
+ @NetServiceList = []
453
+ params['NetServiceList'].each do |i|
454
+ distinctornetserviceinfo_tmp = DistinctOrNetServiceInfo.new
455
+ distinctornetserviceinfo_tmp.deserialize(i)
456
+ @NetServiceList << distinctornetserviceinfo_tmp
457
+ end
458
+ end
423
459
  @RequestId = params['RequestId']
424
460
  end
425
461
  end
@@ -795,6 +831,26 @@ module TencentCloud
795
831
  end
796
832
  end
797
833
 
834
+ # 省份(国际)或运营商基本信息
835
+ class DistinctOrNetServiceInfo < TencentCloud::Common::AbstractModel
836
+ # @param ID: 省份(国际)或运营商ID
837
+ # @type ID: String
838
+ # @param Name: 名称
839
+ # @type Name: String
840
+
841
+ attr_accessor :ID, :Name
842
+
843
+ def initialize(id=nil, name=nil)
844
+ @ID = id
845
+ @Name = name
846
+ end
847
+
848
+ def deserialize(params)
849
+ @ID = params['ID']
850
+ @Name = params['Name']
851
+ end
852
+ end
853
+
798
854
  # 储存float类型字段
799
855
  class Field < TencentCloud::Common::AbstractModel
800
856
  # @param ID: 自定义字段编号
@@ -991,6 +1047,88 @@ module TencentCloud
991
1047
  end
992
1048
  end
993
1049
 
1050
+ # Node节点基本信息,用于新建任务页面重构节点选择
1051
+ class NodeInfoBase < TencentCloud::Common::AbstractModel
1052
+ # @param ID: 节点code
1053
+ # @type ID: String
1054
+ # @param Content: 节点名称
1055
+ # @type Content: String
1056
+
1057
+ attr_accessor :ID, :Content
1058
+
1059
+ def initialize(id=nil, content=nil)
1060
+ @ID = id
1061
+ @Content = content
1062
+ end
1063
+
1064
+ def deserialize(params)
1065
+ @ID = params['ID']
1066
+ @Content = params['Content']
1067
+ end
1068
+ end
1069
+
1070
+ # 子节点。用于新建任务重构页面的节点选择
1071
+ class NodeLeaf < TencentCloud::Common::AbstractModel
1072
+ # @param ID: 子节点ID
1073
+ # @type ID: String
1074
+ # @param Content: 子节点名称
1075
+ # @type Content: String
1076
+ # @param Children: 节点列表
1077
+ # @type Children: Array
1078
+
1079
+ attr_accessor :ID, :Content, :Children
1080
+
1081
+ def initialize(id=nil, content=nil, children=nil)
1082
+ @ID = id
1083
+ @Content = content
1084
+ @Children = children
1085
+ end
1086
+
1087
+ def deserialize(params)
1088
+ @ID = params['ID']
1089
+ @Content = params['Content']
1090
+ unless params['Children'].nil?
1091
+ @Children = []
1092
+ params['Children'].each do |i|
1093
+ nodeinfobase_tmp = NodeInfoBase.new
1094
+ nodeinfobase_tmp.deserialize(i)
1095
+ @Children << nodeinfobase_tmp
1096
+ end
1097
+ end
1098
+ end
1099
+ end
1100
+
1101
+ # 拨测节点数(新建任务页面重构)
1102
+ class NodeTree < TencentCloud::Common::AbstractModel
1103
+ # @param ID: 节点ID
1104
+ # @type ID: String
1105
+ # @param Content: 节点名称
1106
+ # @type Content: String
1107
+ # @param Children: 子节点
1108
+ # @type Children: Array
1109
+
1110
+ attr_accessor :ID, :Content, :Children
1111
+
1112
+ def initialize(id=nil, content=nil, children=nil)
1113
+ @ID = id
1114
+ @Content = content
1115
+ @Children = children
1116
+ end
1117
+
1118
+ def deserialize(params)
1119
+ @ID = params['ID']
1120
+ @Content = params['Content']
1121
+ unless params['Children'].nil?
1122
+ @Children = []
1123
+ params['Children'].each do |i|
1124
+ nodeleaf_tmp = NodeLeaf.new
1125
+ nodeleaf_tmp.deserialize(i)
1126
+ @Children << nodeleaf_tmp
1127
+ end
1128
+ end
1129
+ end
1130
+ end
1131
+
994
1132
  # 拨测任务
995
1133
  class ProbeTask < TencentCloud::Common::AbstractModel
996
1134
  # @param Name: 任务名
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cat
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1045
4
+ version: 3.0.1046
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-23 00:00:00.000000000 Z
11
+ date: 2025-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common