Class: TencentCloud::Tcr::V20190924::RepoInfoResp
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::RepoInfoResp
- Defined in:
- lib/v20190924/models.rb
Overview
仓库信息的返回信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, repoinfo = nil, server = nil) ⇒ RepoInfoResp
constructor
A new instance of RepoInfoResp.
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
6543 6544 6545 |
# File 'lib/v20190924/models.rb', line 6543 def RepoInfo @RepoInfo end |
#Server ⇒ Object
6543 6544 6545 |
# File 'lib/v20190924/models.rb', line 6543 def Server @Server end |
#TotalCount ⇒ Object
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 |