Class: TencentCloud::Cls::V20201016::LogItem
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::LogItem
- Defined in:
- lib/v20201016/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.
12212 12213 12214 12215 |
# File 'lib/v20201016/models.rb', line 12212 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
12210 12211 12212 |
# File 'lib/v20201016/models.rb', line 12210 def Key @Key end |
#Value ⇒ Object
12210 12211 12212 |
# File 'lib/v20201016/models.rb', line 12210 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
12217 12218 12219 12220 |
# File 'lib/v20201016/models.rb', line 12217 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |