Class: TencentCloud::Emr::V20190103::DescribeAutoScaleRecordsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::DescribeAutoScaleRecordsResponse
- Defined in:
- lib/v20190103/models.rb
Overview
DescribeAutoScaleRecords返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, recordlist = nil, requestid = nil) ⇒ DescribeAutoScaleRecordsResponse
constructor
A new instance of DescribeAutoScaleRecordsResponse.
Constructor Details
#initialize(totalcount = nil, recordlist = nil, requestid = nil) ⇒ DescribeAutoScaleRecordsResponse
Returns a new instance of DescribeAutoScaleRecordsResponse.
2989 2990 2991 2992 2993 |
# File 'lib/v20190103/models.rb', line 2989 def initialize(totalcount=nil, recordlist=nil, requestid=nil) @TotalCount = totalcount @RecordList = recordlist @RequestId = requestid end |
Instance Attribute Details
#RecordList ⇒ Object
2987 2988 2989 |
# File 'lib/v20190103/models.rb', line 2987 def RecordList @RecordList end |
#RequestId ⇒ Object
2987 2988 2989 |
# File 'lib/v20190103/models.rb', line 2987 def RequestId @RequestId end |
#TotalCount ⇒ Object
2987 2988 2989 |
# File 'lib/v20190103/models.rb', line 2987 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 |
# File 'lib/v20190103/models.rb', line 2995 def deserialize(params) @TotalCount = params['TotalCount'] unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| autoscalerecord_tmp = AutoScaleRecord.new autoscalerecord_tmp.deserialize(i) @RecordList << autoscalerecord_tmp end end @RequestId = params['RequestId'] end |