Class: TencentCloud::Tcb::V20180608::CbrRepoInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::CbrRepoInfo
- Defined in:
- lib/v20180608/models.rb
Overview
仓库信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(repo = nil, repotype = nil, repolanguage = nil, branch = nil) ⇒ CbrRepoInfo
constructor
A new instance of CbrRepoInfo.
Constructor Details
#initialize(repo = nil, repotype = nil, repolanguage = nil, branch = nil) ⇒ CbrRepoInfo
Returns a new instance of CbrRepoInfo.
260 261 262 263 264 265 |
# File 'lib/v20180608/models.rb', line 260 def initialize(repo=nil, repotype=nil, repolanguage=nil, branch=nil) @Repo = repo @RepoType = repotype @RepoLanguage = repolanguage @Branch = branch end |
Instance Attribute Details
#Branch ⇒ Object
258 259 260 |
# File 'lib/v20180608/models.rb', line 258 def Branch @Branch end |
#Repo ⇒ Object
258 259 260 |
# File 'lib/v20180608/models.rb', line 258 def Repo @Repo end |
#RepoLanguage ⇒ Object
258 259 260 |
# File 'lib/v20180608/models.rb', line 258 def RepoLanguage @RepoLanguage end |
#RepoType ⇒ Object
258 259 260 |
# File 'lib/v20180608/models.rb', line 258 def RepoType @RepoType end |
Instance Method Details
#deserialize(params) ⇒ Object
267 268 269 270 271 272 |
# File 'lib/v20180608/models.rb', line 267 def deserialize(params) @Repo = params['Repo'] @RepoType = params['RepoType'] @RepoLanguage = params['RepoLanguage'] @Branch = params['Branch'] end |