Class: TencentCloud::Ckafka::V20190819::FetchDatahubMessageByOffsetRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::FetchDatahubMessageByOffsetRequest
- Defined in:
- lib/v20190819/models.rb
Overview
FetchDatahubMessageByOffset请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, partition = nil, offset = nil) ⇒ FetchDatahubMessageByOffsetRequest
constructor
A new instance of FetchDatahubMessageByOffsetRequest.
Constructor Details
#initialize(name = nil, partition = nil, offset = nil) ⇒ FetchDatahubMessageByOffsetRequest
Returns a new instance of FetchDatahubMessageByOffsetRequest.
6886 6887 6888 6889 6890 |
# File 'lib/v20190819/models.rb', line 6886 def initialize(name=nil, partition=nil, offset=nil) @Name = name @Partition = partition @Offset = offset end |
Instance Attribute Details
#Name ⇒ Object
6884 6885 6886 |
# File 'lib/v20190819/models.rb', line 6884 def Name @Name end |
#Offset ⇒ Object
6884 6885 6886 |
# File 'lib/v20190819/models.rb', line 6884 def Offset @Offset end |
#Partition ⇒ Object
6884 6885 6886 |
# File 'lib/v20190819/models.rb', line 6884 def Partition @Partition end |
Instance Method Details
#deserialize(params) ⇒ Object
6892 6893 6894 6895 6896 |
# File 'lib/v20190819/models.rb', line 6892 def deserialize(params) @Name = params['Name'] @Partition = params['Partition'] @Offset = params['Offset'] end |