lib/v20210323/models.rb in tencentcloud-sdk-dnspod-1.0.314 vs lib/v20210323/models.rb in tencentcloud-sdk-dnspod-1.0.315
- old
+ new
@@ -2178,30 +2178,34 @@
# @type DomainId: Integer
# @param SubDomain: 主机记录,如 www,如果不传,默认为 @。
# @type SubDomain: String
# @param RecordLineId: 线路的 ID,通过 API 记录线路获得,英文字符串,比如:10=1。参数RecordLineId优先级高于RecordLine,如果同时传递二者,优先使用RecordLineId参数。
# @type RecordLineId: String
+ # @param Ttl: TTL值,如果不传,默认为域名的TTL值。
+ # @type Ttl: Integer
- attr_accessor :Domain, :RecordId, :RecordLine, :Value, :DomainId, :SubDomain, :RecordLineId
+ attr_accessor :Domain, :RecordId, :RecordLine, :Value, :DomainId, :SubDomain, :RecordLineId, :Ttl
- def initialize(domain=nil, recordid=nil, recordline=nil, value=nil, domainid=nil, subdomain=nil, recordlineid=nil)
+ def initialize(domain=nil, recordid=nil, recordline=nil, value=nil, domainid=nil, subdomain=nil, recordlineid=nil, ttl=nil)
@Domain = domain
@RecordId = recordid
@RecordLine = recordline
@Value = value
@DomainId = domainid
@SubDomain = subdomain
@RecordLineId = recordlineid
+ @Ttl = ttl
end
def deserialize(params)
@Domain = params['Domain']
@RecordId = params['RecordId']
@RecordLine = params['RecordLine']
@Value = params['Value']
@DomainId = params['DomainId']
@SubDomain = params['SubDomain']
@RecordLineId = params['RecordLineId']
+ @Ttl = params['Ttl']
end
end
# ModifyDynamicDNS返回参数结构体
class ModifyDynamicDNSResponse < TencentCloud::Common::AbstractModel