tencentcloud-sdk-dnspod 3.0.508 → 3.0.509

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: b4fd0d7fc310e2d29184491ecb5f182c30f672f0
4
- data.tar.gz: 6a75832ce637f23dc051c0b8e0b38cdad26f976e
3
+ metadata.gz: 0a30497033e439916522ffe446f21afc9ecd2fa5
4
+ data.tar.gz: bf8fd7cc1de9f8bbbdfbbc8d2e326a5264acf4fe
5
5
  SHA512:
6
- metadata.gz: d2cd207522e1ca2b44204de1baed644fb6521fed2f40f9e0b5cefb49ef31a1e42a49d404fc46a5c5d6bb96f845b0375708d73fce2bcd769a3a50642058ad4930
7
- data.tar.gz: c98e423137a624c40571247bd5cc6572052b2517b0f92dece0ceddb0f55dc16d4a1633af332d90e363587e158f20a94139277682b6ff884453041c439fab143a
6
+ metadata.gz: 37ab827faf7de15f6a9d0a61730116a815c1d9bd3ab7c566e7df7c55b22de31812901ba811be8cc0c0993fb9a7d55f8f5667149b7e8140a1bfdbaf9b49c5e8bd
7
+ data.tar.gz: 060e8249f214e12fe14e609d5df3394b839f468a16068713b5fc2ec00a8d8d87c22e47ca196bd0240a11f49480b6f0fd8d05770ad66d74aed462d4aaa5c6ee0e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.508
1
+ 3.0.509
@@ -341,6 +341,30 @@ module TencentCloud
341
341
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
342
  end
343
343
 
344
+ # 批量删除域名
345
+
346
+ # @param request: Request instance for DeleteDomainBatch.
347
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DeleteDomainBatchRequest`
348
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DeleteDomainBatchResponse`
349
+ def DeleteDomainBatch(request)
350
+ body = send_request('DeleteDomainBatch', request.serialize)
351
+ response = JSON.parse(body)
352
+ if response['Response'].key?('Error') == false
353
+ model = DeleteDomainBatchResponse.new
354
+ model.deserialize(response['Response'])
355
+ model
356
+ else
357
+ code = response['Response']['Error']['Code']
358
+ message = response['Response']['Error']['Message']
359
+ reqid = response['Response']['RequestId']
360
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
361
+ end
362
+ rescue TencentCloud::Common::TencentCloudSDKException => e
363
+ raise e
364
+ rescue StandardError => e
365
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
+ end
367
+
344
368
  # 删除记录
345
369
 
346
370
  # @param request: Request instance for DeleteRecord.
@@ -605,6 +629,30 @@ module TencentCloud
605
629
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
630
  end
607
631
 
