Class: TencentCloud::Apm::V20210622::DescribeServiceOverviewRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::DescribeServiceOverviewRequest
- Defined in:
- lib/v20210622/models.rb
Overview
DescribeServiceOverview请求参数结构体
Instance Attribute Summary collapse
-
#EndTime ⇒ Object
Value 填写: - asc:对查询指标进行升序排序 - desc:对查询指标进行降序排序.
-
#Filters ⇒ Object
Value 填写: - asc:对查询指标进行升序排序 - desc:对查询指标进行降序排序.
-
#GroupBy ⇒ Object
Value 填写: - asc:对查询指标进行升序排序 - desc:对查询指标进行降序排序.
-
#InstanceId ⇒ Object
Value 填写: - asc:对查询指标进行升序排序 - desc:对查询指标进行降序排序.
-
#Limit ⇒ Object
Value 填写: - asc:对查询指标进行升序排序 - desc:对查询指标进行降序排序.
-
#Metrics ⇒ Object
Value 填写: - asc:对查询指标进行升序排序 - desc:对查询指标进行降序排序.
-
#Offset ⇒ Object
Value 填写: - asc:对查询指标进行升序排序 - desc:对查询指标进行降序排序.
-
#OrderBy ⇒ Object
Value 填写: - asc:对查询指标进行升序排序 - desc:对查询指标进行降序排序.
-
#StartTime ⇒ Object
Value 填写: - asc:对查询指标进行升序排序 - desc:对查询指标进行降序排序.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, metrics = nil, starttime = nil, endtime = nil, groupby = nil, filters = nil, orderby = nil, limit = nil, offset = nil) ⇒ DescribeServiceOverviewRequest
constructor
A new instance of DescribeServiceOverviewRequest.
Constructor Details
#initialize(instanceid = nil, metrics = nil, starttime = nil, endtime = nil, groupby = nil, filters = nil, orderby = nil, limit = nil, offset = nil) ⇒ DescribeServiceOverviewRequest
Returns a new instance of DescribeServiceOverviewRequest.
2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 |
# File 'lib/v20210622/models.rb', line 2255 def initialize(instanceid=nil, metrics=nil, starttime=nil, endtime=nil, groupby=nil, filters=nil, orderby=nil, limit=nil, offset=nil) @InstanceId = instanceid @Metrics = metrics @StartTime = starttime @EndTime = endtime @GroupBy = groupby @Filters = filters @OrderBy = orderby @Limit = limit @Offset = offset end |
Instance Attribute Details
#EndTime ⇒ Object
Value 填写:
-
asc:对查询指标进行升序排序
-
desc:对查询指标进行降序排序
2253 2254 2255 |
# File 'lib/v20210622/models.rb', line 2253 def EndTime @EndTime end |
#Filters ⇒ Object
Value 填写:
-
asc:对查询指标进行升序排序
-
desc:对查询指标进行降序排序
2253 2254 2255 |
# File 'lib/v20210622/models.rb', line 2253 def Filters @Filters end |
#GroupBy ⇒ Object
Value 填写:
-
asc:对查询指标进行升序排序
-
desc:对查询指标进行降序排序
2253 2254 2255 |
# File 'lib/v20210622/models.rb', line 2253 def GroupBy @GroupBy end |
#InstanceId ⇒ Object
Value 填写:
-
asc:对查询指标进行升序排序
-
desc:对查询指标进行降序排序
2253 2254 2255 |
# File 'lib/v20210622/models.rb', line 2253 def InstanceId @InstanceId end |
#Limit ⇒ Object
Value 填写:
-
asc:对查询指标进行升序排序
-
desc:对查询指标进行降序排序
2253 2254 2255 |
# File 'lib/v20210622/models.rb', line 2253 def Limit @Limit end |
#Metrics ⇒ Object
Value 填写:
-
asc:对查询指标进行升序排序
-
desc:对查询指标进行降序排序
2253 2254 2255 |
# File 'lib/v20210622/models.rb', line 2253 def Metrics @Metrics end |
#Offset ⇒ Object
Value 填写:
-
asc:对查询指标进行升序排序
-
desc:对查询指标进行降序排序
2253 2254 2255 |
# File 'lib/v20210622/models.rb', line 2253 def Offset @Offset end |
#OrderBy ⇒ Object
Value 填写:
-
asc:对查询指标进行升序排序
-
desc:对查询指标进行降序排序
2253 2254 2255 |
# File 'lib/v20210622/models.rb', line 2253 def OrderBy @OrderBy end |
#StartTime ⇒ Object
Value 填写:
-
asc:对查询指标进行升序排序
-
desc:对查询指标进行降序排序
2253 2254 2255 |
# File 'lib/v20210622/models.rb', line 2253 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 |
# File 'lib/v20210622/models.rb', line 2267 def deserialize(params) @InstanceId = params['InstanceId'] unless params['Metrics'].nil? @Metrics = [] params['Metrics'].each do |i| querymetricitem_tmp = QueryMetricItem.new querymetricitem_tmp.deserialize(i) @Metrics << querymetricitem_tmp end end @StartTime = params['StartTime'] @EndTime = params['EndTime'] @GroupBy = params['GroupBy'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end unless params['OrderBy'].nil? @OrderBy = OrderBy.new @OrderBy.deserialize(params['OrderBy']) end @Limit = params['Limit'] @Offset = params['Offset'] end |