Class: TencentCloud::Cwp::V20180228::ModifyFileTamperRuleRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::ModifyFileTamperRuleRequest
- Defined in:
- lib/v20180228/models.rb
Overview
ModifyFileTamperRule请求参数结构体
Instance Attribute Summary collapse
-
#AddWhiteType ⇒ Object
- cur 仅对当前加白
- all 所有符合条件加白
. -
#Id ⇒ Object
- cur 仅对当前加白
- all 所有符合条件加白
. -
#IsGlobal ⇒ Object
- cur 仅对当前加白
- all 所有符合条件加白
. -
#Level ⇒ Object
- cur 仅对当前加白
- all 所有符合条件加白
. -
#Name ⇒ Object
- cur 仅对当前加白
- all 所有符合条件加白
. -
#Rules ⇒ Object
- cur 仅对当前加白
- all 所有符合条件加白
. -
#Status ⇒ Object
- cur 仅对当前加白
- all 所有符合条件加白
. -
#Uuids ⇒ Object
- cur 仅对当前加白
- all 所有符合条件加白
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, rules = nil, isglobal = nil, status = nil, id = nil, uuids = nil, level = nil, addwhitetype = nil) ⇒ ModifyFileTamperRuleRequest
constructor
A new instance of ModifyFileTamperRuleRequest.
Constructor Details
#initialize(name = nil, rules = nil, isglobal = nil, status = nil, id = nil, uuids = nil, level = nil, addwhitetype = nil) ⇒ ModifyFileTamperRuleRequest
Returns a new instance of ModifyFileTamperRuleRequest.
32396 32397 32398 32399 32400 32401 32402 32403 32404 32405 |
# File 'lib/v20180228/models.rb', line 32396 def initialize(name=nil, rules=nil, isglobal=nil, status=nil, id=nil, uuids=nil, level=nil, addwhitetype=nil) @Name = name @Rules = rules @IsGlobal = isglobal @Status = status @Id = id @Uuids = uuids @Level = level @AddWhiteType = addwhitetype end |
Instance Attribute Details
#AddWhiteType ⇒ Object
32394 32395 32396 |
# File 'lib/v20180228/models.rb', line 32394 def AddWhiteType @AddWhiteType end |
#Id ⇒ Object
32394 32395 32396 |
# File 'lib/v20180228/models.rb', line 32394 def Id @Id end |
#IsGlobal ⇒ Object
32394 32395 32396 |
# File 'lib/v20180228/models.rb', line 32394 def IsGlobal @IsGlobal end |
#Level ⇒ Object
32394 32395 32396 |
# File 'lib/v20180228/models.rb', line 32394 def Level @Level end |
#Name ⇒ Object
32394 32395 32396 |
# File 'lib/v20180228/models.rb', line 32394 def Name @Name end |
#Rules ⇒ Object
32394 32395 32396 |
# File 'lib/v20180228/models.rb', line 32394 def Rules @Rules end |
#Status ⇒ Object
32394 32395 32396 |
# File 'lib/v20180228/models.rb', line 32394 def Status @Status end |
#Uuids ⇒ Object
32394 32395 32396 |
# File 'lib/v20180228/models.rb', line 32394 def Uuids @Uuids end |
Instance Method Details
#deserialize(params) ⇒ Object
32407 32408 32409 32410 32411 32412 32413 32414 32415 32416 32417 32418 32419 32420 32421 32422 32423 |
# File 'lib/v20180228/models.rb', line 32407 def deserialize(params) @Name = params['Name'] unless params['Rules'].nil? @Rules = [] params['Rules'].each do |i| filetamperrule_tmp = FileTamperRule.new filetamperrule_tmp.deserialize(i) @Rules << filetamperrule_tmp end end @IsGlobal = params['IsGlobal'] @Status = params['Status'] @Id = params['Id'] @Uuids = params['Uuids'] @Level = params['Level'] @AddWhiteType = params['AddWhiteType'] end |