Class: TencentCloud::Antiddos::V20200309::ListenerCcThresholdConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::ListenerCcThresholdConfig
- Defined in:
- lib/v20200309/models.rb
Overview
域名与协议纬度的CC防护阈值
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, protocol = nil, ccenable = nil, ccthreshold = nil) ⇒ ListenerCcThresholdConfig
constructor
A new instance of ListenerCcThresholdConfig.
Constructor Details
#initialize(domain = nil, protocol = nil, ccenable = nil, ccthreshold = nil) ⇒ ListenerCcThresholdConfig
Returns a new instance of ListenerCcThresholdConfig.
7060 7061 7062 7063 7064 7065 |
# File 'lib/v20200309/models.rb', line 7060 def initialize(domain=nil, protocol=nil, ccenable=nil, ccthreshold=nil) @Domain = domain @Protocol = protocol @CCEnable = ccenable @CCThreshold = ccthreshold end |
Instance Attribute Details
#CCEnable ⇒ Object
7058 7059 7060 |
# File 'lib/v20200309/models.rb', line 7058 def CCEnable @CCEnable end |
#CCThreshold ⇒ Object
7058 7059 7060 |
# File 'lib/v20200309/models.rb', line 7058 def CCThreshold @CCThreshold end |
#Domain ⇒ Object
7058 7059 7060 |
# File 'lib/v20200309/models.rb', line 7058 def Domain @Domain end |
#Protocol ⇒ Object
7058 7059 7060 |
# File 'lib/v20200309/models.rb', line 7058 def Protocol @Protocol end |
Instance Method Details
#deserialize(params) ⇒ Object
7067 7068 7069 7070 7071 7072 |
# File 'lib/v20200309/models.rb', line 7067 def deserialize(params) @Domain = params['Domain'] @Protocol = params['Protocol'] @CCEnable = params['CCEnable'] @CCThreshold = params['CCThreshold'] end |