Class: TencentCloud::Waf::V20180125::UpsertCCRuleRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180125/models.rb

Overview

UpsertCCRule请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, name = nil, status = nil, advance = nil, limit = nil, interval = nil, actiontype = nil, priority = nil, validtime = nil, url = nil, matchfunc = nil, optionsarr = nil, edition = nil, type = nil, eventid = nil, sessionapplied = nil, ruleid = nil, createtime = nil, length = nil, limitmethod = nil, celrule = nil, logicalop = nil, pageid = nil, actionratio = nil, source = nil) ⇒ UpsertCCRuleRequest

Returns a new instance of UpsertCCRuleRequest.



19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
# File 'lib/v20180125/models.rb', line 19420

def initialize(domain=nil, name=nil, status=nil, advance=nil, limit=nil, interval=nil, actiontype=nil, priority=nil, validtime=nil, url=nil, matchfunc=nil, optionsarr=nil, edition=nil, type=nil, eventid=nil, sessionapplied=nil, ruleid=nil, createtime=nil, length=nil, limitmethod=nil, celrule=nil, logicalop=nil, pageid=nil, actionratio=nil, source=nil)
  @Domain = domain
  @Name = name
  @Status = status
  @Advance = advance
  @Limit = limit
  @Interval = interval
  @ActionType = actiontype
  @Priority = priority
  @ValidTime = validtime
  @Url = url
  @MatchFunc = matchfunc
  @OptionsArr = optionsarr
  @Edition = edition
  @Type = type
  @EventId = eventid
  @SessionApplied = sessionapplied
  @RuleId = ruleid
  @CreateTime = createtime
  @Length = length
  @LimitMethod = limitmethod
  @CelRule = celrule
  @LogicalOp = logicalop
  @PageId = pageid
  @ActionRatio = actionratio
  @Source = source
end

Instance Attribute Details

#ActionRatioObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def ActionRatio
  @ActionRatio
end

#ActionTypeObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def ActionType
  @ActionType
end

#AdvanceObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def Advance
  @Advance
end

#CelRuleObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def CelRule
  @CelRule
end

#CreateTimeObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def CreateTime
  @CreateTime
end

#DomainObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def Domain
  @Domain
end

#EditionObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def Edition
  @Edition
end

#EventIdObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def EventId
  @EventId
end

#IntervalObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def Interval
  @Interval
end

#LengthObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def Length
  @Length
end

#LimitObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def Limit
  @Limit
end

#LimitMethodObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def LimitMethod
  @LimitMethod
end

#LogicalOpObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def LogicalOp
  @LogicalOp
end

#MatchFuncObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def MatchFunc
  @MatchFunc
end

#NameObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def Name
  @Name
end

#OptionsArrObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def OptionsArr
  @OptionsArr
end

#PageIdObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def PageId
  @PageId
end

#PriorityObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def Priority
  @Priority
end

#RuleIdObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def RuleId
  @RuleId
end

#SessionAppliedObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def SessionApplied
  @SessionApplied
end

#SourceObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def Source
  @Source
end

#StatusObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def Status
  @Status
end

#TypeObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def Type
  @Type
end

#UrlObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def Url
  @Url
end

#ValidTimeObject

Parameters:



19418
19419
19420
# File 'lib/v20180125/models.rb', line 19418

def ValidTime
  @ValidTime
end

Instance Method Details

#deserialize(params) ⇒ Object



19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
# File 'lib/v20180125/models.rb', line 19448

def deserialize(params)
  @Domain = params['Domain']
  @Name = params['Name']
  @Status = params['Status']
  @Advance = params['Advance']
  @Limit = params['Limit']
  @Interval = params['Interval']
  @ActionType = params['ActionType']
  @Priority = params['Priority']
  @ValidTime = params['ValidTime']
  @Url = params['Url']
  @MatchFunc = params['MatchFunc']
  @OptionsArr = params['OptionsArr']
  @Edition = params['Edition']
  @Type = params['Type']
  @EventId = params['EventId']
  @SessionApplied = params['SessionApplied']
  @RuleId = params['RuleId']
  @CreateTime = params['CreateTime']
  @Length = params['Length']
  @LimitMethod = params['LimitMethod']
  @CelRule = params['CelRule']
  @LogicalOp = params['LogicalOp']
  @PageId = params['PageId']
  @ActionRatio = params['ActionRatio']
  @Source = params['Source']
end