Class: TencentCloud::Tcr::V20190924::SearchUserRepositoryResp

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

Overview

获取满足输入搜索条件的用户镜像仓库

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, repoinfo = nil, server = nil, privilegefiltered = nil) ⇒ SearchUserRepositoryResp

Returns a new instance of SearchUserRepositoryResp.



6884
6885
6886
6887
6888
6889
# File 'lib/v20190924/models.rb', line 6884

def initialize(totalcount=nil, repoinfo=nil, server=nil, privilegefiltered=nil)
  @TotalCount = totalcount
  @RepoInfo = repoinfo
  @Server = server
  @PrivilegeFiltered = privilegefiltered
end

Instance Attribute Details

#PrivilegeFiltered ⇒ Object

Parameters:

  • TotalCount: —

    总个数

  • RepoInfo: —

    仓库列表

  • Server: —

    Server

  • PrivilegeFiltered: —

    PrivilegeFiltered



6882
6883
6884
# File 'lib/v20190924/models.rb', line 6882

def PrivilegeFiltered
  @PrivilegeFiltered
end

#RepoInfo ⇒ Object

Parameters:

  • TotalCount: —

    总个数

  • RepoInfo: —

    仓库列表

  • Server: —

    Server

  • PrivilegeFiltered: —

    PrivilegeFiltered



6882
6883
6884
# File 'lib/v20190924/models.rb', line 6882

def RepoInfo
  @RepoInfo
end

#Server ⇒ Object

Parameters:

  • TotalCount: —

    总个数

  • RepoInfo: —

    仓库列表

  • Server: —

    Server

  • PrivilegeFiltered: —

    PrivilegeFiltered



6882
6883
6884
# File 'lib/v20190924/models.rb', line 6882

def Server
  @Server
end

#TotalCount ⇒ Object

Parameters:

  • TotalCount: —

    总个数

  • RepoInfo: —

    仓库列表

  • Server: —

    Server

  • PrivilegeFiltered: —

    PrivilegeFiltered



6882
6883
6884
# File 'lib/v20190924/models.rb', line 6882

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
# File 'lib/v20190924/models.rb', line 6891

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['RepoInfo'].nil?
    @RepoInfo = []
    params['RepoInfo'].each do |i|
      repoinfo_tmp = RepoInfo.new
      repoinfo_tmp.deserialize(i)
      @RepoInfo << repoinfo_tmp
    end
  end
  @Server = params['Server']
  @PrivilegeFiltered = params['PrivilegeFiltered']
end