Class: TencentCloud::Tdmq::V20200217::DescribePulsarProInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribePulsarProInstancesResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribePulsarProInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, instances = nil, requestid = nil) ⇒ DescribePulsarProInstancesResponse
constructor
A new instance of DescribePulsarProInstancesResponse.
Constructor Details
#initialize(totalcount = nil, instances = nil, requestid = nil) ⇒ DescribePulsarProInstancesResponse
Returns a new instance of DescribePulsarProInstancesResponse.
4883 4884 4885 4886 4887 |
# File 'lib/v20200217/models.rb', line 4883 def initialize(totalcount=nil, instances=nil, requestid=nil) @TotalCount = totalcount @Instances = instances @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
4881 4882 4883 |
# File 'lib/v20200217/models.rb', line 4881 def Instances @Instances end |
#RequestId ⇒ Object
4881 4882 4883 |
# File 'lib/v20200217/models.rb', line 4881 def RequestId @RequestId end |
#TotalCount ⇒ Object
4881 4882 4883 |
# File 'lib/v20200217/models.rb', line 4881 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 |
# File 'lib/v20200217/models.rb', line 4889 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Instances'].nil? @Instances = [] params['Instances'].each do |i| pulsarproinstance_tmp = PulsarProInstance.new pulsarproinstance_tmp.deserialize(i) @Instances << pulsarproinstance_tmp end end @RequestId = params['RequestId'] end |