Class: TencentCloud::Scf::V20180416::Code
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::Code
- Defined in:
- lib/v20180416/models.rb
Overview
函数代码
Instance Attribute Summary collapse
- #CosBucketName ⇒ Object
- #CosBucketRegion ⇒ Object
- #CosObjectName ⇒ Object
- #DemoId ⇒ Object
- #GitBranch ⇒ Object
- #GitCommitId ⇒ Object
- #GitDirectory ⇒ Object
- #GitPassword ⇒ Object
- #GitPasswordSecret ⇒ Object
- #GitUrl ⇒ Object
- #GitUserName ⇒ Object
- #GitUserNameSecret ⇒ Object
- #ImageConfig ⇒ Object
- #TempCosObjectName ⇒ Object
- #ZipFile ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cosbucketname = nil, cosobjectname = nil, zipfile = nil, cosbucketregion = nil, demoid = nil, tempcosobjectname = nil, giturl = nil, gitusername = nil, gitpassword = nil, gitpasswordsecret = nil, gitbranch = nil, gitdirectory = nil, gitcommitid = nil, gitusernamesecret = nil, imageconfig = nil) ⇒ Code
constructor
A new instance of Code.
Constructor Details
#initialize(cosbucketname = nil, cosobjectname = nil, zipfile = nil, cosbucketregion = nil, demoid = nil, tempcosobjectname = nil, giturl = nil, gitusername = nil, gitpassword = nil, gitpasswordsecret = nil, gitbranch = nil, gitdirectory = nil, gitcommitid = nil, gitusernamesecret = nil, imageconfig = nil) ⇒ Code
Returns a new instance of Code.
294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 |
# File 'lib/v20180416/models.rb', line 294 def initialize(cosbucketname=nil, cosobjectname=nil, zipfile=nil, cosbucketregion=nil, demoid=nil, tempcosobjectname=nil, giturl=nil, gitusername=nil, gitpassword=nil, gitpasswordsecret=nil, gitbranch=nil, gitdirectory=nil, gitcommitid=nil, gitusernamesecret=nil, imageconfig=nil) @CosBucketName = cosbucketname @CosObjectName = cosobjectname @ZipFile = zipfile @CosBucketRegion = cosbucketregion @DemoId = demoid @TempCosObjectName = tempcosobjectname @GitUrl = giturl @GitUserName = gitusername @GitPassword = gitpassword @GitPasswordSecret = gitpasswordsecret @GitBranch = gitbranch @GitDirectory = gitdirectory @GitCommitId = gitcommitid @GitUserNameSecret = gitusernamesecret @ImageConfig = imageconfig end |
Instance Attribute Details
#CosBucketName ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def CosBucketName @CosBucketName end |
#CosBucketRegion ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def CosBucketRegion @CosBucketRegion end |
#CosObjectName ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def CosObjectName @CosObjectName end |
#DemoId ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def DemoId @DemoId end |
#GitBranch ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def GitBranch @GitBranch end |
#GitCommitId ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def GitCommitId @GitCommitId end |
#GitDirectory ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def GitDirectory @GitDirectory end |
#GitPassword ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def GitPassword @GitPassword end |
#GitPasswordSecret ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def GitPasswordSecret @GitPasswordSecret end |
#GitUrl ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def GitUrl @GitUrl end |
#GitUserName ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def GitUserName @GitUserName end |
#GitUserNameSecret ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def GitUserNameSecret @GitUserNameSecret end |
#ImageConfig ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def ImageConfig @ImageConfig end |
#TempCosObjectName ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def TempCosObjectName @TempCosObjectName end |
#ZipFile ⇒ Object
292 293 294 |
# File 'lib/v20180416/models.rb', line 292 def ZipFile @ZipFile end |
Instance Method Details
#deserialize(params) ⇒ Object
312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 |
# File 'lib/v20180416/models.rb', line 312 def deserialize(params) @CosBucketName = params['CosBucketName'] @CosObjectName = params['CosObjectName'] @ZipFile = params['ZipFile'] @CosBucketRegion = params['CosBucketRegion'] @DemoId = params['DemoId'] @TempCosObjectName = params['TempCosObjectName'] @GitUrl = params['GitUrl'] @GitUserName = params['GitUserName'] @GitPassword = params['GitPassword'] @GitPasswordSecret = params['GitPasswordSecret'] @GitBranch = params['GitBranch'] @GitDirectory = params['GitDirectory'] @GitCommitId = params['GitCommitId'] @GitUserNameSecret = params['GitUserNameSecret'] unless params['ImageConfig'].nil? @ImageConfig = ImageConfig.new @ImageConfig.deserialize(params['ImageConfig']) end end |