Class: TencentCloud::Ckafka::V20190819::DescribeTopicSyncReplicaRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190819/models.rb

Overview

DescribeTopicSyncReplica请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, topicname = nil, offset = nil, limit = nil, outofsyncreplicaonly = nil) ⇒ DescribeTopicSyncReplicaRequest

Returns a new instance of DescribeTopicSyncReplicaRequest.



6117
6118
6119
6120
6121
6122
6123
# File 'lib/v20190819/models.rb', line 6117

def initialize(instanceid=nil, topicname=nil, offset=nil, limit=nil, outofsyncreplicaonly=nil)
  @InstanceId = instanceid
  @TopicName = topicname
  @Offset = offset
  @Limit = limit
  @OutOfSyncReplicaOnly = outofsyncreplicaonly
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    实例ID

  • TopicName:

    主题名称

  • Offset:

    偏移量,不填默认为0

  • Limit:

    返回数量,默认值为20,必须大于0。

  • OutOfSyncReplicaOnly:

    仅筛选未同步副本



6115
6116
6117
# File 'lib/v20190819/models.rb', line 6115

def InstanceId
  @InstanceId
end

#LimitObject

Parameters:

  • InstanceId:

    实例ID

  • TopicName:

    主题名称

  • Offset:

    偏移量,不填默认为0

  • Limit:

    返回数量,默认值为20,必须大于0。

  • OutOfSyncReplicaOnly:

    仅筛选未同步副本



6115
6116
6117
# File 'lib/v20190819/models.rb', line 6115

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • InstanceId:

    实例ID

  • TopicName:

    主题名称

  • Offset:

    偏移量,不填默认为0

  • Limit:

    返回数量,默认值为20,必须大于0。

  • OutOfSyncReplicaOnly:

    仅筛选未同步副本



6115
6116
6117
# File 'lib/v20190819/models.rb', line 6115

def Offset
  @Offset
end

#OutOfSyncReplicaOnlyObject

Parameters:

  • InstanceId:

    实例ID

  • TopicName:

    主题名称

  • Offset:

    偏移量,不填默认为0

  • Limit:

    返回数量,默认值为20,必须大于0。

  • OutOfSyncReplicaOnly:

    仅筛选未同步副本



6115
6116
6117
# File 'lib/v20190819/models.rb', line 6115

def OutOfSyncReplicaOnly
  @OutOfSyncReplicaOnly
end

#TopicNameObject

Parameters:

  • InstanceId:

    实例ID

  • TopicName:

    主题名称

  • Offset:

    偏移量,不填默认为0

  • Limit:

    返回数量,默认值为20,必须大于0。

  • OutOfSyncReplicaOnly:

    仅筛选未同步副本



6115
6116
6117
# File 'lib/v20190819/models.rb', line 6115

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



6125
6126
6127
6128
6129
6130
6131
# File 'lib/v20190819/models.rb', line 6125

def deserialize(params)
  @InstanceId = params['InstanceId']
  @TopicName = params['TopicName']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @OutOfSyncReplicaOnly = params['OutOfSyncReplicaOnly']
end