Class: TencentCloud::Tke::V20180525::DescribeImageCachesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeImageCachesResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeImageCaches返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, imagecaches = nil, requestid = nil) ⇒ DescribeImageCachesResponse
constructor
A new instance of DescribeImageCachesResponse.
Constructor Details
#initialize(totalcount = nil, imagecaches = nil, requestid = nil) ⇒ DescribeImageCachesResponse
Returns a new instance of DescribeImageCachesResponse.
8610 8611 8612 8613 8614 |
# File 'lib/v20180525/models.rb', line 8610 def initialize(totalcount=nil, imagecaches=nil, requestid=nil) @TotalCount = totalcount @ImageCaches = imagecaches @RequestId = requestid end |
Instance Attribute Details
#ImageCaches ⇒ Object
8608 8609 8610 |
# File 'lib/v20180525/models.rb', line 8608 def ImageCaches @ImageCaches end |
#RequestId ⇒ Object
8608 8609 8610 |
# File 'lib/v20180525/models.rb', line 8608 def RequestId @RequestId end |
#TotalCount ⇒ Object
8608 8609 8610 |
# File 'lib/v20180525/models.rb', line 8608 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 |
# File 'lib/v20180525/models.rb', line 8616 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ImageCaches'].nil? @ImageCaches = [] params['ImageCaches'].each do |i| imagecache_tmp = ImageCache.new imagecache_tmp.deserialize(i) @ImageCaches << imagecache_tmp end end @RequestId = params['RequestId'] end |