Class: TencentCloud::Tcb::V20180608::CodeSource
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::CodeSource
- Defined in:
- lib/v20180608/models.rb
Overview
云开发项目来源
Instance Attribute Summary collapse
- #Branch ⇒ Object
- #CodingPackageName ⇒ Object
- #CodingPackageVersion ⇒ Object
- #Name ⇒ Object
- #ProjectId ⇒ Object
- #ProjectName ⇒ Object
- #RawCode ⇒ Object
- #Type ⇒ Object
- #Url ⇒ Object
- #WorkDir ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, url = nil, name = nil, workdir = nil, codingpackagename = nil, codingpackageversion = nil, rawcode = nil, branch = nil, projectid = nil, projectname = nil) ⇒ CodeSource
constructor
A new instance of CodeSource.
Constructor Details
#initialize(type = nil, url = nil, name = nil, workdir = nil, codingpackagename = nil, codingpackageversion = nil, rawcode = nil, branch = nil, projectid = nil, projectname = nil) ⇒ CodeSource
Returns a new instance of CodeSource.
1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 |
# File 'lib/v20180608/models.rb', line 1384 def initialize(type=nil, url=nil, name=nil, workdir=nil, codingpackagename=nil, codingpackageversion=nil, rawcode=nil, branch=nil, projectid=nil, projectname=nil) @Type = type @Url = url @Name = name @WorkDir = workdir @CodingPackageName = codingpackagename @CodingPackageVersion = codingpackageversion @RawCode = rawcode @Branch = branch @ProjectId = projectid @ProjectName = projectname end |
Instance Attribute Details
#Branch ⇒ Object
1382 1383 1384 |
# File 'lib/v20180608/models.rb', line 1382 def Branch @Branch end |
#CodingPackageName ⇒ Object
1382 1383 1384 |
# File 'lib/v20180608/models.rb', line 1382 def CodingPackageName @CodingPackageName end |
#CodingPackageVersion ⇒ Object
1382 1383 1384 |
# File 'lib/v20180608/models.rb', line 1382 def CodingPackageVersion @CodingPackageVersion end |
#Name ⇒ Object
1382 1383 1384 |
# File 'lib/v20180608/models.rb', line 1382 def Name @Name end |
#ProjectId ⇒ Object
1382 1383 1384 |
# File 'lib/v20180608/models.rb', line 1382 def ProjectId @ProjectId end |
#ProjectName ⇒ Object
1382 1383 1384 |
# File 'lib/v20180608/models.rb', line 1382 def ProjectName @ProjectName end |
#RawCode ⇒ Object
1382 1383 1384 |
# File 'lib/v20180608/models.rb', line 1382 def RawCode @RawCode end |
#Type ⇒ Object
1382 1383 1384 |
# File 'lib/v20180608/models.rb', line 1382 def Type @Type end |
#Url ⇒ Object
1382 1383 1384 |
# File 'lib/v20180608/models.rb', line 1382 def Url @Url end |
#WorkDir ⇒ Object
1382 1383 1384 |
# File 'lib/v20180608/models.rb', line 1382 def WorkDir @WorkDir end |
Instance Method Details
#deserialize(params) ⇒ Object
1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 |
# File 'lib/v20180608/models.rb', line 1397 def deserialize(params) @Type = params['Type'] @Url = params['Url'] @Name = params['Name'] @WorkDir = params['WorkDir'] @CodingPackageName = params['CodingPackageName'] @CodingPackageVersion = params['CodingPackageVersion'] @RawCode = params['RawCode'] @Branch = params['Branch'] @ProjectId = params['ProjectId'] @ProjectName = params['ProjectName'] end |