Class: TencentCloud::Apm::V20210622::DescribeApmServiceMetricResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::DescribeApmServiceMetricResponse
- Defined in:
- lib/v20210622/models.rb
Overview
DescribeApmServiceMetric返回参数结构体
Instance Attribute Summary collapse
- #ApplicationCount ⇒ Object
- #ErrorCount ⇒ Object
- #Page ⇒ Object
- #PageSize ⇒ Object
- #RequestId ⇒ Object
- #ServiceMetricList ⇒ Object
- #TotalCount ⇒ Object
- #WarningCount ⇒ Object
- #WarningErrorCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(servicemetriclist = nil, totalcount = nil, warningerrorcount = nil, applicationcount = nil, page = nil, pagesize = nil, errorcount = nil, warningcount = nil, requestid = nil) ⇒ DescribeApmServiceMetricResponse
constructor
A new instance of DescribeApmServiceMetricResponse.
Constructor Details
#initialize(servicemetriclist = nil, totalcount = nil, warningerrorcount = nil, applicationcount = nil, page = nil, pagesize = nil, errorcount = nil, warningcount = nil, requestid = nil) ⇒ DescribeApmServiceMetricResponse
Returns a new instance of DescribeApmServiceMetricResponse.
1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 |
# File 'lib/v20210622/models.rb', line 1946 def initialize(servicemetriclist=nil, totalcount=nil, warningerrorcount=nil, applicationcount=nil, page=nil, pagesize=nil, errorcount=nil, warningcount=nil, requestid=nil) @ServiceMetricList = servicemetriclist @TotalCount = totalcount @WarningErrorCount = warningerrorcount @ApplicationCount = applicationcount @Page = page @PageSize = pagesize @ErrorCount = errorcount @WarningCount = warningcount @RequestId = requestid end |
Instance Attribute Details
#ApplicationCount ⇒ Object
1944 1945 1946 |
# File 'lib/v20210622/models.rb', line 1944 def ApplicationCount @ApplicationCount end |
#ErrorCount ⇒ Object
1944 1945 1946 |
# File 'lib/v20210622/models.rb', line 1944 def ErrorCount @ErrorCount end |
#Page ⇒ Object
1944 1945 1946 |
# File 'lib/v20210622/models.rb', line 1944 def Page @Page end |
#PageSize ⇒ Object
1944 1945 1946 |
# File 'lib/v20210622/models.rb', line 1944 def PageSize @PageSize end |
#RequestId ⇒ Object
1944 1945 1946 |
# File 'lib/v20210622/models.rb', line 1944 def RequestId @RequestId end |
#ServiceMetricList ⇒ Object
1944 1945 1946 |
# File 'lib/v20210622/models.rb', line 1944 def ServiceMetricList @ServiceMetricList end |
#TotalCount ⇒ Object
1944 1945 1946 |
# File 'lib/v20210622/models.rb', line 1944 def TotalCount @TotalCount end |
#WarningCount ⇒ Object
1944 1945 1946 |
# File 'lib/v20210622/models.rb', line 1944 def WarningCount @WarningCount end |
#WarningErrorCount ⇒ Object
1944 1945 1946 |
# File 'lib/v20210622/models.rb', line 1944 def WarningErrorCount @WarningErrorCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 |
# File 'lib/v20210622/models.rb', line 1958 def deserialize(params) unless params['ServiceMetricList'].nil? @ServiceMetricList = [] params['ServiceMetricList'].each do |i| apmservicemetric_tmp = ApmServiceMetric.new apmservicemetric_tmp.deserialize(i) @ServiceMetricList << apmservicemetric_tmp end end @TotalCount = params['TotalCount'] @WarningErrorCount = params['WarningErrorCount'] @ApplicationCount = params['ApplicationCount'] @Page = params['Page'] @PageSize = params['PageSize'] @ErrorCount = params['ErrorCount'] @WarningCount = params['WarningCount'] @RequestId = params['RequestId'] end |