Class: TencentCloud::Ckafka::V20190819::TopicInSyncReplicaInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::TopicInSyncReplicaInfo
- Defined in:
- lib/v20190819/models.rb
Overview
topic副本及详细信息
Instance Attribute Summary collapse
- #BeginOffset ⇒ Object
- #EndOffset ⇒ Object
- #InSyncReplica ⇒ Object
- #Leader ⇒ Object
- #MessageCount ⇒ Object
- #OutOfSyncReplica ⇒ Object
- #Partition ⇒ Object
- #Replica ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(partition = nil, leader = nil, replica = nil, insyncreplica = nil, beginoffset = nil, endoffset = nil, messagecount = nil, outofsyncreplica = nil) ⇒ TopicInSyncReplicaInfo
constructor
A new instance of TopicInSyncReplicaInfo.
Constructor Details
#initialize(partition = nil, leader = nil, replica = nil, insyncreplica = nil, beginoffset = nil, endoffset = nil, messagecount = nil, outofsyncreplica = nil) ⇒ TopicInSyncReplicaInfo
Returns a new instance of TopicInSyncReplicaInfo.
11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 |
# File 'lib/v20190819/models.rb', line 11945 def initialize(partition=nil, leader=nil, replica=nil, insyncreplica=nil, beginoffset=nil, endoffset=nil, =nil, outofsyncreplica=nil) @Partition = partition @Leader = leader @Replica = replica @InSyncReplica = insyncreplica @BeginOffset = beginoffset @EndOffset = endoffset @MessageCount = @OutOfSyncReplica = outofsyncreplica end |
Instance Attribute Details
#BeginOffset ⇒ Object
11943 11944 11945 |
# File 'lib/v20190819/models.rb', line 11943 def BeginOffset @BeginOffset end |
#EndOffset ⇒ Object
11943 11944 11945 |
# File 'lib/v20190819/models.rb', line 11943 def EndOffset @EndOffset end |
#InSyncReplica ⇒ Object
11943 11944 11945 |
# File 'lib/v20190819/models.rb', line 11943 def InSyncReplica @InSyncReplica end |
#Leader ⇒ Object
11943 11944 11945 |
# File 'lib/v20190819/models.rb', line 11943 def Leader @Leader end |
#MessageCount ⇒ Object
11943 11944 11945 |
# File 'lib/v20190819/models.rb', line 11943 def MessageCount @MessageCount end |
#OutOfSyncReplica ⇒ Object
11943 11944 11945 |
# File 'lib/v20190819/models.rb', line 11943 def OutOfSyncReplica @OutOfSyncReplica end |
#Partition ⇒ Object
11943 11944 11945 |
# File 'lib/v20190819/models.rb', line 11943 def Partition @Partition end |
#Replica ⇒ Object
11943 11944 11945 |
# File 'lib/v20190819/models.rb', line 11943 def Replica @Replica end |
Instance Method Details
#deserialize(params) ⇒ Object
11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 |
# File 'lib/v20190819/models.rb', line 11956 def deserialize(params) @Partition = params['Partition'] @Leader = params['Leader'] @Replica = params['Replica'] @InSyncReplica = params['InSyncReplica'] @BeginOffset = params['BeginOffset'] @EndOffset = params['EndOffset'] @MessageCount = params['MessageCount'] @OutOfSyncReplica = params['OutOfSyncReplica'] end |