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.
8204 8205 8206 8207 8208 |
# File 'lib/v20180525/models.rb', line 8204 def initialize(osimageseriesset=nil, totalcount=nil, requestid=nil) @OSImageSeriesSet = osimageseriesset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#OSImageSeriesSet ⇒ Object
8202 8203 8204 |
# File 'lib/v20180525/models.rb', line 8202 def OSImageSeriesSet @OSImageSeriesSet end |
#RequestId ⇒ Object
8202 8203 8204 |
# File 'lib/v20180525/models.rb', line 8202 def RequestId @RequestId end |
#TotalCount ⇒ Object
8202 8203 8204 |
# File 'lib/v20180525/models.rb', line 8202 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 |
# File 'lib/v20180525/models.rb', line 8210 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 |