Class: TencentCloud::Cwp::V20180228::ModifyBaselinePolicyRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::ModifyBaselinePolicyRequest
- Defined in:
- lib/v20180228/models.rb
Overview
ModifyBaselinePolicy请求参数结构体
Instance Attribute Summary collapse
-
#Data ⇒ Object
<li>CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类</li> <li>RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型</li>.
-
#Filters ⇒ Object
<li>CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类</li> <li>RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型</li>.
-
#SelectAll ⇒ Object
<li>CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类</li> <li>RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, filters = nil, selectall = nil) ⇒ ModifyBaselinePolicyRequest
constructor
A new instance of ModifyBaselinePolicyRequest.
Constructor Details
#initialize(data = nil, filters = nil, selectall = nil) ⇒ ModifyBaselinePolicyRequest
Returns a new instance of ModifyBaselinePolicyRequest.
32362 32363 32364 32365 32366 |
# File 'lib/v20180228/models.rb', line 32362 def initialize(data=nil, filters=nil, selectall=nil) @Data = data @Filters = filters @SelectAll = selectall end |
Instance Attribute Details
#Data ⇒ Object
<li>CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类</li> <li>RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型</li>
32360 32361 32362 |
# File 'lib/v20180228/models.rb', line 32360 def Data @Data end |
#Filters ⇒ Object
<li>CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类</li> <li>RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型</li>
32360 32361 32362 |
# File 'lib/v20180228/models.rb', line 32360 def Filters @Filters end |
#SelectAll ⇒ Object
<li>CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类</li> <li>RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型</li>
32360 32361 32362 |
# File 'lib/v20180228/models.rb', line 32360 def SelectAll @SelectAll end |
Instance Method Details
#deserialize(params) ⇒ Object
32368 32369 32370 32371 32372 32373 32374 32375 32376 32377 32378 32379 32380 32381 32382 |
# File 'lib/v20180228/models.rb', line 32368 def deserialize(params) unless params['Data'].nil? @Data = BaselinePolicy.new @Data.deserialize(params['Data']) end unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @SelectAll = params['SelectAll'] end |