lib/v20210622/models.rb in tencentcloud-sdk-apm-3.0.371 vs lib/v20210622/models.rb in tencentcloud-sdk-apm-3.0.379
- old
+ new
@@ -622,24 +622,30 @@
# @type Offset: Integer
# @param EndTime: 结束时间
# @type EndTime: Integer
# @param BusinessName: 业务名称(默认值:taw)
# @type BusinessName: String
+ # @param PageIndex: 页码
+ # @type PageIndex: Integer
+ # @param PageSize: 页长
+ # @type PageSize: Integer
- attr_accessor :Filters, :Metrics, :GroupBy, :OrderBy, :InstanceId, :Limit, :StartTime, :Offset, :EndTime, :BusinessName
+ attr_accessor :Filters, :Metrics, :GroupBy, :OrderBy, :InstanceId, :Limit, :StartTime, :Offset, :EndTime, :BusinessName, :PageIndex, :PageSize
- def initialize(filters=nil, metrics=nil, groupby=nil, orderby=nil, instanceid=nil, limit=nil, starttime=nil, offset=nil, endtime=nil, businessname=nil)
+ def initialize(filters=nil, metrics=nil, groupby=nil, orderby=nil, instanceid=nil, limit=nil, starttime=nil, offset=nil, endtime=nil, businessname=nil, pageindex=nil, pagesize=nil)
@Filters = filters
@Metrics = metrics
@GroupBy = groupby
@OrderBy = orderby
@InstanceId = instanceid
@Limit = limit
@StartTime = starttime
@Offset = offset
@EndTime = endtime
@BusinessName = businessname
+ @PageIndex = pageindex
+ @PageSize = pagesize
end
def deserialize(params)
unless params['Filters'].nil?
@Filters = []
@@ -666,25 +672,31 @@
@Limit = params['Limit']
@StartTime = params['StartTime']
@Offset = params['Offset']
@EndTime = params['EndTime']
@BusinessName = params['BusinessName']
+ @PageIndex = params['PageIndex']
+ @PageSize = params['PageSize']
end
end
# DescribeMetricRecords返回参数结构体
class DescribeMetricRecordsResponse < TencentCloud::Common::AbstractModel
# @param Records: 指标结果集
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Records: Array
+ # @param TotalCount: 查询指标结果集条数
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type TotalCount: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :Records, :RequestId
+ attr_accessor :Records, :TotalCount, :RequestId
- def initialize(records=nil, requestid=nil)
+ def initialize(records=nil, totalcount=nil, requestid=nil)
@Records = records
+ @TotalCount = totalcount
@RequestId = requestid
end
def deserialize(params)
unless params['Records'].nil?
@@ -693,9 +705,10 @@
apmmetricrecord_tmp = ApmMetricRecord.new
apmmetricrecord_tmp.deserialize(i)
@Records << apmmetricrecord_tmp
end
end
+ @TotalCount = params['TotalCount']
@RequestId = params['RequestId']
end
end
# DescribeServiceOverview请求参数结构体