Class: TencentCloud::Cfw::V20190904::LogItem
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::LogItem
- Defined in:
- lib/v20190904/models.rb
Overview
日志中的KV对
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ LogItem
constructor
A new instance of LogItem.
Constructor Details
#initialize(key = nil, value = nil) ⇒ LogItem
Returns a new instance of LogItem.
6299 6300 6301 6302 |
# File 'lib/v20190904/models.rb', line 6299 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
6297 6298 6299 |
# File 'lib/v20190904/models.rb', line 6297 def Key @Key end |
#Value ⇒ Object
6297 6298 6299 |
# File 'lib/v20190904/models.rb', line 6297 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
6304 6305 6306 6307 |
# File 'lib/v20190904/models.rb', line 6304 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |