Class: TencentCloud::Antiddos::V20200309::StandardPackageConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::StandardPackageConfig
- Defined in:
- lib/v20200309/models.rb
Overview
"Region": "ap-guangzhou",
"ProtectIpCount": 1,
"Bandwidth": 100,
"ElasticBandwidthFlag": true
Instance Attribute Summary collapse
-
#Bandwidth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 默认为false 不开启 注意:此字段可能返回 null,表示取不到有效值。.
-
#ElasticBandwidthFlag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 默认为false 不开启 注意:此字段可能返回 null,表示取不到有效值。.
-
#ProtectIpCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 默认为false 不开启 注意:此字段可能返回 null,表示取不到有效值。.
-
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 默认为false 不开启 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, protectipcount = nil, bandwidth = nil, elasticbandwidthflag = nil) ⇒ StandardPackageConfig
constructor
A new instance of StandardPackageConfig.
Constructor Details
#initialize(region = nil, protectipcount = nil, bandwidth = nil, elasticbandwidthflag = nil) ⇒ StandardPackageConfig
Returns a new instance of StandardPackageConfig.
8553 8554 8555 8556 8557 8558 |
# File 'lib/v20200309/models.rb', line 8553 def initialize(region=nil, protectipcount=nil, bandwidth=nil, elasticbandwidthflag=nil) @Region = region @ProtectIpCount = protectipcount @Bandwidth = bandwidth @ElasticBandwidthFlag = elasticbandwidthflag end |
Instance Attribute Details
#Bandwidth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。默认为false 不开启注意:此字段可能返回 null,表示取不到有效值。
8551 8552 8553 |
# File 'lib/v20200309/models.rb', line 8551 def Bandwidth @Bandwidth end |
#ElasticBandwidthFlag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。默认为false 不开启注意:此字段可能返回 null,表示取不到有效值。
8551 8552 8553 |
# File 'lib/v20200309/models.rb', line 8551 def ElasticBandwidthFlag @ElasticBandwidthFlag end |
#ProtectIpCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。默认为false 不开启注意:此字段可能返回 null,表示取不到有效值。
8551 8552 8553 |
# File 'lib/v20200309/models.rb', line 8551 def ProtectIpCount @ProtectIpCount end |
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。默认为false 不开启注意:此字段可能返回 null,表示取不到有效值。
8551 8552 8553 |
# File 'lib/v20200309/models.rb', line 8551 def Region @Region end |
Instance Method Details
#deserialize(params) ⇒ Object
8560 8561 8562 8563 8564 8565 |
# File 'lib/v20200309/models.rb', line 8560 def deserialize(params) @Region = params['Region'] @ProtectIpCount = params['ProtectIpCount'] @Bandwidth = params['Bandwidth'] @ElasticBandwidthFlag = params['ElasticBandwidthFlag'] end |