Class: TencentCloud::Ckafka::V20190819::FetchLatestDatahubMessageListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::FetchLatestDatahubMessageListResponse
- Defined in:
- lib/v20190819/models.rb
Overview
FetchLatestDatahubMessageList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(result = nil, requestid = nil) ⇒ FetchLatestDatahubMessageListResponse
constructor
A new instance of FetchLatestDatahubMessageListResponse.
Constructor Details
#initialize(result = nil, requestid = nil) ⇒ FetchLatestDatahubMessageListResponse
Returns a new instance of FetchLatestDatahubMessageListResponse.
6959 6960 6961 6962 |
# File 'lib/v20190819/models.rb', line 6959 def initialize(result=nil, requestid=nil) @Result = result @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
6957 6958 6959 |
# File 'lib/v20190819/models.rb', line 6957 def RequestId @RequestId end |
#Result ⇒ Object
6957 6958 6959 |
# File 'lib/v20190819/models.rb', line 6957 def Result @Result end |
Instance Method Details
#deserialize(params) ⇒ Object
6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 |
# File 'lib/v20190819/models.rb', line 6964 def deserialize(params) unless params['Result'].nil? @Result = [] params['Result'].each do |i| consumerrecord_tmp = ConsumerRecord.new consumerrecord_tmp.deserialize(i) @Result << consumerrecord_tmp end end @RequestId = params['RequestId'] end |