tencentcloud-sdk-dnspod 3.0.559 → 3.0.560

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210323/models.rb +31 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68f7a2aaf92a171a02b1a88766716ce0bed472c6
4
- data.tar.gz: 766ecba699fc35bce1ca29fcd78c6edd0c8e53f5
3
+ metadata.gz: 3dade615a71f1e035c4fe0b6a0ef9a002bcbd22c
4
+ data.tar.gz: b5c5bbd60ba35c593d6f62f7b718cbc474dc52a4
5
5
  SHA512:
6
- metadata.gz: 7bfaee6e61c761b93f86826d02cdba2d3581b8b73a530ee89293bdebab19cda2b05e6bdb6bd6ec6bac3316cbcd72568c002ec13101367b4c73dc4b1f951c6a7b
7
- data.tar.gz: c98b2f1fe0849dca7e637ff9427e88317b2d1aedd2d40a61907bae8935e192c3ff3696dd4ac396a1c9e71d0b501770c9f6919be87e4ff13ed3a5f37f58878dd0
6
+ metadata.gz: 504144adb7673f1b87886bfdaae52707638b83a2f16fb876ddc36be9cf95bcc7796b86c5f5a2c3f190ffe1afdc1e42741ad25b54e31ba75222efc91a8fe9808e
7
+ data.tar.gz: 60cc5fe74b27b52cbe43a0ec9c27417e7d7d442e6f3904cfee662d9fd65fbfa9268bd8ab643fdef00f4780f729ca27fff93e4e81186f7c36f9103e1f01c2ff00
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.559
1
+ 3.0.560
@@ -2876,17 +2876,21 @@ module TencentCloud
2876
2876
  # @type Id: Integer
2877
2877
  # @param DomainAlias: 域名别名
2878
2878
  # @type DomainAlias: String
2879
+ # @param Status: 别名状态:1-DNS不正确;2-正常;3-封禁。
2880
+ # @type Status: Integer
2879
2881
 
2880
- attr_accessor :Id, :DomainAlias
2882
+ attr_accessor :Id, :DomainAlias, :Status
2881
2883
 
2882
- def initialize(id=nil, domainalias=nil)
2884
+ def initialize(id=nil, domainalias=nil, status=nil)
2883
2885
  @Id = id
2884
2886
  @DomainAlias = domainalias
2887
+ @Status = status
2885
2888
  end
2886
2889
 
2887
2890
  def deserialize(params)
2888
2891
  @Id = params['Id']
2889
2892
  @DomainAlias = params['DomainAlias']
2893
+ @Status = params['Status']
2890
2894
  end
2891
2895
  end
2892
2896
 
@@ -4741,19 +4745,30 @@ module TencentCloud
4741
4745
  # @type SnapshotId: String
4742
4746
  # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。
4743
4747
  # @type DomainId: Integer
4748
+ # @param RecordList: 指定需要回滚的记录
4749
+ # @type RecordList: Array
4744
4750
 
4745
- attr_accessor :Domain, :SnapshotId, :DomainId
4751
+ attr_accessor :Domain, :SnapshotId, :DomainId, :RecordList
4746
4752
 
4747
- def initialize(domain=nil, snapshotid=nil, domainid=nil)
4753
+ def initialize(domain=nil, snapshotid=nil, domainid=nil, recordlist=nil)
4748
4754
  @Domain = domain
4749
4755
  @SnapshotId = snapshotid
4750
4756
  @DomainId = domainid
4757
+ @RecordList = recordlist
4751
4758
  end
4752
4759
 
4753
4760
  def deserialize(params)
4754
4761
  @Domain = params['Domain']
4755
4762
  @SnapshotId = params['SnapshotId']
4756
4763
  @DomainId = params['DomainId']
4764
+ unless params['RecordList'].nil?
4765
+ @RecordList = []
4766
+ params['RecordList'].each do |i|
4767
+ snapshotrecord_tmp = SnapshotRecord.new
4768
+ snapshotrecord_tmp.deserialize(i)
4769
+ @RecordList << snapshotrecord_tmp
4770
+ end
4771
+ end
4757
4772
  end
4758
4773
  end
4759
4774
 
@@ -4886,10 +4901,16 @@ module TencentCloud
4886
4901
  # @param MX: MX优先级
4887
4902
  # 注意:此字段可能返回 null,表示取不到有效值。
4888
4903
  # @type MX: String
4904
+ # @param Weight: 权重
4905
+ # 注意:此字段可能返回 null,表示取不到有效值。
4906
+ # @type Weight: String
4907
+ # @param Reason: 失败原因
4908
+ # 注意:此字段可能返回 null,表示取不到有效值。
4909
+ # @type Reason: String
4889
4910
 
4890
- attr_accessor :SubDomain, :RecordType, :RecordLine, :Value, :TTL, :RecordId, :MX
4911
+ attr_accessor :SubDomain, :RecordType, :RecordLine, :Value, :TTL, :RecordId, :MX, :Weight, :Reason
4891
4912
 
4892
- def initialize(subdomain=nil, recordtype=nil, recordline=nil, value=nil, ttl=nil, recordid=nil, mx=nil)
4913
+ def initialize(subdomain=nil, recordtype=nil, recordline=nil, value=nil, ttl=nil, recordid=nil, mx=nil, weight=nil, reason=nil)
4893
4914
  @SubDomain = subdomain
4894
4915
  @RecordType = recordtype
4895
4916
  @RecordLine = recordline
@@ -4897,6 +4918,8 @@ module TencentCloud
4897
4918
  @TTL = ttl
4898
4919
  @RecordId = recordid
4899
4920
  @MX = mx
4921
+ @Weight = weight
4922
+ @Reason = reason
4900
4923
  end
4901
4924
 
4902
4925
  def deserialize(params)
@@ -4907,6 +4930,8 @@ module TencentCloud
4907
4930
  @TTL = params['TTL']
4908
4931
  @RecordId = params['RecordId']
4909
4932
  @MX = params['MX']
4933
+ @Weight = params['Weight']
4934
+ @Reason = params['Reason']
4910
4935
  end
4911
4936
  end
4912
4937
 
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.559
4
+ version: 3.0.560
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-04-25 00:00:00.000000000 Z
11
+ date: 2023-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common