Class: TencentCloud::Dayu::V20180709::CCFrequencyRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::CCFrequencyRule
- Defined in:
- lib/v20180709/models.rb
Overview
CC的访问频率控制规则
Instance Attribute Summary collapse
- #Act ⇒ Object
- #CCFrequencyRuleId ⇒ Object
- #Cookie ⇒ Object
- #ExeDuration ⇒ Object
- #Mode ⇒ Object
- #Period ⇒ Object
- #ReqNumber ⇒ Object
- #Uri ⇒ Object
- #UserAgent ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ccfrequencyruleid = nil, uri = nil, useragent = nil, cookie = nil, mode = nil, period = nil, reqnumber = nil, act = nil, exeduration = nil) ⇒ CCFrequencyRule
constructor
A new instance of CCFrequencyRule.
Constructor Details
#initialize(ccfrequencyruleid = nil, uri = nil, useragent = nil, cookie = nil, mode = nil, period = nil, reqnumber = nil, act = nil, exeduration = nil) ⇒ CCFrequencyRule
Returns a new instance of CCFrequencyRule.
186 187 188 189 190 191 192 193 194 195 196 |
# File 'lib/v20180709/models.rb', line 186 def initialize(ccfrequencyruleid=nil, uri=nil, useragent=nil, =nil, mode=nil, period=nil, reqnumber=nil, act=nil, exeduration=nil) @CCFrequencyRuleId = ccfrequencyruleid @Uri = uri @UserAgent = useragent @Cookie = @Mode = mode @Period = period @ReqNumber = reqnumber @Act = act @ExeDuration = exeduration end |
Instance Attribute Details
#Act ⇒ Object
184 185 186 |
# File 'lib/v20180709/models.rb', line 184 def Act @Act end |
#CCFrequencyRuleId ⇒ Object
184 185 186 |
# File 'lib/v20180709/models.rb', line 184 def CCFrequencyRuleId @CCFrequencyRuleId end |
#Cookie ⇒ Object
184 185 186 |
# File 'lib/v20180709/models.rb', line 184 def Cookie @Cookie end |
#ExeDuration ⇒ Object
184 185 186 |
# File 'lib/v20180709/models.rb', line 184 def ExeDuration @ExeDuration end |
#Mode ⇒ Object
184 185 186 |
# File 'lib/v20180709/models.rb', line 184 def Mode @Mode end |
#Period ⇒ Object
184 185 186 |
# File 'lib/v20180709/models.rb', line 184 def Period @Period end |
#ReqNumber ⇒ Object
184 185 186 |
# File 'lib/v20180709/models.rb', line 184 def ReqNumber @ReqNumber end |
#Uri ⇒ Object
184 185 186 |
# File 'lib/v20180709/models.rb', line 184 def Uri @Uri end |
#UserAgent ⇒ Object
184 185 186 |
# File 'lib/v20180709/models.rb', line 184 def UserAgent @UserAgent end |
Instance Method Details
#deserialize(params) ⇒ Object
198 199 200 201 202 203 204 205 206 207 208 |
# File 'lib/v20180709/models.rb', line 198 def deserialize(params) @CCFrequencyRuleId = params['CCFrequencyRuleId'] @Uri = params['Uri'] @UserAgent = params['UserAgent'] @Cookie = params['Cookie'] @Mode = params['Mode'] @Period = params['Period'] @ReqNumber = params['ReqNumber'] @Act = params['Act'] @ExeDuration = params['ExeDuration'] end |