lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.509 vs lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.510
- old
+ new
@@ -2534,21 +2534,24 @@
# @type InternetMaxBandwidth: Integer
# @param Tags: 需要关联的标签列表。
# @type Tags: Array
# @param Protocol: 带宽包协议类型。当前支持'ipv4'和'ipv6'协议带宽包,默认值是'ipv4'。
# @type Protocol: String
+ # @param TimeSpan: 预付费包月带宽包的购买时长,单位: 月,取值范围: 1~60。
+ # @type TimeSpan: Integer
- attr_accessor :NetworkType, :ChargeType, :BandwidthPackageName, :BandwidthPackageCount, :InternetMaxBandwidth, :Tags, :Protocol
+ attr_accessor :NetworkType, :ChargeType, :BandwidthPackageName, :BandwidthPackageCount, :InternetMaxBandwidth, :Tags, :Protocol, :TimeSpan
- def initialize(networktype=nil, chargetype=nil, bandwidthpackagename=nil, bandwidthpackagecount=nil, internetmaxbandwidth=nil, tags=nil, protocol=nil)
+ def initialize(networktype=nil, chargetype=nil, bandwidthpackagename=nil, bandwidthpackagecount=nil, internetmaxbandwidth=nil, tags=nil, protocol=nil, timespan=nil)
@NetworkType = networktype
@ChargeType = chargetype
@BandwidthPackageName = bandwidthpackagename
@BandwidthPackageCount = bandwidthpackagecount
@InternetMaxBandwidth = internetmaxbandwidth
@Tags = tags
@Protocol = protocol
+ @TimeSpan = timespan
end
def deserialize(params)
@NetworkType = params['NetworkType']
@ChargeType = params['ChargeType']
@@ -2562,9 +2565,10 @@
tag_tmp.deserialize(i)
@Tags << tag_tmp
end
end
@Protocol = params['Protocol']
+ @TimeSpan = params['TimeSpan']
end
end
# CreateBandwidthPackage返回参数结构体
class CreateBandwidthPackageResponse < TencentCloud::Common::AbstractModel