tencentcloud-sdk-dnspod 1.0.219 → 1.0.223

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c4cb35fc0f2d5e6ea8f37a214ea06122e53d704
4
- data.tar.gz: 198c5f46618f89ff9146e5ea732dbed2eb6485aa
3
+ metadata.gz: d309dadd8b1539512ccbba56a156950ec7180ac2
4
+ data.tar.gz: 1f3221c214330533b3c8c0416781ae7b2c552614
5
5
  SHA512:
6
- metadata.gz: 5194e7e45c27fb11b2e31fa4d92937c7bdef5f67a0c4ad48defcf0db44f1b2f08a8eda5f1d98ad83dfecba4066a3d405ece555ec322785b4e77c74b033638d6c
7
- data.tar.gz: 9b8a1c6617356aa3b4ab33b48811cc3917efbc9aaceb86b853aac66d2bbb6ed0542745fde5a03f195b835387442130855f5be6b2d91c81fa3be104e2e8a378da
6
+ metadata.gz: 99b9a5bafa3112de968a4e018faf040a16f5d5df05a7341537897cf01029a43a50523b2cde237229b7ebc53db6b7641576c7e612c11c0ea28e1c6f2a1d908cf4
7
+ data.tar.gz: 57b4bc5da56527d3c1d0bbc35d9abd4b4337e4a855141b5cdb4e20d5468bcfcdca4b186652778fe05a7e9cf5be8c86a75efa692f67d5b770b5de84904280558c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.219
1
+ 1.0.223
@@ -317,6 +317,30 @@ module TencentCloud
317
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
318
  end
319
319
 
320
+ # 获取域名别名列表
321
+
322
+ # @param request: Request instance for DescribeDomainAliasList.
323
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainAliasListRequest`
324
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainAliasListResponse`
325
+ def DescribeDomainAliasList(request)
326
+ body = send_request('DescribeDomainAliasList', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = DescribeDomainAliasListResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
320
344
  # 获取域名列表
321
345
 
322
346
  # @param request: Request instance for DescribeDomainList.
@@ -958,6 +958,53 @@ module TencentCloud
958
958
  end
959
959
  end
960
960
 
961
+ # DescribeDomainAliasList请求参数结构体
962
+ class DescribeDomainAliasListRequest < TencentCloud::Common::AbstractModel
963
+ # @param Domain: 域名
964
+ # @type Domain: String
965
+ # @param DomainId: 域名ID,域名ID,参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain
966
+ # @type DomainId: Integer
967
+
968
+ attr_accessor :Domain, :DomainId
969
+
970
+ def initialize(domain=nil, domainid=nil)
971
+ @Domain = domain
972
+ @DomainId = domainid
973
+ end
974
+
975
+ def deserialize(params)
976
+ @Domain = params['Domain']
977
+ @DomainId = params['DomainId']
978
+ end
979
+ end
980
+
981
+ # DescribeDomainAliasList返回参数结构体
982
+ class DescribeDomainAliasListResponse < TencentCloud::Common::AbstractModel
983
+ # @param DomainAliasList: 域名别名列表
984
+ # @type DomainAliasList: Array
985
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
986
+ # @type RequestId: String
987
+
988
+ attr_accessor :DomainAliasList, :RequestId
989
+
990
+ def initialize(domainaliaslist=nil, requestid=nil)
991
+ @DomainAliasList = domainaliaslist
992
+ @RequestId = requestid
993
+ end
994
+
995
+ def deserialize(params)
996
+ unless params['DomainAliasList'].nil?
997
+ @DomainAliasList = []
998
+ params['DomainAliasList'].each do |i|
999
+ domainaliasinfo_tmp = DomainAliasInfo.new
1000
+ domainaliasinfo_tmp.deserialize(i)
1001
+ @DomainAliasList << domainaliasinfo_tmp
1002
+ end
1003
+ end
1004
+ @RequestId = params['RequestId']
1005
+ end
1006
+ end
1007
+
961
1008
  # DescribeDomainList请求参数结构体
962
1009
  class DescribeDomainListRequest < TencentCloud::Common::AbstractModel
963
1010
  # @param Type: 域名分组类型,默认为ALL。可取值为ALL,MINE,SHARE,ISMARK,PAUSE,VIP,RECENT,SHARE_OUT。
@@ -1499,6 +1546,26 @@ module TencentCloud
1499
1546
  end
1500
1547
  end
1501
1548
 
1549
+ # 域名别名信息
1550
+ class DomainAliasInfo < TencentCloud::Common::AbstractModel
1551
+ # @param Id: 域名别名ID
1552
+ # @type Id: Integer
1553
+ # @param DomainAlias: 域名别名
1554
+ # @type DomainAlias: String
1555
+
1556
+ attr_accessor :Id, :DomainAlias
1557
+
1558
+ def initialize(id=nil, domainalias=nil)
1559
+ @Id = id
1560
+ @DomainAlias = domainalias
1561
+ end
1562
+
1563
+ def deserialize(params)
1564
+ @Id = params['Id']
1565
+ @DomainAlias = params['DomainAlias']
1566
+ end
1567
+ end
1568
+
1502
1569
  # 列表页分页统计信息
1503
1570
  class DomainCountInfo < TencentCloud::Common::AbstractModel
1504
1571
  # @param DomainTotal: 符合条件的域名数量
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: 1.0.219
4
+ version: 1.0.223
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-08 00:00:00.000000000 Z
11
+ date: 2021-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common