Class: TencentCloud::Cwp::V20180228::DescribeBaselineItemInfoRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeBaselineItemInfoRequest
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeBaselineItemInfo请求参数结构体
Instance Attribute Summary collapse
-
#By ⇒ Object
- Level - int - 是否必填:否 - 风险等级
- ItemName - string - 是否必填:否 - 检测项名字
- RuleId - int - 是否必填:否 - 规则Id
. -
#Filters ⇒ Object
- Level - int - 是否必填:否 - 风险等级
- ItemName - string - 是否必填:否 - 检测项名字
- RuleId - int - 是否必填:否 - 规则Id
. -
#Limit ⇒ Object
- Level - int - 是否必填:否 - 风险等级
- ItemName - string - 是否必填:否 - 检测项名字
- RuleId - int - 是否必填:否 - 规则Id
. -
#Offset ⇒ Object
- Level - int - 是否必填:否 - 风险等级
- ItemName - string - 是否必填:否 - 检测项名字
- RuleId - int - 是否必填:否 - 规则Id
. -
#Order ⇒ Object
- Level - int - 是否必填:否 - 风险等级
- ItemName - string - 是否必填:否 - 检测项名字
- RuleId - int - 是否必填:否 - 规则Id
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(filters = nil, limit = nil, offset = nil, order = nil, by = nil) ⇒ DescribeBaselineItemInfoRequest
constructor
A new instance of DescribeBaselineItemInfoRequest.
Constructor Details
#initialize(filters = nil, limit = nil, offset = nil, order = nil, by = nil) ⇒ DescribeBaselineItemInfoRequest
Returns a new instance of DescribeBaselineItemInfoRequest.
12494 12495 12496 12497 12498 12499 12500 |
# File 'lib/v20180228/models.rb', line 12494 def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil) @Filters = filters @Limit = limit @Offset = offset @Order = order @By = by end |
Instance Attribute Details
#By ⇒ Object
12492 12493 12494 |
# File 'lib/v20180228/models.rb', line 12492 def By @By end |
#Filters ⇒ Object
12492 12493 12494 |
# File 'lib/v20180228/models.rb', line 12492 def Filters @Filters end |
#Limit ⇒ Object
12492 12493 12494 |
# File 'lib/v20180228/models.rb', line 12492 def Limit @Limit end |
#Offset ⇒ Object
12492 12493 12494 |
# File 'lib/v20180228/models.rb', line 12492 def Offset @Offset end |
#Order ⇒ Object
12492 12493 12494 |
# File 'lib/v20180228/models.rb', line 12492 def Order @Order end |
Instance Method Details
#deserialize(params) ⇒ Object
12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 |
# File 'lib/v20180228/models.rb', line 12502 def deserialize(params) unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @Limit = params['Limit'] @Offset = params['Offset'] @Order = params['Order'] @By = params['By'] end |