Class: TencentCloud::Cwp::V20180228::DescribeBaselineDetectOverviewResponse

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

Overview

DescribeBaselineDetectOverview返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hostcount = nil, itemcount = nil, policycount = nil, passrate = nil, latestpasscount = nil, latestnotpasscount = nil, requestid = nil) ⇒ DescribeBaselineDetectOverviewResponse

Returns a new instance of DescribeBaselineDetectOverviewResponse.



11941
11942
11943
11944
11945
11946
11947
11948
11949
# File 'lib/v20180228/models.rb', line 11941

def initialize(hostcount=nil, itemcount=nil, policycount=nil, passrate=nil, latestpasscount=nil, latestnotpasscount=nil, requestid=nil)
  @HostCount = hostcount
  @ItemCount = itemcount
  @PolicyCount = policycount
  @PassRate = passrate
  @LatestPassCount = latestpasscount
  @LatestNotPassCount = latestnotpasscount
  @RequestId = requestid
end

Instance Attribute Details

#HostCountObject

Parameters:

  • HostCount:

    检测服务器数

  • ItemCount:

    检测项

  • PolicyCount:

    检测策略项

  • PassRate:

    通过率*100%

  • LatestPassCount:

    最近一次检测通过个数

  • LatestNotPassCount:

    最近一次检测未通过个数

  • RequestId:

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



11939
11940
11941
# File 'lib/v20180228/models.rb', line 11939

def HostCount
  @HostCount
end

#ItemCountObject

Parameters:

  • HostCount:

    检测服务器数

  • ItemCount:

    检测项

  • PolicyCount:

    检测策略项

  • PassRate:

    通过率*100%

  • LatestPassCount:

    最近一次检测通过个数

  • LatestNotPassCount:

    最近一次检测未通过个数

  • RequestId:

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



11939
11940
11941
# File 'lib/v20180228/models.rb', line 11939

def ItemCount
  @ItemCount
end

#LatestNotPassCountObject

Parameters:

  • HostCount:

    检测服务器数

  • ItemCount:

    检测项

  • PolicyCount:

    检测策略项

  • PassRate:

    通过率*100%

  • LatestPassCount:

    最近一次检测通过个数

  • LatestNotPassCount:

    最近一次检测未通过个数

  • RequestId:

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



11939
11940
11941
# File 'lib/v20180228/models.rb', line 11939

def LatestNotPassCount
  @LatestNotPassCount
end

#LatestPassCountObject

Parameters:

  • HostCount:

    检测服务器数

  • ItemCount:

    检测项

  • PolicyCount:

    检测策略项

  • PassRate:

    通过率*100%

  • LatestPassCount:

    最近一次检测通过个数

  • LatestNotPassCount:

    最近一次检测未通过个数

  • RequestId:

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



11939
11940
11941
# File 'lib/v20180228/models.rb', line 11939

def LatestPassCount
  @LatestPassCount
end

#PassRateObject

Parameters:

  • HostCount:

    检测服务器数

  • ItemCount:

    检测项

  • PolicyCount:

    检测策略项

  • PassRate:

    通过率*100%

  • LatestPassCount:

    最近一次检测通过个数

  • LatestNotPassCount:

    最近一次检测未通过个数

  • RequestId:

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



11939
11940
11941
# File 'lib/v20180228/models.rb', line 11939

def PassRate
  @PassRate
end

#PolicyCountObject

Parameters:

  • HostCount:

    检测服务器数

  • ItemCount:

    检测项

  • PolicyCount:

    检测策略项

  • PassRate:

    通过率*100%

  • LatestPassCount:

    最近一次检测通过个数

  • LatestNotPassCount:

    最近一次检测未通过个数

  • RequestId:

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



11939
11940
11941
# File 'lib/v20180228/models.rb', line 11939

def PolicyCount
  @PolicyCount
end

#RequestIdObject

Parameters:

  • HostCount:

    检测服务器数

  • ItemCount:

    检测项

  • PolicyCount:

    检测策略项

  • PassRate:

    通过率*100%

  • LatestPassCount:

    最近一次检测通过个数

  • LatestNotPassCount:

    最近一次检测未通过个数

  • RequestId:

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



11939
11940
11941
# File 'lib/v20180228/models.rb', line 11939

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



11951
11952
11953
11954
11955
11956
11957
11958
11959
# File 'lib/v20180228/models.rb', line 11951

def deserialize(params)
  @HostCount = params['HostCount']
  @ItemCount = params['ItemCount']
  @PolicyCount = params['PolicyCount']
  @PassRate = params['PassRate']
  @LatestPassCount = params['LatestPassCount']
  @LatestNotPassCount = params['LatestNotPassCount']
  @RequestId = params['RequestId']
end