Class: TencentCloud::Cbs::V20170312::Image
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::Image
- Defined in:
- lib/v20170312/models.rb
Overview
镜像。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagename = nil, imageid = nil) ⇒ Image
constructor
A new instance of Image.
Constructor Details
#initialize(imagename = nil, imageid = nil) ⇒ Image
Returns a new instance of Image.
2292 2293 2294 2295 |
# File 'lib/v20170312/models.rb', line 2292 def initialize(imagename=nil, imageid=nil) @ImageName = imagename @ImageId = imageid end |
Instance Attribute Details
#ImageId ⇒ Object
2290 2291 2292 |
# File 'lib/v20170312/models.rb', line 2290 def ImageId @ImageId end |
#ImageName ⇒ Object
2290 2291 2292 |
# File 'lib/v20170312/models.rb', line 2290 def ImageName @ImageName end |
Instance Method Details
#deserialize(params) ⇒ Object
2297 2298 2299 2300 |
# File 'lib/v20170312/models.rb', line 2297 def deserialize(params) @ImageName = params['ImageName'] @ImageId = params['ImageId'] end |