Class: TencentCloud::Cwp::V20180228::DescribeBashRulesRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeBashRulesRequest
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeBashRules请求参数结构体
Instance Attribute Summary collapse
-
#Filters ⇒ Object
- Name - String - 是否必填:否 - 规则名称
- Rule - String - 是否必填:否 - 规则内容
- Level - Int - 是否必填:否 - 威胁等级
- White - Int - 是否必填:否 - 白名单类型
- RuleCategory - Int - 是否必填:否 - 策略类型
- BashAction - Int - 是否必填:否 - 操作动作
- Status - Int - 是否必填:否 - 生效状态
. -
#Limit ⇒ Object
- Name - String - 是否必填:否 - 规则名称
- Rule - String - 是否必填:否 - 规则内容
- Level - Int - 是否必填:否 - 威胁等级
- White - Int - 是否必填:否 - 白名单类型
- RuleCategory - Int - 是否必填:否 - 策略类型
- BashAction - Int - 是否必填:否 - 操作动作
- Status - Int - 是否必填:否 - 生效状态
. -
#Offset ⇒ Object
- Name - String - 是否必填:否 - 规则名称
- Rule - String - 是否必填:否 - 规则内容
- Level - Int - 是否必填:否 - 威胁等级
- White - Int - 是否必填:否 - 白名单类型
- RuleCategory - Int - 是否必填:否 - 策略类型
- BashAction - Int - 是否必填:否 - 操作动作
- Status - Int - 是否必填:否 - 生效状态
. -
#Type ⇒ Object
- Name - String - 是否必填:否 - 规则名称
- Rule - String - 是否必填:否 - 规则内容
- Level - Int - 是否必填:否 - 威胁等级
- White - Int - 是否必填:否 - 白名单类型
- RuleCategory - Int - 是否必填:否 - 策略类型
- BashAction - Int - 是否必填:否 - 操作动作
- Status - Int - 是否必填:否 - 生效状态
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, limit = nil, offset = nil, filters = nil) ⇒ DescribeBashRulesRequest
constructor
A new instance of DescribeBashRulesRequest.
Constructor Details
#initialize(type = nil, limit = nil, offset = nil, filters = nil) ⇒ DescribeBashRulesRequest
13760 13761 13762 13763 13764 13765 |
# File 'lib/v20180228/models.rb', line 13760 def initialize(type=nil, limit=nil, offset=nil, filters=nil) @Type = type @Limit = limit @Offset = offset @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
13758 13759 13760 |
# File 'lib/v20180228/models.rb', line 13758 def Filters @Filters end |
#Limit ⇒ Object
13758 13759 13760 |
# File 'lib/v20180228/models.rb', line 13758 def Limit @Limit end |
#Offset ⇒ Object
13758 13759 13760 |
# File 'lib/v20180228/models.rb', line 13758 def Offset @Offset end |
#Type ⇒ Object
13758 13759 13760 |
# File 'lib/v20180228/models.rb', line 13758 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 |
# File 'lib/v20180228/models.rb', line 13767 def deserialize(params) @Type = params['Type'] @Limit = params['Limit'] @Offset = params['Offset'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |