Class: TencentCloud::Emr::V20190103::DescribeSparkApplicationsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::DescribeSparkApplicationsResponse
- Defined in:
- lib/v20190103/models.rb
Overview
DescribeSparkApplications返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, resultlist = nil, requestid = nil) ⇒ DescribeSparkApplicationsResponse
constructor
A new instance of DescribeSparkApplicationsResponse.
Constructor Details
#initialize(totalcount = nil, resultlist = nil, requestid = nil) ⇒ DescribeSparkApplicationsResponse
Returns a new instance of DescribeSparkApplicationsResponse.
5564 5565 5566 5567 5568 |
# File 'lib/v20190103/models.rb', line 5564 def initialize(totalcount=nil, resultlist=nil, requestid=nil) @TotalCount = totalcount @ResultList = resultlist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
5562 5563 5564 |
# File 'lib/v20190103/models.rb', line 5562 def RequestId @RequestId end |
#ResultList ⇒ Object
5562 5563 5564 |
# File 'lib/v20190103/models.rb', line 5562 def ResultList @ResultList end |
#TotalCount ⇒ Object
5562 5563 5564 |
# File 'lib/v20190103/models.rb', line 5562 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 |
# File 'lib/v20190103/models.rb', line 5570 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ResultList'].nil? @ResultList = [] params['ResultList'].each do |i| sparkapplicationslist_tmp = SparkApplicationsList.new sparkapplicationslist_tmp.deserialize(i) @ResultList << sparkapplicationslist_tmp end end @RequestId = params['RequestId'] end |