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.
5923 5924 5925 5926 5927 |
# File 'lib/v20170320/models.rb', line 5923 def initialize(items=nil, totalcount=nil, requestid=nil) @Items = items @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
5921 5922 5923 |
# File 'lib/v20170320/models.rb', line 5921 def Items @Items end |
#RequestId ⇒ Object
5921 5922 5923 |
# File 'lib/v20170320/models.rb', line 5921 def RequestId @RequestId end |
#TotalCount ⇒ Object
5921 5922 5923 |
# File 'lib/v20170320/models.rb', line 5921 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 |
# File 'lib/v20170320/models.rb', line 5929 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 |