Class: TencentCloud::Tcr::V20190924::RepoInfoResp

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) ⇒ RepoInfoResp

Returns a new instance of RepoInfoResp.



6545
6546
6547
6548
6549
# File 'lib/v20190924/models.rb', line 6545

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

Instance Attribute Details

#RepoInfo ⇒ Object

Parameters:

  • TotalCount: —

    仓库总数

  • RepoInfo: —

    仓库信息列表

  • Server: —

    Server信息



6543
6544
6545
# File 'lib/v20190924/models.rb', line 6543

def RepoInfo
  @RepoInfo
end

#Server ⇒ Object

Parameters:

  • TotalCount: —

    仓库总数

  • RepoInfo: —

    仓库信息列表

  • Server: —

    Server信息



6543
6544
6545
# File 'lib/v20190924/models.rb', line 6543

def Server
  @Server
end

#TotalCount ⇒ Object

Parameters:

  • TotalCount: —

    仓库总数

  • RepoInfo: —

    仓库信息列表

  • Server: —

    Server信息



6543
6544
6545
# File 'lib/v20190924/models.rb', line 6543

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
# File 'lib/v20190924/models.rb', line 6551

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']
end