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.
6963 6964 6965 6966 |
# File 'lib/v20190904/models.rb', line 6963 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
6961 6962 6963 |
# File 'lib/v20190904/models.rb', line 6961 def Key @Key end |
#Value ⇒ Object
6961 6962 6963 |
# File 'lib/v20190904/models.rb', line 6961 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
6968 6969 6970 6971 |
# File 'lib/v20190904/models.rb', line 6968 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |