Class: TencentCloud::Tcb::V20180608::CloudBaseCodeRepoDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::CloudBaseCodeRepoDetail
- Defined in:
- lib/v20180608/models.rb
Overview
代码仓库里 Repo的信息描述
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, url = nil) ⇒ CloudBaseCodeRepoDetail
constructor
A new instance of CloudBaseCodeRepoDetail.
Constructor Details
#initialize(name = nil, url = nil) ⇒ CloudBaseCodeRepoDetail
Returns a new instance of CloudBaseCodeRepoDetail.
327 328 329 330 |
# File 'lib/v20180608/models.rb', line 327 def initialize(name=nil, url=nil) @Name = name @Url = url end |
Instance Attribute Details
#Name ⇒ Object
325 326 327 |
# File 'lib/v20180608/models.rb', line 325 def Name @Name end |
#Url ⇒ Object
325 326 327 |
# File 'lib/v20180608/models.rb', line 325 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
332 333 334 335 336 337 338 |
# File 'lib/v20180608/models.rb', line 332 def deserialize(params) unless params['Name'].nil? @Name = CloudBaseCodeRepoName.new @Name.deserialize(params['Name']) end @Url = params['Url'] end |