Class: TencentCloud::Cloudstudio::V20230508::Image

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

Overview

基础镜像

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, repository = nil, tags = nil) ⇒ Image

Returns a new instance of Image.



337
338
339
340
341
# File 'lib/v20230508/models.rb', line 337

def initialize(name=nil, repository=nil, tags=nil)
  @Name = name
  @Repository = repository
  @Tags = tags
end

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    镜像名称

  • Repository:

    镜像仓库

  • Tags:

    tag 列表



335
336
337
# File 'lib/v20230508/models.rb', line 335

def Name
  @Name
end

#RepositoryObject

Parameters:

  • Name:

    镜像名称

  • Repository:

    镜像仓库

  • Tags:

    tag 列表



335
336
337
# File 'lib/v20230508/models.rb', line 335

def Repository
  @Repository
end

#TagsObject

Parameters:

  • Name:

    镜像名称

  • Repository:

    镜像仓库

  • Tags:

    tag 列表



335
336
337
# File 'lib/v20230508/models.rb', line 335

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



343
344
345
346
347
# File 'lib/v20230508/models.rb', line 343

def deserialize(params)
  @Name = params['Name']
  @Repository = params['Repository']
  @Tags = params['Tags']
end