lib/v20210323/models.rb in tencentcloud-sdk-dnspod-3.0.526 vs lib/v20210323/models.rb in tencentcloud-sdk-dnspod-3.0.527
- old
+ new
@@ -105,14 +105,17 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Enabled: Integer
# @param MX: 记录的MX权重
# 注意:此字段可能返回 null,表示取不到有效值。
# @type MX: Integer
+ # @param Weight: 记录权重
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Weight: Integer
- attr_accessor :RecordId, :SubDomain, :RecordType, :RecordLine, :Value, :TTL, :Status, :Operation, :ErrMsg, :Id, :Enabled, :MX
+ attr_accessor :RecordId, :SubDomain, :RecordType, :RecordLine, :Value, :TTL, :Status, :Operation, :ErrMsg, :Id, :Enabled, :MX, :Weight
- def initialize(recordid=nil, subdomain=nil, recordtype=nil, recordline=nil, value=nil, ttl=nil, status=nil, operation=nil, errmsg=nil, id=nil, enabled=nil, mx=nil)
+ def initialize(recordid=nil, subdomain=nil, recordtype=nil, recordline=nil, value=nil, ttl=nil, status=nil, operation=nil, errmsg=nil, id=nil, enabled=nil, mx=nil, weight=nil)
@RecordId = recordid
@SubDomain = subdomain
@RecordType = recordtype
@RecordLine = recordline
@Value = value
@@ -121,10 +124,11 @@
@Operation = operation
@ErrMsg = errmsg
@Id = id
@Enabled = enabled
@MX = mx
+ @Weight = weight
end
def deserialize(params)
@RecordId = params['RecordId']
@SubDomain = params['SubDomain']
@@ -136,9 +140,10 @@
@Operation = params['Operation']
@ErrMsg = params['ErrMsg']
@Id = params['Id']
@Enabled = params['Enabled']
@MX = params['MX']
+ @Weight = params['Weight']
end
end
# CheckRecordSnapshotRollback请求参数结构体
class CheckRecordSnapshotRollbackRequest < TencentCloud::Common::AbstractModel