lib/v20201028/models.rb in tencentcloud-sdk-privatedns-3.0.411 vs lib/v20201028/models.rb in tencentcloud-sdk-privatedns-3.0.412
- old
+ new
@@ -1069,17 +1069,21 @@
# @type Resource: String
# @param Metric: 表名
# @type Metric: String
# @param DataSet: 表数据
# @type DataSet: Array
+ # @param MetricCount: 查询范围内的请求总量
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type MetricCount: Integer
- attr_accessor :Resource, :Metric, :DataSet
+ attr_accessor :Resource, :Metric, :DataSet, :MetricCount
- def initialize(resource=nil, metric=nil, dataset=nil)
+ def initialize(resource=nil, metric=nil, dataset=nil, metriccount=nil)
@Resource = resource
@Metric = metric
@DataSet = dataset
+ @MetricCount = metriccount
end
def deserialize(params)
@Resource = params['Resource']
@Metric = params['Metric']
@@ -1089,9 +1093,10 @@
datepoint_tmp = DatePoint.new
datepoint_tmp.deserialize(i)
@DataSet << datepoint_tmp
end
end
+ @MetricCount = params['MetricCount']
end
end
# ModifyPrivateZoneRecord请求参数结构体
class ModifyPrivateZoneRecordRequest < TencentCloud::Common::AbstractModel