Class: TencentCloud::Cbs::V20170312::Image

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

镜像。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ImageIdObject

Parameters:

  • ImageName:

    镜像名称。

  • ImageId:

    镜像实例ID。



2335
2336
2337
# File 'lib/v20170312/models.rb', line 2335

def ImageId
  @ImageId
end

#ImageNameObject

Parameters:

  • ImageName:

    镜像名称。

  • ImageId:

    镜像实例ID。



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