Class: TencentCloud::Ckafka::V20190819::MapParam
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::MapParam
- Defined in:
- lib/v20190819/models.rb
Overview
Map参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, type = nil, value = nil) ⇒ MapParam
constructor
A new instance of MapParam.
Constructor Details
#initialize(key = nil, type = nil, value = nil) ⇒ MapParam
Returns a new instance of MapParam.
8817 8818 8819 8820 8821 |
# File 'lib/v20190819/models.rb', line 8817 def initialize(key=nil, type=nil, value=nil) @Key = key @Type = type @Value = value end |
Instance Attribute Details
#Key ⇒ Object
8815 8816 8817 |
# File 'lib/v20190819/models.rb', line 8815 def Key @Key end |
#Type ⇒ Object
8815 8816 8817 |
# File 'lib/v20190819/models.rb', line 8815 def Type @Type end |
#Value ⇒ Object
8815 8816 8817 |
# File 'lib/v20190819/models.rb', line 8815 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
8823 8824 8825 8826 8827 |
# File 'lib/v20190819/models.rb', line 8823 def deserialize(params) @Key = params['Key'] @Type = params['Type'] @Value = params['Value'] end |