lib/v20210622/models.rb in tencentcloud-sdk-apm-3.0.875 vs lib/v20210622/models.rb in tencentcloud-sdk-apm-3.0.876

- old
+ new

@@ -923,14 +923,16 @@ # @type PageIndex: Integer # @param PageSize: 页长 # @type PageSize: Integer # @param OrFilters: Or过滤条件 # @type OrFilters: Array + # @param Type: 数据来源 + # @type Type: String - attr_accessor :Filters, :Metrics, :GroupBy, :OrderBy, :InstanceId, :Limit, :StartTime, :Offset, :EndTime, :BusinessName, :PageIndex, :PageSize, :OrFilters + attr_accessor :Filters, :Metrics, :GroupBy, :OrderBy, :InstanceId, :Limit, :StartTime, :Offset, :EndTime, :BusinessName, :PageIndex, :PageSize, :OrFilters, :Type - 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, orfilters=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, orfilters=nil, type=nil) @Filters = filters @Metrics = metrics @GroupBy = groupby @OrderBy = orderby @InstanceId = instanceid @@ -940,10 +942,11 @@ @EndTime = endtime @BusinessName = businessname @PageIndex = pageindex @PageSize = pagesize @OrFilters = orfilters + @Type = type end def deserialize(params) unless params['Filters'].nil? @Filters = [] @@ -980,9 +983,10 @@ filter_tmp = Filter.new filter_tmp.deserialize(i) @OrFilters << filter_tmp end end + @Type = params['Type'] end end # DescribeMetricRecords返回参数结构体 class DescribeMetricRecordsResponse < TencentCloud::Common::AbstractModel