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.
8030 8031 8032 8033 8034 |
# File 'lib/v20180525/models.rb', line 8030 def initialize(totalcount=nil, imagecaches=nil, requestid=nil) @TotalCount = totalcount @ImageCaches = imagecaches @RequestId = requestid end |
Instance Attribute Details
#ImageCaches ⇒ Object
8028 8029 8030 |
# File 'lib/v20180525/models.rb', line 8028 def ImageCaches @ImageCaches end |
#RequestId ⇒ Object
8028 8029 8030 |
# File 'lib/v20180525/models.rb', line 8028 def RequestId @RequestId end |
#TotalCount ⇒ Object
8028 8029 8030 |
# File 'lib/v20180525/models.rb', line 8028 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 |
# File 'lib/v20180525/models.rb', line 8036 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 |