632
+ # 获取域名概览信息
633
+
634
+ # @param request: Request instance for DescribeDomainPreview.
635
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainPreviewRequest`
636
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainPreviewResponse`
637
+ def DescribeDomainPreview(request)
638
+ body = send_request('DescribeDomainPreview', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = DescribeDomainPreviewResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
608
656
  # 获取域名权限
609
657
 
610
658
  # @param request: Request instance for DescribeDomainPurview.
@@ -653,6 +701,54 @@ module TencentCloud
653
701
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
702
  end
655
703
 
704
+ # 获取域名Whois信息
705
+
706
+ # @param request: Request instance for DescribeDomainWhois.
707
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainWhoisRequest`
708
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainWhoisResponse`
709
+ def DescribeDomainWhois(request)
710
+ body = send_request('DescribeDomainWhois', request.serialize)
711
+ response = JSON.parse(body)
712
+ if response['Response'].key?('Error') == false
713
+ model = DescribeDomainWhoisResponse.new
714
+ model.deserialize(response['Response'])
715
+ model
716
+ else
717
+ code = response['Response']['Error']['Code']
718
+ message = response['Response']['Error']['Message']
719
+ reqid = response['Response']['RequestId']
720
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
721
+ end
722
+ rescue TencentCloud::Common::TencentCloudSDKException => e
723
+ raise e
724
+ rescue StandardError => e
725
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
726
+ end
727
+
728
+ # 获取各套餐配置详情
729
+
730
+ # @param request: Request instance for DescribePackageDetail.
731
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribePackageDetailRequest`
732
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribePackageDetailResponse`
733
+ def DescribePackageDetail(request)
734
+ body = send_request('DescribePackageDetail', request.serialize)
735
+ response = JSON.parse(body)
736
+ if response['Response'].key?('Error') == false
737
+ model = DescribePackageDetailResponse.new
738
+ model.deserialize(response['Response'])
739
+ model
740
+ else
741
+ code = response['Response']['Error']['Code']
742
+ message = response['Response']['Error']['Message']
743
+ reqid = response['Response']['RequestId']
744
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
745
+ end
746
+ rescue TencentCloud::Common::TencentCloudSDKException => e
747
+ raise e
748
+ rescue StandardError => e
749
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
+ end
751
+
656
752
  # 获取记录信息
657
753
 
658
754
  # @param request: Request instance for DescribeRecord.
@@ -677,6 +773,30 @@ module TencentCloud
677
773
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
774
  end
679
775
 
776
+ # 判断是否有除系统默认的@-NS记录之外的记录存在
777
+
778
+ # @param request: Request instance for DescribeRecordExistExceptDefaultNS.
779
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeRecordExistExceptDefaultNSRequest`
780
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeRecordExistExceptDefaultNSResponse`
781
+ def DescribeRecordExistExceptDefaultNS(request)
782
+ body = send_request('DescribeRecordExistExceptDefaultNS', request.serialize)
783
+ response = JSON.parse(body)
784
+ if response['Response'].key?('Error') == false
785
+ model = DescribeRecordExistExceptDefaultNSResponse.new
786
+ model.deserialize(response['Response'])
787
+ model
788
+ else
789
+ code = response['Response']['Error']['Code']
790
+ message = response['Response']['Error']['Message']
791
+ reqid = response['Response']['RequestId']
792
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
+ end
794
+ rescue TencentCloud::Common::TencentCloudSDKException => e
795
+ raise e
796
+ rescue StandardError => e
797
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
+ end
799
+
680
800
  # 查询解析记录分组列表
681
801
 
682
802
  # @param request: Request instance for DescribeRecordGroupList.
@@ -941,6 +1061,30 @@ module TencentCloud
941
1061
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
1062
  end
943
1063
 
1064
+ # 获取域名增值服务用量
1065
+
1066
+ # @param request: Request instance for DescribeVASStatistic.
1067
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeVASStatisticRequest`
1068
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeVASStatisticResponse`
1069
+ def DescribeVASStatistic(request)
1070
+ body = send_request('DescribeVASStatistic', request.serialize)
1071
+ response = JSON.parse(body)
1072
+ if response['Response'].key?('Error') == false
1073
+ model = DescribeVASStatisticResponse.new
1074
+ model.deserialize(response['Response'])
1075
+ model
1076
+ else
1077
+ code = response['Response']['Error']['Code']
1078
+ message = response['Response']['Error']['Message']
1079
+ reqid = response['Response']['RequestId']
1080
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1081
+ end
1082
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1083
+ raise e
1084
+ rescue StandardError => e
1085
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1086
+ end
1087
+
944
1088
  # 下载快照
945
1089
 
946
1090
  # @param request: Request instance for DownloadSnapshot.
@@ -1040,6 +1040,86 @@ module TencentCloud
1040
1040
  end
1041
1041
  end
1042
1042
 
1043
+ # 批量删除域名详情
1044
+ class DeleteDomainBatchDetail < TencentCloud::Common::AbstractModel
1045
+ # @param DomainId: 域名 ID
1046
+ # @type DomainId: Integer
1047
+ # @param Domain: 域名
1048
+ # @type Domain: String
1049
+ # @param Error: 错误信息
1050
+ # 注意:此字段可能返回 null,表示取不到有效值。
1051
+ # @type Error: String
1052
+ # @param Status: 删除状态
1053
+ # @type Status: String
1054
+ # @param Operation: 操作
1055
+ # @type Operation: String
1056
+
1057
+ attr_accessor :DomainId, :Domain, :Error, :Status, :Operation
1058
+
1059
+ def initialize(domainid=nil, domain=nil, error=nil, status=nil, operation=nil)
1060
+ @DomainId = domainid
1061
+ @Domain = domain
1062
+ @Error = error
1063
+ @Status = status
1064
+ @Operation = operation
1065
+ end
1066
+
1067
+ def deserialize(params)
1068
+ @DomainId = params['DomainId']
1069
+ @Domain = params['Domain']
1070
+ @Error = params['Error']
1071
+ @Status = params['Status']
1072
+ @Operation = params['Operation']
1073
+ end
1074
+ end
1075
+
1076
+ # DeleteDomainBatch请求参数结构体
1077
+ class DeleteDomainBatchRequest < TencentCloud::Common::AbstractModel
1078
+ # @param DomainList: 域名数组
1079
+ # @type DomainList: Array
1080
+
1081
+ attr_accessor :DomainList
1082
+
1083
+ def initialize(domainlist=nil)
1084
+ @DomainList = domainlist
1085
+ end
1086
+
1087
+ def deserialize(params)
1088
+ @DomainList = params['DomainList']
1089
+ end
1090
+ end
1091
+
1092
+ # DeleteDomainBatch返回参数结构体
1093
+ class DeleteDomainBatchResponse < TencentCloud::Common::AbstractModel
1094
+ # @param JobId: 任务 ID
1095
+ # @type JobId: Integer
1096
+ # @param DetailList: 任务详情数组
1097
+ # @type DetailList: Array
1098
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1099
+ # @type RequestId: String
1100
+
1101
+ attr_accessor :JobId, :DetailList, :RequestId
1102
+
1103
+ def initialize(jobid=nil, detaillist=nil, requestid=nil)
1104
+ @JobId = jobid
1105
+ @DetailList = detaillist
1106
+ @RequestId = requestid
1107
+ end
1108
+
1109
+ def deserialize(params)
1110
+ @JobId = params['JobId']
1111
+ unless params['DetailList'].nil?
1112
+ @DetailList = []
1113
+ params['DetailList'].each do |i|
1114
+ deletedomainbatchdetail_tmp = DeleteDomainBatchDetail.new
1115
+ deletedomainbatchdetail_tmp.deserialize(i)
1116
+ @DetailList << deletedomainbatchdetail_tmp
1117
+ end
1118
+ end
1119
+ @RequestId = params['RequestId']
1120
+ end
1121
+ end
1122
+
1043
1123
  # DeleteDomain请求参数结构体
1044
1124
  class DeleteDomainRequest < TencentCloud::Common::AbstractModel
1045
1125
  # @param Domain: 域名
@@ -1642,6 +1722,49 @@ module TencentCloud
1642
1722
  end
1643
1723
  end
1644
1724
 
1725
+ # DescribeDomainPreview请求参数结构体
1726
+ class DescribeDomainPreviewRequest < TencentCloud::Common::AbstractModel
1727
+ # @param Domain: 域名
1728
+ # @type Domain: String
1729
+ # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId
1730
+ # @type DomainId: Integer
1731
+
1732
+ attr_accessor :Domain, :DomainId
1733
+
1734
+ def initialize(domain=nil, domainid=nil)
1735
+ @Domain = domain
1736
+ @DomainId = domainid
1737
+ end
1738
+
1739
+ def deserialize(params)
1740
+ @Domain = params['Domain']
1741
+ @DomainId = params['DomainId']
1742
+ end
1743
+ end
1744
+
1745
+ # DescribeDomainPreview返回参数结构体
1746
+ class DescribeDomainPreviewResponse < TencentCloud::Common::AbstractModel
1747
+ # @param Domain: 域名概览信息
1748
+ # @type Domain: :class:`Tencentcloud::Dnspod.v20210323.models.PreviewDetail`
1749
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1750
+ # @type RequestId: String
1751
+
1752
+ attr_accessor :Domain, :RequestId
1753
+
1754
+ def initialize(domain=nil, requestid=nil)
1755
+ @Domain = domain
1756
+ @RequestId = requestid
1757
+ end
1758
+
1759
+ def deserialize(params)
1760
+ unless params['Domain'].nil?
1761
+ @Domain = PreviewDetail.new
1762
+ @Domain.deserialize(params['Domain'])
1763
+ end
1764
+ @RequestId = params['RequestId']
1765
+ end
1766
+ end
1767
+
1645
1768
  # DescribeDomainPurview请求参数结构体
1646
1769
  class DescribeDomainPurviewRequest < TencentCloud::Common::AbstractModel
1647
1770
  # @param Domain: 域名
@@ -1783,6 +1906,127 @@ module TencentCloud
1783
1906
  end
1784
1907
  end
1785
1908
 
1909
+ # DescribeDomainWhois请求参数结构体
1910
+ class DescribeDomainWhoisRequest < TencentCloud::Common::AbstractModel
1911
+ # @param Domain: 域名
1912
+ # @type Domain: String
1913
+
1914
+ attr_accessor :Domain
1915
+
1916
+ def initialize(domain=nil)
1917
+ @Domain = domain
1918
+ end
1919
+
1920
+ def deserialize(params)
1921
+ @Domain = params['Domain']
1922
+ end
1923
+ end
1924
+
1925
+ # DescribeDomainWhois返回参数结构体
1926
+ class DescribeDomainWhoisResponse < TencentCloud::Common::AbstractModel
1927
+ # @param Info: 域名Whois信息
1928
+ # @type Info: :class:`Tencentcloud::Dnspod.v20210323.models.WhoisInfo`
1929
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1930
+ # @type RequestId: String
1931
+
1932
+ attr_accessor :Info, :RequestId
1933
+
1934
+ def initialize(info=nil, requestid=nil)
1935
+ @Info = info
1936
+ @RequestId = requestid
1937
+ end
1938
+
1939
+ def deserialize(params)
1940
+ unless params['Info'].nil?
1941
+ @Info = WhoisInfo.new
1942
+ @Info.deserialize(params['Info'])
1943
+ end
1944
+ @RequestId = params['RequestId']
1945
+ end
1946
+ end
1947
+
1948
+ # DescribePackageDetail请求参数结构体
1949
+ class DescribePackageDetailRequest < TencentCloud::Common::AbstractModel
1950
+
1951
+
1952
+ def initialize()
1953
+ end
1954
+
1955
+ def deserialize(params)
1956
+ end
1957
+ end
1958
+
1959
+ # DescribePackageDetail返回参数结构体
1960
+ class DescribePackageDetailResponse < TencentCloud::Common::AbstractModel
1961
+ # @param Info: 套餐配置详情
1962
+ # @type Info: Array
1963
+ # @param LevelMap: 套餐代码列表
1964
+ # @type LevelMap: Array
1965
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1966
+ # @type RequestId: String
1967
+
1968
+ attr_accessor :Info, :LevelMap, :RequestId
1969
+
1970
+ def initialize(info=nil, levelmap=nil, requestid=nil)
1971
+ @Info = info
1972
+ @LevelMap = levelmap
1973
+ @RequestId = requestid
1974
+ end
1975
+
1976
+ def deserialize(params)
1977
+ unless params['Info'].nil?
1978
+ @Info = []
1979
+ params['Info'].each do |i|
1980
+ packagedetailitem_tmp = PackageDetailItem.new
1981
+ packagedetailitem_tmp.deserialize(i)
1982
+ @Info << packagedetailitem_tmp
1983
+ end
1984
+ end
1985
+ @LevelMap = params['LevelMap']
1986
+ @RequestId = params['RequestId']
1987
+ end
1988
+ end
1989
+
1990
+ # DescribeRecordExistExceptDefaultNS请求参数结构体
1991
+ class DescribeRecordExistExceptDefaultNSRequest < TencentCloud::Common::AbstractModel
1992
+ # @param Domain: 域名
1993
+ # @type Domain: String
1994
+ # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId
1995
+ # @type DomainId: Integer
1996
+
1997
+ attr_accessor :Domain, :DomainId
1998
+
1999
+ def initialize(domain=nil, domainid=nil)
2000
+ @Domain = domain
2001
+ @DomainId = domainid
2002
+ end
2003
+
2004
+ def deserialize(params)
2005
+ @Domain = params['Domain']
2006
+ @DomainId = params['DomainId']
2007
+ end
2008
+ end
2009
+
2010
+ # DescribeRecordExistExceptDefaultNS返回参数结构体
2011
+ class DescribeRecordExistExceptDefaultNSResponse < TencentCloud::Common::AbstractModel
2012
+ # @param Exist: true 是 false 否
2013
+ # @type Exist: Boolean
2014
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2015
+ # @type RequestId: String
2016
+
2017
+ attr_accessor :Exist, :RequestId
2018
+
2019
+ def initialize(exist=nil, requestid=nil)
2020
+ @Exist = exist
2021
+ @RequestId = requestid
2022
+ end
2023
+
2024
+ def deserialize(params)
2025
+ @Exist = params['Exist']
2026
+ @RequestId = params['RequestId']
2027
+ end
2028
+ end
2029
+
1786
2030
  # DescribeRecordGroupList请求参数结构体
1787
2031
  class DescribeRecordGroupListRequest < TencentCloud::Common::AbstractModel
1788
2032
  # @param Domain: 域名
@@ -2544,6 +2788,49 @@ module TencentCloud
2544
2788
  end
2545
2789
  end
2546
2790
 
2791
+ # DescribeVASStatistic请求参数结构体
2792
+ class DescribeVASStatisticRequest < TencentCloud::Common::AbstractModel
2793
+ # @param DomainId: 域名ID
2794
+ # @type DomainId: Integer
2795
+
2796
+ attr_accessor :DomainId
2797
+
2798
+ def initialize(domainid=nil)
2799
+ @DomainId = domainid
2800
+ end
2801
+
2802
+ def deserialize(params)
2803
+ @DomainId = params['DomainId']
2804
+ end
2805
+ end
2806
+
2807
+ # DescribeVASStatistic返回参数结构体
2808
+ class DescribeVASStatisticResponse < TencentCloud::Common::AbstractModel
2809
+ # @param VASList: 增值服务用量列表
2810
+ # @type VASList: Array
2811
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2812
+ # @type RequestId: String
2813
+
2814
+ attr_accessor :VASList, :RequestId
2815
+
2816
+ def initialize(vaslist=nil, requestid=nil)
2817
+ @VASList = vaslist
2818
+ @RequestId = requestid
2819
+ end
2820
+
2821
+ def deserialize(params)
2822
+ unless params['VASList'].nil?
2823
+ @VASList = []
2824
+ params['VASList'].each do |i|
2825
+ vasstatisticitem_tmp = VASStatisticItem.new
2826
+ vasstatisticitem_tmp.deserialize(i)
2827
+ @VASList << vasstatisticitem_tmp
2828
+ end
2829
+ end
2830
+ @RequestId = params['RequestId']
2831
+ end
2832
+ end
2833
+
2547
2834
  # 域名别名解析量统计信息
2548
2835
  class DomainAliasAnalyticsItem < TencentCloud::Common::AbstractModel
2549
2836
  # @param Info: 域名解析量统计查询信息
@@ -4006,6 +4293,62 @@ module TencentCloud
4006
4293
  end
4007
4294
  end
4008
4295
 
4296
+ # 套餐配置明细
4297
+ class PackageDetailItem < TencentCloud::Common::AbstractModel
4298
+ # @param RealPrice: 套餐原价
4299
+ # @type RealPrice: Integer
4300
+ # @param ChangedTimes: 可更换域名次数
4301
+ # @type ChangedTimes: Integer
4302
+ # @param MinTtl: 允许设置的最小 TTL 值
4303
+ # @type MinTtl: Integer
4304
+ # @param RecordRoll: 负载均衡数量
4305
+ # @type RecordRoll: Integer
4306
+ # @param SubDomainLevel: 子域名级数
4307
+ # @type SubDomainLevel: Integer
4308
+ # @param MaxWildcard: 泛解析级数
4309
+ # @type MaxWildcard: Integer
4310
+ # @param DnsServerRegion: DNS 服务集群个数
4311
+ # @type DnsServerRegion: String
4312
+ # @param DomainGradeCn: 套餐名称
4313
+ # @type DomainGradeCn: String
4314
+ # @param GradeLevel: 套餐代号
4315
+ # @type GradeLevel: Integer
4316
+ # @param Ns: 套餐对应的 NS
4317
+ # @type Ns: Array
4318
+ # @param DomainGrade: 套餐代码
4319
+ # @type DomainGrade: String
4320
+
4321
+ attr_accessor :RealPrice, :ChangedTimes, :MinTtl, :RecordRoll, :SubDomainLevel, :MaxWildcard, :DnsServerRegion, :DomainGradeCn, :GradeLevel, :Ns, :DomainGrade
4322
+
4323
+ def initialize(realprice=nil, changedtimes=nil, minttl=nil, recordroll=nil, subdomainlevel=nil, maxwildcard=nil, dnsserverregion=nil, domaingradecn=nil, gradelevel=nil, ns=nil, domaingrade=nil)
4324
+ @RealPrice = realprice
4325
+ @ChangedTimes = changedtimes
4326
+ @MinTtl = minttl
4327
+ @RecordRoll = recordroll
4328
+ @SubDomainLevel = subdomainlevel
4329
+ @MaxWildcard = maxwildcard
4330
+ @DnsServerRegion = dnsserverregion
4331
+ @DomainGradeCn = domaingradecn
4332
+ @GradeLevel = gradelevel
4333
+ @Ns = ns
4334
+ @DomainGrade = domaingrade
4335
+ end
4336
+
4337
+ def deserialize(params)
4338
+ @RealPrice = params['RealPrice']
4339
+ @ChangedTimes = params['ChangedTimes']
4340
+ @MinTtl = params['MinTtl']
4341
+ @RecordRoll = params['RecordRoll']
4342
+ @SubDomainLevel = params['SubDomainLevel']
4343
+ @MaxWildcard = params['MaxWildcard']
4344
+ @DnsServerRegion = params['DnsServerRegion']
4345
+ @DomainGradeCn = params['DomainGradeCn']
4346
+ @GradeLevel = params['GradeLevel']
4347
+ @Ns = params['Ns']
4348
+ @DomainGrade = params['DomainGrade']
4349
+ end
4350
+ end
4351
+
4009
4352
  # PayOrderWithBalance请求参数结构体
4010
4353
  class PayOrderWithBalanceRequest < TencentCloud::Common::AbstractModel
4011
4354
  # @param BigDealIdList: 需要支付的大订单号数组
@@ -4054,6 +4397,62 @@ module TencentCloud
4054
4397
  end
4055
4398
  end
4056
4399
 
4400
+ # 域名概览明细
4401
+ class PreviewDetail < TencentCloud::Common::AbstractModel
4402
+ # @param Name: 域名
4403
+ # @type Name: String
4404
+ # @param Grade: 域名套餐代码
4405
+ # @type Grade: String
4406
+ # @param GradeTitle: 域名套餐名称
4407
+ # @type GradeTitle: String
4408
+ # @param Records: 域名记录数
4409
+ # @type Records: Integer
4410
+ # @param DomainParkingStatus: 域名停靠状态。0 未开启 1 已开启 2 已暂停
4411
+ # @type DomainParkingStatus: Integer
4412
+ # @param LineCount: 自定义线路数量
4413
+ # @type LineCount: Integer
4414
+ # @param LineGroupCount: 自定义线路分组数量
4415
+ # @type LineGroupCount: Integer
4416
+ # @param AliasCount: 域名别名数量
4417
+ # @type AliasCount: Integer
4418
+ # @param MaxAliasCount: 允许添加的最大域名别名数量
4419
+ # @type MaxAliasCount: Integer
4420
+ # @param ResolveCount: 昨天的解析量
4421
+ # @type ResolveCount: Integer
4422
+ # @param VASCount: 增值服务数量
4423
+ # @type VASCount: Integer
4424
+
4425
+ attr_accessor :Name, :Grade, :GradeTitle, :Records, :DomainParkingStatus, :LineCount, :LineGroupCount, :AliasCount, :MaxAliasCount, :ResolveCount, :VASCount
4426
+
4427
+ def initialize(name=nil, grade=nil, gradetitle=nil, records=nil, domainparkingstatus=nil, linecount=nil, linegroupcount=nil, aliascount=nil, maxaliascount=nil, resolvecount=nil, vascount=nil)
4428
+ @Name = name
4429
+ @Grade = grade
4430
+ @GradeTitle = gradetitle
4431
+ @Records = records
4432
+ @DomainParkingStatus = domainparkingstatus
4433
+ @LineCount = linecount
4434
+ @LineGroupCount = linegroupcount
4435
+ @AliasCount = aliascount
4436
+ @MaxAliasCount = maxaliascount
4437
+ @ResolveCount = resolvecount
4438
+ @VASCount = vascount
4439
+ end
4440
+
4441
+ def deserialize(params)
4442
+ @Name = params['Name']
4443
+ @Grade = params['Grade']
4444
+ @GradeTitle = params['GradeTitle']
4445
+ @Records = params['Records']
4446
+ @DomainParkingStatus = params['DomainParkingStatus']
4447
+ @LineCount = params['LineCount']
4448
+ @LineGroupCount = params['LineGroupCount']
4449
+ @AliasCount = params['AliasCount']
4450
+ @MaxAliasCount = params['MaxAliasCount']
4451
+ @ResolveCount = params['ResolveCount']
4452
+ @VASCount = params['VASCount']
4453
+ end
4454
+ end
4455
+
4057
4456
  # 域名权限项
4058
4457
  class PurviewInfo < TencentCloud::Common::AbstractModel
4059
4458
  # @param Name: 权限名称
@@ -4628,6 +5027,215 @@ module TencentCloud
4628
5027
  end
4629
5028
  end
4630
5029
 
5030
+ # 域名增值服务用量
5031
+ class VASStatisticItem < TencentCloud::Common::AbstractModel
5032
+ # @param Name: 增值服务名称
5033
+ # @type Name: String
5034
+ # @param Key: 增值服务标识
5035
+ # @type Key: String
5036
+ # @param LimitCount: 增值服务最大用量
5037
+ # @type LimitCount: Integer
5038
+ # @param UseCount: 增值服务已使用的用量
5039
+ # @type UseCount: Integer
5040
+
5041
+ attr_accessor :Name, :Key, :LimitCount, :UseCount
5042
+
5043
+ def initialize(name=nil, key=nil, limitcount=nil, usecount=nil)
5044
+ @Name = name
5045
+ @Key = key
5046
+ @LimitCount = limitcount
5047
+ @UseCount = usecount
5048
+ end
5049
+
5050
+ def deserialize(params)
5051
+ @Name = params['Name']
5052
+ @Key = params['Key']
5053
+ @LimitCount = params['LimitCount']
5054
+ @UseCount = params['UseCount']
5055
+ end
5056
+ end
5057
+
5058
+ # Whois联系信息
5059
+ class WhoisContact < TencentCloud::Common::AbstractModel
5060
+ # @param Admin: 无
5061
+ # 注意:此字段可能返回 null,表示取不到有效值。
5062
+ # @type Admin: :class:`Tencentcloud::Dnspod.v20210323.models.WhoisContactAddress`
5063
+ # @param Billing: 无
5064
+ # 注意:此字段可能返回 null,表示取不到有效值。
5065
+ # @type Billing: :class:`Tencentcloud::Dnspod.v20210323.models.WhoisContactAddress`
5066
+ # @param Registrant: 无
5067
+ # 注意:此字段可能返回 null,表示取不到有效值。
5068
+ # @type Registrant: :class:`Tencentcloud::Dnspod.v20210323.models.WhoisContactAddress`
5069
+ # @param Tech: 无
5070
+ # 注意:此字段可能返回 null,表示取不到有效值。
5071
+ # @type Tech: :class:`Tencentcloud::Dnspod.v20210323.models.WhoisContactAddress`
5072
+
5073
+ attr_accessor :Admin, :Billing, :Registrant, :Tech
5074
+
5075
+ def initialize(admin=nil, billing=nil, registrant=nil, tech=nil)
5076
+ @Admin = admin
5077
+ @Billing = billing
5078
+ @Registrant = registrant
5079
+ @Tech = tech
5080
+ end
5081
+
5082
+ def deserialize(params)
5083
+ unless params['Admin'].nil?
5084
+ @Admin = WhoisContactAddress.new
5085
+ @Admin.deserialize(params['Admin'])
5086
+ end
5087
+ unless params['Billing'].nil?
5088
+ @Billing = WhoisContactAddress.new
5089
+ @Billing.deserialize(params['Billing'])
5090
+ end
5091
+ unless params['Registrant'].nil?
5092
+ @Registrant = WhoisContactAddress.new
5093
+ @Registrant.deserialize(params['Registrant'])
5094
+ end
5095
+ unless params['Tech'].nil?
5096
+ @Tech = WhoisContactAddress.new
5097
+ @Tech.deserialize(params['Tech'])
5098
+ end
5099
+ end
5100
+ end
5101
+
5102
+ # Whois联系信息地址
5103
+ class WhoisContactAddress < TencentCloud::Common::AbstractModel
5104
+ # @param City: 无
5105
+ # 注意:此字段可能返回 null,表示取不到有效值。
5106
+ # @type City: String
5107
+ # @param Country: 无
5108
+ # 注意:此字段可能返回 null,表示取不到有效值。
5109
+ # @type Country: String
5110
+ # @param Email: 无
5111
+ # 注意:此字段可能返回 null,表示取不到有效值。
5112
+ # @type Email: String
5113
+ # @param Fax: 无
5114
+ # 注意:此字段可能返回 null,表示取不到有效值。
5115
+ # @type Fax: String
5116
+ # @param FaxExt: 无
5117
+ # 注意:此字段可能返回 null,表示取不到有效值。
5118
+ # @type FaxExt: String
5119
+ # @param Handle: 无
5120
+ # 注意:此字段可能返回 null,表示取不到有效值。
5121
+ # @type Handle: String
5122
+ # @param Name: 无
5123
+ # 注意:此字段可能返回 null,表示取不到有效值。
5124
+ # @type Name: String
5125
+ # @param Organization: 无
5126
+ # 注意:此字段可能返回 null,表示取不到有效值。
5127
+ # @type Organization: String
5128
+ # @param Phone: 无
5129
+ # 注意:此字段可能返回 null,表示取不到有效值。
5130
+ # @type Phone: String
5131
+ # @param PostalCode: 无
5132
+ # 注意:此字段可能返回 null,表示取不到有效值。
5133
+ # @type PostalCode: String
5134
+ # @param State: 无
5135
+ # 注意:此字段可能返回 null,表示取不到有效值。
5136
+ # @type State: String
5137
+ # @param Street: 无
5138
+ # 注意:此字段可能返回 null,表示取不到有效值。
5139
+ # @type Street: String
5140
+
5141
+ attr_accessor :City, :Country, :Email, :Fax, :FaxExt, :Handle, :Name, :Organization, :Phone, :PostalCode, :State, :Street
5142
+
5143
+ def initialize(city=nil, country=nil, email=nil, fax=nil, faxext=nil, handle=nil, name=nil, organization=nil, phone=nil, postalcode=nil, state=nil, street=nil)
5144
+ @City = city
5145
+ @Country = country
5146
+ @Email = email
5147
+ @Fax = fax
5148
+ @FaxExt = faxext
5149
+ @Handle = handle
5150
+ @Name = name
5151
+ @Organization = organization
5152
+ @Phone = phone
5153
+ @PostalCode = postalcode
5154
+ @State = state
5155
+ @Street = street
5156
+ end
5157
+
5158
+ def deserialize(params)
5159
+ @City = params['City']
5160
+ @Country = params['Country']
5161
+ @Email = params['Email']
5162
+ @Fax = params['Fax']
5163
+ @FaxExt = params['FaxExt']
5164
+ @Handle = params['Handle']
5165
+ @Name = params['Name']
5166
+ @Organization = params['Organization']
5167
+ @Phone = params['Phone']
5168
+ @PostalCode = params['PostalCode']
5169
+ @State = params['State']
5170
+ @Street = params['Street']
5171
+ end
5172
+ end
5173
+
5174
+ # Whois信息
5175
+ class WhoisInfo < TencentCloud::Common::AbstractModel
5176
+ # @param Contacts: 联系信息
5177
+ # 注意:此字段可能返回 null,表示取不到有效值。
5178
+ # @type Contacts: :class:`Tencentcloud::Dnspod.v20210323.models.WhoisContact`
5179
+ # @param CreationDate: 域名注册时间
5180
+ # 注意:此字段可能返回 null,表示取不到有效值。
5181
+ # @type CreationDate: String
5182
+ # @param ExpirationDate: 域名到期时间
5183
+ # 注意:此字段可能返回 null,表示取不到有效值。
5184
+ # @type ExpirationDate: String
5185
+ # @param IsQcloud: 是否是在腾讯云注册的域名
5186
+ # 注意:此字段可能返回 null,表示取不到有效值。
5187
+ # @type IsQcloud: Boolean
5188
+ # @param IsQcloudOwner: 是否当前操作帐号注册的域名
5189
+ # 注意:此字段可能返回 null,表示取不到有效值。
5190
+ # @type IsQcloudOwner: Boolean
5191
+ # @param NameServers: 域名配置的NS
5192
+ # 注意:此字段可能返回 null,表示取不到有效值。
5193
+ # @type NameServers: Array
5194
+ # @param Raw: Whois原始信息
5195
+ # 注意:此字段可能返回 null,表示取不到有效值。
5196
+ # @type Raw: Array
5197
+ # @param Registrar: 域名注册商
5198
+ # 注意:此字段可能返回 null,表示取不到有效值。
5199
+ # @type Registrar: Array
5200
+ # @param Status: 状态
5201
+ # 注意:此字段可能返回 null,表示取不到有效值。
5202
+ # @type Status: Array
5203
+ # @param UpdatedDate: 更新日期
5204
+ # 注意:此字段可能返回 null,表示取不到有效值。
5205
+ # @type UpdatedDate: String
5206
+
5207
+ attr_accessor :Contacts, :CreationDate, :ExpirationDate, :IsQcloud, :IsQcloudOwner, :NameServers, :Raw, :Registrar, :Status, :UpdatedDate
5208
+
5209
+ def initialize(contacts=nil, creationdate=nil, expirationdate=nil, isqcloud=nil, isqcloudowner=nil, nameservers=nil, raw=nil, registrar=nil, status=nil, updateddate=nil)
5210
+ @Contacts = contacts
5211
+ @CreationDate = creationdate
5212
+ @ExpirationDate = expirationdate
5213
+ @IsQcloud = isqcloud
5214
+ @IsQcloudOwner = isqcloudowner
5215
+ @NameServers = nameservers
5216
+ @Raw = raw
5217
+ @Registrar = registrar
5218
+ @Status = status
5219
+ @UpdatedDate = updateddate
5220
+ end
5221
+
5222
+ def deserialize(params)
5223
+ unless params['Contacts'].nil?
5224
+ @Contacts = WhoisContact.new
5225
+ @Contacts.deserialize(params['Contacts'])
5226
+ end
5227
+ @CreationDate = params['CreationDate']
5228
+ @ExpirationDate = params['ExpirationDate']
5229
+ @IsQcloud = params['IsQcloud']
5230
+ @IsQcloudOwner = params['IsQcloudOwner']
5231
+ @NameServers = params['NameServers']
5232
+ @Raw = params['Raw']
5233
+ @Registrar = params['Registrar']
5234
+ @Status = params['Status']
5235
+ @UpdatedDate = params['UpdatedDate']
5236
+ end
5237
+ end
5238
+
4631
5239
  end
4632
5240
  end
4633
5241
  end
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.508
4
+ version: 3.0.509
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-14 00:00:00.000000000 Z
11
+ date: 2023-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common