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.



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

#ImageIdObject

Parameters:

  • ImageName:

    镜像名称。

  • ImageId:

    镜像实例ID。



2290
2291
2292
# File 'lib/v20170312/models.rb', line 2290

def ImageId
  @ImageId
end

#ImageNameObject

Parameters:

  • ImageName:

    镜像名称。

  • ImageId:

    镜像实例ID。



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