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.
2337 2338 2339 2340 |
# File 'lib/v20170312/models.rb', line 2337 def initialize(imagename=nil, imageid=nil) @ImageName = imagename @ImageId = imageid end |
Instance Attribute Details
#ImageId ⇒ Object
2335 2336 2337 |
# File 'lib/v20170312/models.rb', line 2335 def ImageId @ImageId end |
#ImageName ⇒ Object
2335 2336 2337 |
# File 'lib/v20170312/models.rb', line 2335 def ImageName @ImageName end |
Instance Method Details
#deserialize(params) ⇒ Object
2342 2343 2344 2345 |
# File 'lib/v20170312/models.rb', line 2342 def deserialize(params) @ImageName = params['ImageName'] @ImageId = params['ImageId'] end |