tencentcloud-sdk-dnspod 3.0.410 → 3.0.411

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50b61d34cbc72f774ab8a20ebf2d1b6ab33f5d0b
4
- data.tar.gz: cb77633d6875754ff75feae581bdb5ed31252a6f
3
+ metadata.gz: 88cbe21df21d4f5c5f9c603e511dc17f249640e8
4
+ data.tar.gz: bc1a9fbda22d0cea6d1ab62fd4bd837fccdf2ab2
5
5
  SHA512:
6
- metadata.gz: bba51a82fc8af6f21592060a61fe77936b2af2a64f36fbfb92b3e42204a5a28213c1bb90f5ff0450baf13783c6190894042545dacda1d6c1f997cc39031eae10
7
- data.tar.gz: 4bc2d88bff9dfbd013e4d532e884d2a15efad62056eae94438122f85689552ca68a37e1540750cb2268baad1743f8fb9d62e51a458bd4f727b590ce48ddd511a
6
+ metadata.gz: c9a4cacae82d1da73090af12e52c10c105be72f83295d8dbb385b8149390bfce225d7b73da04cbfc478f99c286d2e1e6d5cf428dd081728fb2d862c0afce1822
7
+ data.tar.gz: 9f1e2987703a3be97cb4544dbd8712128c72aabfc2395855521378ed72bc1d15473b750b77641e1a0c732c7d41e89296ee22af7b0d40c6447a6224eaf351c350
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.410
1
+ 3.0.411
@@ -389,6 +389,30 @@ module TencentCloud
389
389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
390
  end
391
391
 
392
+ # 获取域名分组列表
393
+
394
+ # @param request: Request instance for DescribeDomainGroupList.
395
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainGroupListRequest`
396
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainGroupListResponse`
397
+ def DescribeDomainGroupList(request)
398
+ body = send_request('DescribeDomainGroupList', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = DescribeDomainGroupListResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
392
416
  # 获取域名列表
393
417
 
394
418
  # @param request: Request instance for DescribeDomainList.
@@ -1191,6 +1191,44 @@ module TencentCloud
1191
1191
  end
1192
1192
  end
1193
1193
 
1194
+ # DescribeDomainGroupList请求参数结构体
1195
+ class DescribeDomainGroupListRequest < TencentCloud::Common::AbstractModel
1196
+
1197
+
1198
+ def initialize()
1199
+ end
1200
+
1201
+ def deserialize(params)
1202
+ end
1203
+ end
1204
+
1205
+ # DescribeDomainGroupList返回参数结构体
1206
+ class DescribeDomainGroupListResponse < TencentCloud::Common::AbstractModel
1207
+ # @param GroupList: 分组列表
1208
+ # @type GroupList: Array
1209
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1210
+ # @type RequestId: String
1211
+
1212
+ attr_accessor :GroupList, :RequestId
1213
+
1214
+ def initialize(grouplist=nil, requestid=nil)
1215
+ @GroupList = grouplist
1216
+ @RequestId = requestid
1217
+ end
1218
+
1219
+ def deserialize(params)
1220
+ unless params['GroupList'].nil?
1221
+ @GroupList = []
1222
+ params['GroupList'].each do |i|
1223
+ groupinfo_tmp = GroupInfo.new
1224
+ groupinfo_tmp.deserialize(i)
1225
+ @GroupList << groupinfo_tmp
1226
+ end
1227
+ end
1228
+ @RequestId = params['RequestId']
1229
+ end
1230
+ end
1231
+
1194
1232
  # DescribeDomainList请求参数结构体
1195
1233
  class DescribeDomainListRequest < TencentCloud::Common::AbstractModel
1196
1234
  # @param Type: 域名分组类型,默认为ALL。可取值为ALL,MINE,SHARE,ISMARK,PAUSE,VIP,RECENT,SHARE_OUT。
@@ -2239,6 +2277,34 @@ module TencentCloud
2239
2277
  end
2240
2278
  end
2241
2279
 
2280
+ # 域名分组列表
2281
+ class GroupInfo < TencentCloud::Common::AbstractModel
2282
+ # @param GroupId: 分组ID
2283
+ # @type GroupId: Integer
2284
+ # @param GroupName: 分组名称
2285
+ # @type GroupName: String
2286
+ # @param GroupType: 分组类型
2287
+ # @type GroupType: String
2288
+ # @param Size: 该分组中域名个数
2289
+ # @type Size: Integer
2290
+
2291
+ attr_accessor :GroupId, :GroupName, :GroupType, :Size
2292
+
2293
+ def initialize(groupid=nil, groupname=nil, grouptype=nil, size=nil)
2294
+ @GroupId = groupid
2295
+ @GroupName = groupname
2296
+ @GroupType = grouptype
2297
+ @Size = size
2298
+ end
2299
+
2300
+ def deserialize(params)
2301
+ @GroupId = params['GroupId']
2302
+ @GroupName = params['GroupName']
2303
+ @GroupType = params['GroupType']
2304
+ @Size = params['Size']
2305
+ end
2306
+ end
2307
+
2242
2308
  # 线路分组信息
2243
2309
  class LineGroupInfo < TencentCloud::Common::AbstractModel
2244
2310
  # @param LineId: 线路分组ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dnspod
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.410
4
+ version: 3.0.411
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-09-15 00:00:00.000000000 Z
11
+ date: 2022-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common