lib/v20210323/models.rb in tencentcloud-sdk-dnspod-3.0.559 vs lib/v20210323/models.rb in tencentcloud-sdk-dnspod-3.0.560

- old
+ new

@@ -2874,21 +2874,25 @@ class DomainAliasInfo < TencentCloud::Common::AbstractModel # @param Id: 域名别名ID # @type Id: Integer # @param DomainAlias: 域名别名 # @type DomainAlias: String + # @param Status: 别名状态:1-DNS不正确;2-正常;3-封禁。 + # @type Status: Integer - attr_accessor :Id, :DomainAlias + attr_accessor :Id, :DomainAlias, :Status - def initialize(id=nil, domainalias=nil) + def initialize(id=nil, domainalias=nil, status=nil) @Id = id @DomainAlias = domainalias + @Status = status end def deserialize(params) @Id = params['Id'] @DomainAlias = params['DomainAlias'] + @Status = params['Status'] end end # 当前统计维度解析量小计 class DomainAnalyticsDetail < TencentCloud::Common::AbstractModel @@ -4739,23 +4743,34 @@ # @type Domain: String # @param SnapshotId: 快照记录 ID # @type SnapshotId: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer + # @param RecordList: 指定需要回滚的记录 + # @type RecordList: Array - attr_accessor :Domain, :SnapshotId, :DomainId + attr_accessor :Domain, :SnapshotId, :DomainId, :RecordList - def initialize(domain=nil, snapshotid=nil, domainid=nil) + def initialize(domain=nil, snapshotid=nil, domainid=nil, recordlist=nil) @Domain = domain @SnapshotId = snapshotid @DomainId = domainid + @RecordList = recordlist end def deserialize(params) @Domain = params['Domain'] @SnapshotId = params['SnapshotId'] @DomainId = params['DomainId'] + unless params['RecordList'].nil? + @RecordList = [] + params['RecordList'].each do |i| + snapshotrecord_tmp = SnapshotRecord.new + snapshotrecord_tmp.deserialize(i) + @RecordList << snapshotrecord_tmp + end + end end end # RollbackSnapshot返回参数结构体 class RollbackSnapshotResponse < TencentCloud::Common::AbstractModel @@ -4884,30 +4899,40 @@ # @param RecordId: 解析记录 ID # @type RecordId: String # @param MX: MX优先级 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MX: String + # @param Weight: 权重 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type Weight: String + # @param Reason: 失败原因 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type Reason: String - attr_accessor :SubDomain, :RecordType, :RecordLine, :Value, :TTL, :RecordId, :MX + attr_accessor :SubDomain, :RecordType, :RecordLine, :Value, :TTL, :RecordId, :MX, :Weight, :Reason - def initialize(subdomain=nil, recordtype=nil, recordline=nil, value=nil, ttl=nil, recordid=nil, mx=nil) + def initialize(subdomain=nil, recordtype=nil, recordline=nil, value=nil, ttl=nil, recordid=nil, mx=nil, weight=nil, reason=nil) @SubDomain = subdomain @RecordType = recordtype @RecordLine = recordline @Value = value @TTL = ttl @RecordId = recordid @MX = mx + @Weight = weight + @Reason = reason end def deserialize(params) @SubDomain = params['SubDomain'] @RecordType = params['RecordType'] @RecordLine = params['RecordLine'] @Value = params['Value'] @TTL = params['TTL'] @RecordId = params['RecordId'] @MX = params['MX'] + @Weight = params['Weight'] + @Reason = params['Reason'] end end # 子域名别名解析量统计信息 class SubdomainAliasAnalyticsItem < TencentCloud::Common::AbstractModel