Class: TencentCloud::Tcr::V20190924::DescribeRepositoriesRequest

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

Overview

DescribeRepositories请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(registryid = nil, namespacename = nil, repositoryname = nil, offset = nil, limit = nil, sortby = nil) ⇒ DescribeRepositoriesRequest

Returns a new instance of DescribeRepositoriesRequest.



3847
3848
3849
3850
3851
3852
3853
3854
# File 'lib/v20190924/models.rb', line 3847

def initialize(registryid=nil, namespacename=nil, repositoryname=nil, offset=nil, limit=nil, sortby=nil)
  @RegistryId = registryid
  @NamespaceName = namespacename
  @RepositoryName = repositoryname
  @Offset = offset
  @Limit = limit
  @SortBy = sortby
end

Instance Attribute Details

#Limit ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认为查询所有命名空间下镜像仓库

  • RepositoryName: —

    指定镜像仓库,不填写默认查询指定命名空间下所有镜像仓库

  • Offset: —

    页数,第几页,用于分页

  • Limit: —

    每页个数,用于分页,最大值为100

  • SortBy: —

    基于字段排序,支持的值有-creation_time,-name, -update_time



3845
3846
3847
# File 'lib/v20190924/models.rb', line 3845

def Limit
  @Limit
end

#NamespaceName ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认为查询所有命名空间下镜像仓库

  • RepositoryName: —

    指定镜像仓库,不填写默认查询指定命名空间下所有镜像仓库

  • Offset: —

    页数,第几页,用于分页

  • Limit: —

    每页个数,用于分页,最大值为100

  • SortBy: —

    基于字段排序,支持的值有-creation_time,-name, -update_time



3845
3846
3847
# File 'lib/v20190924/models.rb', line 3845

def NamespaceName
  @NamespaceName
end

#Offset ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认为查询所有命名空间下镜像仓库

  • RepositoryName: —

    指定镜像仓库,不填写默认查询指定命名空间下所有镜像仓库

  • Offset: —

    页数,第几页,用于分页

  • Limit: —

    每页个数,用于分页,最大值为100

  • SortBy: —

    基于字段排序,支持的值有-creation_time,-name, -update_time



3845
3846
3847
# File 'lib/v20190924/models.rb', line 3845

def Offset
  @Offset
end

#RegistryId ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认为查询所有命名空间下镜像仓库

  • RepositoryName: —

    指定镜像仓库,不填写默认查询指定命名空间下所有镜像仓库

  • Offset: —

    页数,第几页,用于分页

  • Limit: —

    每页个数,用于分页,最大值为100

  • SortBy: —

    基于字段排序,支持的值有-creation_time,-name, -update_time



3845
3846
3847
# File 'lib/v20190924/models.rb', line 3845

def RegistryId
  @RegistryId
end

#RepositoryName ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认为查询所有命名空间下镜像仓库

  • RepositoryName: —

    指定镜像仓库,不填写默认查询指定命名空间下所有镜像仓库

  • Offset: —

    页数,第几页,用于分页

  • Limit: —

    每页个数,用于分页,最大值为100

  • SortBy: —

    基于字段排序,支持的值有-creation_time,-name, -update_time



3845
3846
3847
# File 'lib/v20190924/models.rb', line 3845

def RepositoryName
  @RepositoryName
end

#SortBy ⇒ Object

Parameters:

  • RegistryId: —

    实例Id

  • NamespaceName: —

    指定命名空间,不填写默认为查询所有命名空间下镜像仓库

  • RepositoryName: —

    指定镜像仓库,不填写默认查询指定命名空间下所有镜像仓库

  • Offset: —

    页数,第几页,用于分页

  • Limit: —

    每页个数,用于分页,最大值为100

  • SortBy: —

    基于字段排序,支持的值有-creation_time,-name, -update_time



3845
3846
3847
# File 'lib/v20190924/models.rb', line 3845

def SortBy
  @SortBy
end

Instance Method Details

#deserialize(params) ⇒ Object



3856
3857
3858
3859
3860
3861
3862
3863
# File 'lib/v20190924/models.rb', line 3856

def deserialize(params)
  @RegistryId = params['RegistryId']
  @NamespaceName = params['NamespaceName']
  @RepositoryName = params['RepositoryName']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @SortBy = params['SortBy']
end