Class: TencentCloud::Ckafka::V20190819::MapParam

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190819/models.rb

Overview

Map参数

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#KeyObject

Parameters:

  • Key:

    key值

  • Type:

    类型,DEFAULT默认,DATE系统预设-时间戳,CUSTOMIZE自定义,MAPPING映射

  • Value:



8815
8816
8817
# File 'lib/v20190819/models.rb', line 8815

def Key
  @Key
end

#TypeObject

Parameters:

  • Key:

    key值

  • Type:

    类型,DEFAULT默认,DATE系统预设-时间戳,CUSTOMIZE自定义,MAPPING映射

  • Value:



8815
8816
8817
# File 'lib/v20190819/models.rb', line 8815

def Type
  @Type
end

#ValueObject

Parameters:

  • Key:

    key值

  • Type:

    类型,DEFAULT默认,DATE系统预设-时间戳,CUSTOMIZE自定义,MAPPING映射

  • Value:



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