Class: TencentCloud::Ckafka::V20190819::BatchContent
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::BatchContent
- Defined in:
- lib/v20190819/models.rb
Overview
批量发送消息内容
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(body = nil, key = nil) ⇒ BatchContent
constructor
A new instance of BatchContent.
Constructor Details
#initialize(body = nil, key = nil) ⇒ BatchContent
Returns a new instance of BatchContent.
326 327 328 329 |
# File 'lib/v20190819/models.rb', line 326 def initialize(body=nil, key=nil) @Body = body @Key = key end |
Instance Attribute Details
#Body ⇒ Object
324 325 326 |
# File 'lib/v20190819/models.rb', line 324 def Body @Body end |
#Key ⇒ Object
324 325 326 |
# File 'lib/v20190819/models.rb', line 324 def Key @Key end |
Instance Method Details
#deserialize(params) ⇒ Object
331 332 333 334 |
# File 'lib/v20190819/models.rb', line 331 def deserialize(params) @Body = params['Body'] @Key = params['Key'] end |