Class: TencentCloud::Apm::V20210622::DescribeApmServiceMetricResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210622/models.rb

Overview

DescribeApmServiceMetric返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ApplicationCountObject

Parameters:

  • ServiceMetricList:

    应用指标列表

  • TotalCount:

    符合筛选条件的应用数

  • WarningErrorCount:

    警示异常应用数

  • ApplicationCount:

    应用总数

  • Page:

    页码

  • PageSize:

    页大小

  • ErrorCount:

    异常应用数

  • WarningCount:

    警示应用数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1944
1945
1946
# File 'lib/v20210622/models.rb', line 1944

def ApplicationCount
  @ApplicationCount
end

#ErrorCountObject

Parameters:

  • ServiceMetricList:

    应用指标列表

  • TotalCount:

    符合筛选条件的应用数

  • WarningErrorCount:

    警示异常应用数

  • ApplicationCount:

    应用总数

  • Page:

    页码

  • PageSize:

    页大小

  • ErrorCount:

    异常应用数

  • WarningCount:

    警示应用数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1944
1945
1946
# File 'lib/v20210622/models.rb', line 1944

def ErrorCount
  @ErrorCount
end

#PageObject

Parameters:

  • ServiceMetricList:

    应用指标列表

  • TotalCount:

    符合筛选条件的应用数

  • WarningErrorCount:

    警示异常应用数

  • ApplicationCount:

    应用总数

  • Page:

    页码

  • PageSize:

    页大小

  • ErrorCount:

    异常应用数

  • WarningCount:

    警示应用数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1944
1945
1946
# File 'lib/v20210622/models.rb', line 1944

def Page
  @Page
end

#PageSizeObject

Parameters:

  • ServiceMetricList:

    应用指标列表

  • TotalCount:

    符合筛选条件的应用数

  • WarningErrorCount:

    警示异常应用数

  • ApplicationCount:

    应用总数

  • Page:

    页码

  • PageSize:

    页大小

  • ErrorCount:

    异常应用数

  • WarningCount:

    警示应用数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1944
1945
1946
# File 'lib/v20210622/models.rb', line 1944

def PageSize
  @PageSize
end

#RequestIdObject

Parameters:

  • ServiceMetricList:

    应用指标列表

  • TotalCount:

    符合筛选条件的应用数

  • WarningErrorCount:

    警示异常应用数

  • ApplicationCount:

    应用总数

  • Page:

    页码

  • PageSize:

    页大小

  • ErrorCount:

    异常应用数

  • WarningCount:

    警示应用数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1944
1945
1946
# File 'lib/v20210622/models.rb', line 1944

def RequestId
  @RequestId
end

#ServiceMetricListObject

Parameters:

  • ServiceMetricList:

    应用指标列表

  • TotalCount:

    符合筛选条件的应用数

  • WarningErrorCount:

    警示异常应用数

  • ApplicationCount:

    应用总数

  • Page:

    页码

  • PageSize:

    页大小

  • ErrorCount:

    异常应用数

  • WarningCount:

    警示应用数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1944
1945
1946
# File 'lib/v20210622/models.rb', line 1944

def ServiceMetricList
  @ServiceMetricList
end

#TotalCountObject

Parameters:

  • ServiceMetricList:

    应用指标列表

  • TotalCount:

    符合筛选条件的应用数

  • WarningErrorCount:

    警示异常应用数

  • ApplicationCount:

    应用总数

  • Page:

    页码

  • PageSize:

    页大小

  • ErrorCount:

    异常应用数

  • WarningCount:

    警示应用数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1944
1945
1946
# File 'lib/v20210622/models.rb', line 1944

def TotalCount
  @TotalCount
end

#WarningCountObject

Parameters:

  • ServiceMetricList:

    应用指标列表

  • TotalCount:

    符合筛选条件的应用数

  • WarningErrorCount:

    警示异常应用数

  • ApplicationCount:

    应用总数

  • Page:

    页码

  • PageSize:

    页大小

  • ErrorCount:

    异常应用数

  • WarningCount:

    警示应用数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1944
1945
1946
# File 'lib/v20210622/models.rb', line 1944

def WarningCount
  @WarningCount
end

#WarningErrorCountObject

Parameters:

  • ServiceMetricList:

    应用指标列表

  • TotalCount:

    符合筛选条件的应用数

  • WarningErrorCount:

    警示异常应用数

  • ApplicationCount:

    应用总数

  • Page:

    页码

  • PageSize:

    页大小

  • ErrorCount:

    异常应用数

  • WarningCount:

    警示应用数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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