Class: TencentCloud::Waf::V20180125::KVInt
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::KVInt
- Defined in:
- lib/v20180125/models.rb
Overview
Key-Value的形式,Value为Int
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ KVInt
constructor
A new instance of KVInt.
Constructor Details
#initialize(key = nil, value = nil) ⇒ KVInt
Returns a new instance of KVInt.
9113 9114 9115 9116 |
# File 'lib/v20180125/models.rb', line 9113 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
9111 9112 9113 |
# File 'lib/v20180125/models.rb', line 9111 def Key @Key end |
#Value ⇒ Object
9111 9112 9113 |
# File 'lib/v20180125/models.rb', line 9111 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9118 9119 9120 9121 |
# File 'lib/v20180125/models.rb', line 9118 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |