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.
2140 2141 2142 2143 2144 |
# File 'lib/v20170312/models.rb', line 2140 def initialize(imageset=nil, totalcount=nil, requestid=nil) @ImageSet = imageset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ImageSet ⇒ Object
2138 2139 2140 |
# File 'lib/v20170312/models.rb', line 2138 def ImageSet @ImageSet end |
#RequestId ⇒ Object
2138 2139 2140 |
# File 'lib/v20170312/models.rb', line 2138 def RequestId @RequestId end |
#TotalCount ⇒ Object
2138 2139 2140 |
# File 'lib/v20170312/models.rb', line 2138 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 |
# File 'lib/v20170312/models.rb', line 2146 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 |