Class: TencentCloud::Tke::V20180525::DescribeImagesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeImagesResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeImages返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, imageinstanceset = nil, requestid = nil) ⇒ DescribeImagesResponse
constructor
A new instance of DescribeImagesResponse.
Constructor Details
#initialize(totalcount = nil, imageinstanceset = nil, requestid = nil) ⇒ DescribeImagesResponse
Returns a new instance of DescribeImagesResponse.
8652 8653 8654 8655 8656 |
# File 'lib/v20180525/models.rb', line 8652 def initialize(totalcount=nil, imageinstanceset=nil, requestid=nil) @TotalCount = totalcount @ImageInstanceSet = imageinstanceset @RequestId = requestid end |
Instance Attribute Details
#ImageInstanceSet ⇒ Object
8650 8651 8652 |
# File 'lib/v20180525/models.rb', line 8650 def ImageInstanceSet @ImageInstanceSet end |
#RequestId ⇒ Object
8650 8651 8652 |
# File 'lib/v20180525/models.rb', line 8650 def RequestId @RequestId end |
#TotalCount ⇒ Object
8650 8651 8652 |
# File 'lib/v20180525/models.rb', line 8650 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 |
# File 'lib/v20180525/models.rb', line 8658 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ImageInstanceSet'].nil? @ImageInstanceSet = [] params['ImageInstanceSet'].each do |i| imageinstance_tmp = ImageInstance.new imageinstance_tmp.deserialize(i) @ImageInstanceSet << imageinstance_tmp end end @RequestId = params['RequestId'] end |