Class: TencentCloud::Waf::V20180125::InOutputBotUCBRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::InOutputBotUCBRule
- Defined in:
- lib/v20180125/models.rb
Overview
修改/新增自定义规则的入参,查询自定义规则列表时的出参
Instance Attribute Summary collapse
- #Action ⇒ Object
- #ActionList ⇒ Object
- #AdditionArg ⇒ Object
- #Appid ⇒ Object
- #BlockPageId ⇒ Object
- #DelayTime ⇒ Object
- #Desc ⇒ Object
- #Domain ⇒ Object
- #ExpireTime ⇒ Object
- #Id ⇒ Object
- #JobDateTime ⇒ Object
- #JobType ⇒ Object
- #Label ⇒ Object
- #Name ⇒ Object
- #OnOff ⇒ Object
- #PreDefine ⇒ Object
- #Prior ⇒ Object
- #Rule ⇒ Object
- #RuleId ⇒ Object
- #RuleType ⇒ Object
- #SceneId ⇒ Object
- #Timestamp ⇒ Object
- #ValidStatus ⇒ Object
- #ValidTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, name = nil, rule = nil, action = nil, onoff = nil, ruletype = nil, prior = nil, timestamp = nil, label = nil, id = nil, sceneid = nil, validtime = nil, appid = nil, additionarg = nil, desc = nil, ruleid = nil, predefine = nil, jobtype = nil, jobdatetime = nil, expiretime = nil, validstatus = nil, blockpageid = nil, actionlist = nil, delaytime = nil) ⇒ InOutputBotUCBRule
constructor
A new instance of InOutputBotUCBRule.
Constructor Details
#initialize(domain = nil, name = nil, rule = nil, action = nil, onoff = nil, ruletype = nil, prior = nil, timestamp = nil, label = nil, id = nil, sceneid = nil, validtime = nil, appid = nil, additionarg = nil, desc = nil, ruleid = nil, predefine = nil, jobtype = nil, jobdatetime = nil, expiretime = nil, validstatus = nil, blockpageid = nil, actionlist = nil, delaytime = nil) ⇒ InOutputBotUCBRule
Returns a new instance of InOutputBotUCBRule.
12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 |
# File 'lib/v20180125/models.rb', line 12246 def initialize(domain=nil, name=nil, rule=nil, action=nil, onoff=nil, ruletype=nil, prior=nil, =nil, label=nil, id=nil, sceneid=nil, validtime=nil, appid=nil, additionarg=nil, desc=nil, ruleid=nil, predefine=nil, jobtype=nil, jobdatetime=nil, expiretime=nil, validstatus=nil, blockpageid=nil, actionlist=nil, delaytime=nil) @Domain = domain @Name = name @Rule = rule @Action = action @OnOff = onoff @RuleType = ruletype @Prior = prior @Timestamp = @Label = label @Id = id @SceneId = sceneid @ValidTime = validtime @Appid = appid @AdditionArg = additionarg @Desc = desc @RuleId = ruleid @PreDefine = predefine @JobType = jobtype @JobDateTime = jobdatetime @ExpireTime = expiretime @ValidStatus = validstatus @BlockPageId = blockpageid @ActionList = actionlist @DelayTime = delaytime end |
Instance Attribute Details
#Action ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def Action @Action end |
#ActionList ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def ActionList @ActionList end |
#AdditionArg ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def AdditionArg @AdditionArg end |
#Appid ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def Appid @Appid end |
#BlockPageId ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def BlockPageId @BlockPageId end |
#DelayTime ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def DelayTime @DelayTime end |
#Desc ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def Desc @Desc end |
#Domain ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def Domain @Domain end |
#ExpireTime ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def ExpireTime @ExpireTime end |
#Id ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def Id @Id end |
#JobDateTime ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def JobDateTime @JobDateTime end |
#JobType ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def JobType @JobType end |
#Label ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def Label @Label end |
#Name ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def Name @Name end |
#OnOff ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def OnOff @OnOff end |
#PreDefine ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def PreDefine @PreDefine end |
#Prior ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def Prior @Prior end |
#Rule ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def Rule @Rule end |
#RuleId ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def RuleId @RuleId end |
#RuleType ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def RuleType @RuleType end |
#SceneId ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def SceneId @SceneId end |
#Timestamp ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def Timestamp @Timestamp end |
#ValidStatus ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def ValidStatus @ValidStatus end |
#ValidTime ⇒ Object
12244 12245 12246 |
# File 'lib/v20180125/models.rb', line 12244 def ValidTime @ValidTime end |
Instance Method Details
#deserialize(params) ⇒ Object
12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 |
# File 'lib/v20180125/models.rb', line 12273 def deserialize(params) @Domain = params['Domain'] @Name = params['Name'] unless params['Rule'].nil? @Rule = [] params['Rule'].each do |i| inoutputucbruleentry_tmp = InOutputUCBRuleEntry.new inoutputucbruleentry_tmp.deserialize(i) @Rule << inoutputucbruleentry_tmp end end @Action = params['Action'] @OnOff = params['OnOff'] @RuleType = params['RuleType'] @Prior = params['Prior'] @Timestamp = params['Timestamp'] @Label = params['Label'] @Id = params['Id'] @SceneId = params['SceneId'] @ValidTime = params['ValidTime'] @Appid = params['Appid'] @AdditionArg = params['AdditionArg'] @Desc = params['Desc'] @RuleId = params['RuleId'] @PreDefine = params['PreDefine'] @JobType = params['JobType'] unless params['JobDateTime'].nil? @JobDateTime = JobDateTime.new @JobDateTime.deserialize(params['JobDateTime']) end @ExpireTime = params['ExpireTime'] @ValidStatus = params['ValidStatus'] @BlockPageId = params['BlockPageId'] unless params['ActionList'].nil? @ActionList = [] params['ActionList'].each do |i| ucbactionproportion_tmp = UCBActionProportion.new ucbactionproportion_tmp.deserialize(i) @ActionList << ucbactionproportion_tmp end end @DelayTime = params['DelayTime'] end |