Class: TencentCloud::Tcr::V20190924::DeleteImageRequest

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

Overview

DeleteImage请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(registryid = nil, namespacename = nil, repositoryname = nil, imageversion = nil) ⇒ DeleteImageRequest

Returns a new instance of DeleteImageRequest.



1570
1571
1572
1573
1574
1575
# File 'lib/v20190924/models.rb', line 1570

def initialize(registryid=nil, namespacename=nil, repositoryname=nil, imageversion=nil)
  @RegistryId = registryid
  @NamespaceName = namespacename
  @RepositoryName = repositoryname
  @ImageVersion = imageversion
end

Instance Attribute Details

#ImageVersion ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    命名空间名称

  • RepositoryName: —

    镜像仓库名称

  • ImageVersion: —

    镜像版本



1568
1569
1570
# File 'lib/v20190924/models.rb', line 1568

def ImageVersion
  @ImageVersion
end

#NamespaceName ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    命名空间名称

  • RepositoryName: —

    镜像仓库名称

  • ImageVersion: —

    镜像版本



1568
1569
1570
# File 'lib/v20190924/models.rb', line 1568

def NamespaceName
  @NamespaceName
end

#RegistryId ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    命名空间名称

  • RepositoryName: —

    镜像仓库名称

  • ImageVersion: —

    镜像版本



1568
1569
1570
# File 'lib/v20190924/models.rb', line 1568

def RegistryId
  @RegistryId
end

#RepositoryName ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    命名空间名称

  • RepositoryName: —

    镜像仓库名称

  • ImageVersion: —

    镜像版本



1568
1569
1570
# File 'lib/v20190924/models.rb', line 1568

def RepositoryName
  @RepositoryName
end

Instance Method Details

#deserialize(params) ⇒ Object



1577
1578
1579
1580
1581
1582
# File 'lib/v20190924/models.rb', line 1577

def deserialize(params)
  @RegistryId = params['RegistryId']
  @NamespaceName = params['NamespaceName']
  @RepositoryName = params['RepositoryName']
  @ImageVersion = params['ImageVersion']
end