Class: TencentCloud::Tdmq::V20200217::ResetMsgSubOffsetByTimestampRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ResetMsgSubOffsetByTimestampRequest
- Defined in:
- lib/v20200217/models.rb
Overview
ResetMsgSubOffsetByTimestamp请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #EnvironmentId ⇒ Object
- #Subscription ⇒ Object
- #TopicName ⇒ Object
- #ToTimestamp ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, topicname = nil, subscription = nil, totimestamp = nil, clusterid = nil) ⇒ ResetMsgSubOffsetByTimestampRequest
constructor
A new instance of ResetMsgSubOffsetByTimestampRequest.
Constructor Details
#initialize(environmentid = nil, topicname = nil, subscription = nil, totimestamp = nil, clusterid = nil) ⇒ ResetMsgSubOffsetByTimestampRequest
Returns a new instance of ResetMsgSubOffsetByTimestampRequest.
11189 11190 11191 11192 11193 11194 11195 |
# File 'lib/v20200217/models.rb', line 11189 def initialize(environmentid=nil, topicname=nil, subscription=nil, =nil, clusterid=nil) @EnvironmentId = environmentid @TopicName = topicname @Subscription = subscription @ToTimestamp = @ClusterId = clusterid end |
Instance Attribute Details
#ClusterId ⇒ Object
11187 11188 11189 |
# File 'lib/v20200217/models.rb', line 11187 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
11187 11188 11189 |
# File 'lib/v20200217/models.rb', line 11187 def EnvironmentId @EnvironmentId end |
#Subscription ⇒ Object
11187 11188 11189 |
# File 'lib/v20200217/models.rb', line 11187 def Subscription @Subscription end |
#TopicName ⇒ Object
11187 11188 11189 |
# File 'lib/v20200217/models.rb', line 11187 def TopicName @TopicName end |
#ToTimestamp ⇒ Object
11187 11188 11189 |
# File 'lib/v20200217/models.rb', line 11187 def ToTimestamp @ToTimestamp end |
Instance Method Details
#deserialize(params) ⇒ Object
11197 11198 11199 11200 11201 11202 11203 |
# File 'lib/v20200217/models.rb', line 11197 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @TopicName = params['TopicName'] @Subscription = params['Subscription'] @ToTimestamp = params['ToTimestamp'] @ClusterId = params['ClusterId'] end |