Class: TencentCloud::Tcr::V20190924::FavorResp
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::FavorResp
- Defined in:
- lib/v20190924/models.rb
Overview
用于获取收藏仓库的响应
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, repoinfo = nil) ⇒ FavorResp
constructor
A new instance of FavorResp.
Constructor Details
#initialize(totalcount = nil, repoinfo = nil) ⇒ FavorResp
Returns a new instance of FavorResp.
4697 4698 4699 4700 |
# File 'lib/v20190924/models.rb', line 4697 def initialize(totalcount=nil, repoinfo=nil) @TotalCount = totalcount @RepoInfo = repoinfo end |
Instance Attribute Details
#RepoInfo ⇒ Object
4695 4696 4697 |
# File 'lib/v20190924/models.rb', line 4695 def RepoInfo @RepoInfo end |
#TotalCount ⇒ Object
4695 4696 4697 |
# File 'lib/v20190924/models.rb', line 4695 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 |
# File 'lib/v20190924/models.rb', line 4702 def deserialize(params) @TotalCount = params['TotalCount'] unless params['RepoInfo'].nil? @RepoInfo = [] params['RepoInfo'].each do |i| favors_tmp = Favors.new favors_tmp.deserialize(i) @RepoInfo << favors_tmp end end end |