Class: TencentCloud::Dataintegration::V20220613::BatchContent
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dataintegration::V20220613::BatchContent
- Defined in:
- lib/v20220613/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.
29 30 31 32 |
# File 'lib/v20220613/models.rb', line 29 def initialize(body=nil, key=nil) @Body = body @Key = key end |
Instance Attribute Details
#Body ⇒ Object
27 28 29 |
# File 'lib/v20220613/models.rb', line 27 def Body @Body end |
#Key ⇒ Object
27 28 29 |
# File 'lib/v20220613/models.rb', line 27 def Key @Key end |
Instance Method Details
#deserialize(params) ⇒ Object
34 35 36 37 |
# File 'lib/v20220613/models.rb', line 34 def deserialize(params) @Body = params['Body'] @Key = params['Key'] end |