Class: TencentCloud::Tke::V20180525::DescribeOSImagesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeOSImagesResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeOSImages返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(osimageseriesset = nil, totalcount = nil, requestid = nil) ⇒ DescribeOSImagesResponse
constructor
A new instance of DescribeOSImagesResponse.
Constructor Details
#initialize(osimageseriesset = nil, totalcount = nil, requestid = nil) ⇒ DescribeOSImagesResponse
Returns a new instance of DescribeOSImagesResponse.
8336 8337 8338 8339 8340 |
# File 'lib/v20180525/models.rb', line 8336 def initialize(osimageseriesset=nil, totalcount=nil, requestid=nil) @OSImageSeriesSet = osimageseriesset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#OSImageSeriesSet ⇒ Object
8334 8335 8336 |
# File 'lib/v20180525/models.rb', line 8334 def OSImageSeriesSet @OSImageSeriesSet end |
#RequestId ⇒ Object
8334 8335 8336 |
# File 'lib/v20180525/models.rb', line 8334 def RequestId @RequestId end |
#TotalCount ⇒ Object
8334 8335 8336 |
# File 'lib/v20180525/models.rb', line 8334 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 |
# File 'lib/v20180525/models.rb', line 8342 def deserialize(params) unless params['OSImageSeriesSet'].nil? @OSImageSeriesSet = [] params['OSImageSeriesSet'].each do |i| osimage_tmp = OSImage.new osimage_tmp.deserialize(i) @OSImageSeriesSet << osimage_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |