Class: TencentCloud::Tdmq::V20200217::RocketMQMigrationTopicDistribution

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

Overview

迁移主题的阶段分布

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stage = nil, count = nil) ⇒ RocketMQMigrationTopicDistribution

Returns a new instance of RocketMQMigrationTopicDistribution.



11981
11982
11983
11984
# File 'lib/v20200217/models.rb', line 11981

def initialize(stage=nil, count=nil)
  @Stage = stage
  @Count = count
end

Instance Attribute Details

#CountObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Stage:

    迁移主题阶段

  • Count:

    数量



11979
11980
11981
# File 'lib/v20200217/models.rb', line 11979

def Count
  @Count
end

#StageObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Stage:

    迁移主题阶段

  • Count:

    数量



11979
11980
11981
# File 'lib/v20200217/models.rb', line 11979

def Stage
  @Stage
end

Instance Method Details

#deserialize(params) ⇒ Object



11986
11987
11988
11989
# File 'lib/v20200217/models.rb', line 11986

def deserialize(params)
  @Stage = params['Stage']
  @Count = params['Count']
end