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.
6092 6093 6094 6095 |
# File 'lib/v20190904/models.rb', line 6092 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
6090 6091 6092 |
# File 'lib/v20190904/models.rb', line 6090 def Key @Key end |
#Value ⇒ Object
6090 6091 6092 |
# File 'lib/v20190904/models.rb', line 6090 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
6097 6098 6099 6100 |
# File 'lib/v20190904/models.rb', line 6097 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |