Class: TencentCloud::Tcr::V20190924::TagInfoResp
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::TagInfoResp
- Defined in:
- lib/v20190924/models.rb
Overview
Tag列表的返回值
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tagcount = nil, taginfo = nil, server = nil, reponame = nil) ⇒ TagInfoResp
constructor
A new instance of TagInfoResp.
Constructor Details
#initialize(tagcount = nil, taginfo = nil, server = nil, reponame = nil) ⇒ TagInfoResp
Returns a new instance of TagInfoResp.
7086 7087 7088 7089 7090 7091 |
# File 'lib/v20190924/models.rb', line 7086 def initialize(tagcount=nil, taginfo=nil, server=nil, reponame=nil) @TagCount = tagcount @TagInfo = taginfo @Server = server @RepoName = reponame end |
Instance Attribute Details
#RepoName ⇒ Object
7084 7085 7086 |
# File 'lib/v20190924/models.rb', line 7084 def RepoName @RepoName end |
#Server ⇒ Object
7084 7085 7086 |
# File 'lib/v20190924/models.rb', line 7084 def Server @Server end |
#TagCount ⇒ Object
7084 7085 7086 |
# File 'lib/v20190924/models.rb', line 7084 def TagCount @TagCount end |
#TagInfo ⇒ Object
7084 7085 7086 |
# File 'lib/v20190924/models.rb', line 7084 def TagInfo @TagInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 |
# File 'lib/v20190924/models.rb', line 7093 def deserialize(params) @TagCount = params['TagCount'] unless params['TagInfo'].nil? @TagInfo = [] params['TagInfo'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagInfo << taginfo_tmp end end @Server = params['Server'] @RepoName = params['RepoName'] end |