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.
2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 |
# File 'lib/v20210622/models.rb', line 2667 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:对查询指标进行降序排序
2665 2666 2667 |
# File 'lib/v20210622/models.rb', line 2665 def EndTime @EndTime end |
#Filters ⇒ Object
Value 填写:
- asc:对查询指标进行升序排序
- desc:对查询指标进行降序排序
2665 2666 2667 |
# File 'lib/v20210622/models.rb', line 2665 def Filters @Filters end |
#GroupBy ⇒ Object
Value 填写:
- asc:对查询指标进行升序排序
- desc:对查询指标进行降序排序
2665 2666 2667 |
# File 'lib/v20210622/models.rb', line 2665 def GroupBy @GroupBy end |
#InstanceId ⇒ Object
Value 填写:
- asc:对查询指标进行升序排序
- desc:对查询指标进行降序排序
2665 2666 2667 |
# File 'lib/v20210622/models.rb', line 2665 def InstanceId @InstanceId end |
#Limit ⇒ Object
Value 填写:
- asc:对查询指标进行升序排序
- desc:对查询指标进行降序排序
2665 2666 2667 |
# File 'lib/v20210622/models.rb', line 2665 def Limit @Limit end |
#Metrics ⇒ Object
Value 填写:
- asc:对查询指标进行升序排序
- desc:对查询指标进行降序排序
2665 2666 2667 |
# File 'lib/v20210622/models.rb', line 2665 def Metrics @Metrics end |
#Offset ⇒ Object
Value 填写:
- asc:对查询指标进行升序排序
- desc:对查询指标进行降序排序
2665 2666 2667 |
# File 'lib/v20210622/models.rb', line 2665 def Offset @Offset end |
#OrderBy ⇒ Object
Value 填写:
- asc:对查询指标进行升序排序
- desc:对查询指标进行降序排序
2665 2666 2667 |
# File 'lib/v20210622/models.rb', line 2665 def OrderBy @OrderBy end |
#StartTime ⇒ Object
Value 填写:
- asc:对查询指标进行升序排序
- desc:对查询指标进行降序排序
2665 2666 2667 |
# File 'lib/v20210622/models.rb', line 2665 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/v20210622/models.rb', line 2679 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 |