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.
5949 5950 5951 5952 5953 |
# File 'lib/v20170320/models.rb', line 5949 def initialize(items=nil, totalcount=nil, requestid=nil) @Items = items @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
5947 5948 5949 |
# File 'lib/v20170320/models.rb', line 5947 def Items @Items end |
#RequestId ⇒ Object
5947 5948 5949 |
# File 'lib/v20170320/models.rb', line 5947 def RequestId @RequestId end |
#TotalCount ⇒ Object
5947 5948 5949 |
# File 'lib/v20170320/models.rb', line 5947 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 |
# File 'lib/v20170320/models.rb', line 5955 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 |