Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQVipInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQVipInstancesResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQVipInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, instances = nil, requestid = nil) ⇒ DescribeRocketMQVipInstancesResponse
constructor
A new instance of DescribeRocketMQVipInstancesResponse.
Constructor Details
#initialize(totalcount = nil, instances = nil, requestid = nil) ⇒ DescribeRocketMQVipInstancesResponse
Returns a new instance of DescribeRocketMQVipInstancesResponse.
7580 7581 7582 7583 7584 |
# File 'lib/v20200217/models.rb', line 7580 def initialize(totalcount=nil, instances=nil, requestid=nil) @TotalCount = totalcount @Instances = instances @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
7578 7579 7580 |
# File 'lib/v20200217/models.rb', line 7578 def Instances @Instances end |
#RequestId ⇒ Object
7578 7579 7580 |
# File 'lib/v20200217/models.rb', line 7578 def RequestId @RequestId end |
#TotalCount ⇒ Object
7578 7579 7580 |
# File 'lib/v20200217/models.rb', line 7578 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 |
# File 'lib/v20200217/models.rb', line 7586 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Instances'].nil? @Instances = [] params['Instances'].each do |i| rocketmqvipinstance_tmp = RocketMQVipInstance.new rocketmqvipinstance_tmp.deserialize(i) @Instances << rocketmqvipinstance_tmp end end @RequestId = params['RequestId'] end |