Class: TencentCloud::Tke::V20180525::UpdateImageCacheRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::UpdateImageCacheRequest
- Defined in:
- lib/v20180525/models.rb
Overview
UpdateImageCache请求参数结构体
Instance Attribute Summary collapse
- #ImageCacheId ⇒ Object
- #ImageCacheName ⇒ Object
- #ImageCacheSize ⇒ Object
- #ImageRegistryCredentials ⇒ Object
- #Images ⇒ Object
- #RetentionDays ⇒ Object
- #SecurityGroupIds ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagecacheid = nil, imagecachename = nil, imageregistrycredentials = nil, images = nil, imagecachesize = nil, retentiondays = nil, securitygroupids = nil) ⇒ UpdateImageCacheRequest
constructor
A new instance of UpdateImageCacheRequest.
Constructor Details
#initialize(imagecacheid = nil, imagecachename = nil, imageregistrycredentials = nil, images = nil, imagecachesize = nil, retentiondays = nil, securitygroupids = nil) ⇒ UpdateImageCacheRequest
Returns a new instance of UpdateImageCacheRequest.
19171 19172 19173 19174 19175 19176 19177 19178 19179 |
# File 'lib/v20180525/models.rb', line 19171 def initialize(imagecacheid=nil, imagecachename=nil, imageregistrycredentials=nil, images=nil, imagecachesize=nil, retentiondays=nil, securitygroupids=nil) @ImageCacheId = imagecacheid @ImageCacheName = imagecachename @ImageRegistryCredentials = imageregistrycredentials @Images = images @ImageCacheSize = imagecachesize @RetentionDays = retentiondays @SecurityGroupIds = securitygroupids end |
Instance Attribute Details
#ImageCacheId ⇒ Object
19169 19170 19171 |
# File 'lib/v20180525/models.rb', line 19169 def ImageCacheId @ImageCacheId end |
#ImageCacheName ⇒ Object
19169 19170 19171 |
# File 'lib/v20180525/models.rb', line 19169 def ImageCacheName @ImageCacheName end |
#ImageCacheSize ⇒ Object
19169 19170 19171 |
# File 'lib/v20180525/models.rb', line 19169 def ImageCacheSize @ImageCacheSize end |
#ImageRegistryCredentials ⇒ Object
19169 19170 19171 |
# File 'lib/v20180525/models.rb', line 19169 def ImageRegistryCredentials @ImageRegistryCredentials end |
#Images ⇒ Object
19169 19170 19171 |
# File 'lib/v20180525/models.rb', line 19169 def Images @Images end |
#RetentionDays ⇒ Object
19169 19170 19171 |
# File 'lib/v20180525/models.rb', line 19169 def RetentionDays @RetentionDays end |
#SecurityGroupIds ⇒ Object
19169 19170 19171 |
# File 'lib/v20180525/models.rb', line 19169 def SecurityGroupIds @SecurityGroupIds end |
Instance Method Details
#deserialize(params) ⇒ Object
19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 |
# File 'lib/v20180525/models.rb', line 19181 def deserialize(params) @ImageCacheId = params['ImageCacheId'] @ImageCacheName = params['ImageCacheName'] unless params['ImageRegistryCredentials'].nil? @ImageRegistryCredentials = [] params['ImageRegistryCredentials'].each do |i| imageregistrycredential_tmp = ImageRegistryCredential.new imageregistrycredential_tmp.deserialize(i) @ImageRegistryCredentials << imageregistrycredential_tmp end end @Images = params['Images'] @ImageCacheSize = params['ImageCacheSize'] @RetentionDays = params['RetentionDays'] @SecurityGroupIds = params['SecurityGroupIds'] end |