Class: TencentCloud::Cdb::V20170320::DescribeCpuExpandHistoryResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeCpuExpandHistoryResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeCpuExpandHistory返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(items = nil, totalcount = nil, requestid = nil) ⇒ DescribeCpuExpandHistoryResponse
constructor
A new instance of DescribeCpuExpandHistoryResponse.
Constructor Details
#initialize(items = nil, totalcount = nil, requestid = nil) ⇒ DescribeCpuExpandHistoryResponse
Returns a new instance of DescribeCpuExpandHistoryResponse.
5894 5895 5896 5897 5898 |
# File 'lib/v20170320/models.rb', line 5894 def initialize(items=nil, totalcount=nil, requestid=nil) @Items = items @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
5892 5893 5894 |
# File 'lib/v20170320/models.rb', line 5892 def Items @Items end |
#RequestId ⇒ Object
5892 5893 5894 |
# File 'lib/v20170320/models.rb', line 5892 def RequestId @RequestId end |
#TotalCount ⇒ Object
5892 5893 5894 |
# File 'lib/v20170320/models.rb', line 5892 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 |
# File 'lib/v20170320/models.rb', line 5900 def deserialize(params) unless params['Items'].nil? @Items = [] params['Items'].each do |i| historyjob_tmp = HistoryJob.new historyjob_tmp.deserialize(i) @Items << historyjob_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |