Class: TencentCloud::Antiddos::V20200309::CCThresholdPolicy
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::CCThresholdPolicy
- Defined in:
- lib/v20200309/models.rb
Overview
CC清洗阈值策略
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #Domain ⇒ Object
- #InstanceId ⇒ Object
- #Ip ⇒ Object
- #ModifyTime ⇒ Object
- #Protocol ⇒ Object
- #Threshold ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, ip = nil, protocol = nil, domain = nil, threshold = nil, createtime = nil, modifytime = nil) ⇒ CCThresholdPolicy
constructor
A new instance of CCThresholdPolicy.
Constructor Details
#initialize(instanceid = nil, ip = nil, protocol = nil, domain = nil, threshold = nil, createtime = nil, modifytime = nil) ⇒ CCThresholdPolicy
Returns a new instance of CCThresholdPolicy.
1124 1125 1126 1127 1128 1129 1130 1131 1132 |
# File 'lib/v20200309/models.rb', line 1124 def initialize(instanceid=nil, ip=nil, protocol=nil, domain=nil, threshold=nil, createtime=nil, modifytime=nil) @InstanceId = instanceid @Ip = ip @Protocol = protocol @Domain = domain @Threshold = threshold @CreateTime = createtime @ModifyTime = modifytime end |
Instance Attribute Details
#CreateTime ⇒ Object
1122 1123 1124 |
# File 'lib/v20200309/models.rb', line 1122 def CreateTime @CreateTime end |
#Domain ⇒ Object
1122 1123 1124 |
# File 'lib/v20200309/models.rb', line 1122 def Domain @Domain end |
#InstanceId ⇒ Object
1122 1123 1124 |
# File 'lib/v20200309/models.rb', line 1122 def InstanceId @InstanceId end |
#Ip ⇒ Object
1122 1123 1124 |
# File 'lib/v20200309/models.rb', line 1122 def Ip @Ip end |
#ModifyTime ⇒ Object
1122 1123 1124 |
# File 'lib/v20200309/models.rb', line 1122 def ModifyTime @ModifyTime end |
#Protocol ⇒ Object
1122 1123 1124 |
# File 'lib/v20200309/models.rb', line 1122 def Protocol @Protocol end |
#Threshold ⇒ Object
1122 1123 1124 |
# File 'lib/v20200309/models.rb', line 1122 def Threshold @Threshold end |
Instance Method Details
#deserialize(params) ⇒ Object
1134 1135 1136 1137 1138 1139 1140 1141 1142 |
# File 'lib/v20200309/models.rb', line 1134 def deserialize(params) @InstanceId = params['InstanceId'] @Ip = params['Ip'] @Protocol = params['Protocol'] @Domain = params['Domain'] @Threshold = params['Threshold'] @CreateTime = params['CreateTime'] @ModifyTime = params['ModifyTime'] end |