Class: TencentCloud::Cvm::V20170312::DescribeImagesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::DescribeImagesResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeImages返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imageset = nil, totalcount = nil, requestid = nil) ⇒ DescribeImagesResponse
constructor
A new instance of DescribeImagesResponse.
Constructor Details
#initialize(imageset = nil, totalcount = nil, requestid = nil) ⇒ DescribeImagesResponse
Returns a new instance of DescribeImagesResponse.
2425 2426 2427 2428 2429 |
# File 'lib/v20170312/models.rb', line 2425 def initialize(imageset=nil, totalcount=nil, requestid=nil) @ImageSet = imageset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ImageSet ⇒ Object
2423 2424 2425 |
# File 'lib/v20170312/models.rb', line 2423 def ImageSet @ImageSet end |
#RequestId ⇒ Object
2423 2424 2425 |
# File 'lib/v20170312/models.rb', line 2423 def RequestId @RequestId end |
#TotalCount ⇒ Object
2423 2424 2425 |
# File 'lib/v20170312/models.rb', line 2423 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 |
# File 'lib/v20170312/models.rb', line 2431 def deserialize(params) unless params['ImageSet'].nil? @ImageSet = [] params['ImageSet'].each do |i| image_tmp = Image.new image_tmp.deserialize(i) @ImageSet << image_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |