Class: TencentCloud::Cls::V20201016::DescribeConsumersResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeConsumersResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeConsumers返回参数结构体
Instance Attribute Summary collapse
-
#Consumers ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(consumers = nil, totalcount = nil, requestid = nil) ⇒ DescribeConsumersResponse
constructor
A new instance of DescribeConsumersResponse.
Constructor Details
#initialize(consumers = nil, totalcount = nil, requestid = nil) ⇒ DescribeConsumersResponse
Returns a new instance of DescribeConsumersResponse.
7730 7731 7732 7733 7734 |
# File 'lib/v20201016/models.rb', line 7730 def initialize(consumers=nil, totalcount=nil, requestid=nil) @Consumers = consumers @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Consumers ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7728 7729 7730 |
# File 'lib/v20201016/models.rb', line 7728 def Consumers @Consumers end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7728 7729 7730 |
# File 'lib/v20201016/models.rb', line 7728 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7728 7729 7730 |
# File 'lib/v20201016/models.rb', line 7728 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 |
# File 'lib/v20201016/models.rb', line 7736 def deserialize(params) unless params['Consumers'].nil? @Consumers = [] params['Consumers'].each do |i| consumerinfo_tmp = ConsumerInfo.new consumerinfo_tmp.deserialize(i) @Consumers << consumerinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |