Class: TencentCloud::Waf::V20180125::LimitMethod
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::LimitMethod
- Defined in:
- lib/v20180125/models.rb
Overview
限流方法数据结构
Instance Attribute Summary collapse
-
#Method ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(method = nil, type = nil) ⇒ LimitMethod
constructor
A new instance of LimitMethod.
Constructor Details
#initialize(method = nil, type = nil) ⇒ LimitMethod
Returns a new instance of LimitMethod.
13099 13100 13101 13102 |
# File 'lib/v20180125/models.rb', line 13099 def initialize(method=nil, type=nil) @Method = method @Type = type end |
Instance Attribute Details
#Method ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
13097 13098 13099 |
# File 'lib/v20180125/models.rb', line 13097 def Method @Method end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
13097 13098 13099 |
# File 'lib/v20180125/models.rb', line 13097 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
13104 13105 13106 13107 |
# File 'lib/v20180125/models.rb', line 13104 def deserialize(params) @Method = params['Method'] @Type = params['Type'] end |