Class: TencentCloud::Omics::V20221128::ApplicationVersion
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Omics::V20221128::ApplicationVersion
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20221128/models.rb
Overview
应用版本。
Instance Attribute Summary collapse
- #ApplicationVersionId ⇒ Object
- #CosSource ⇒ Object
- #CreateTime ⇒ Object
- #CreatorId ⇒ Object
- #CreatorName ⇒ Object
- #Description ⇒ Object
- #Entrypoint ⇒ Object
- #GitInfo ⇒ Object
- #GitSource ⇒ Object
- #Name ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, applicationversionid = nil, name = nil, description = nil, entrypoint = nil, createtime = nil, creatorname = nil, creatorid = nil, gitinfo = nil, gitsource = nil, cossource = nil) ⇒ ApplicationVersion
constructor
A new instance of ApplicationVersion.
Constructor Details
#initialize(type = nil, applicationversionid = nil, name = nil, description = nil, entrypoint = nil, createtime = nil, creatorname = nil, creatorid = nil, gitinfo = nil, gitsource = nil, cossource = nil) ⇒ ApplicationVersion
Returns a new instance of ApplicationVersion.
50 51 52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/v20221128/models.rb', line 50 def initialize(type=nil, applicationversionid=nil, name=nil, description=nil, entrypoint=nil, createtime=nil, creatorname=nil, creatorid=nil, gitinfo=nil, gitsource=nil, cossource=nil) @Type = type @ApplicationVersionId = applicationversionid @Name = name @Description = description @Entrypoint = entrypoint @CreateTime = createtime @CreatorName = creatorname @CreatorId = creatorid @GitInfo = gitinfo @GitSource = gitsource @CosSource = cossource end |
Instance Attribute Details
#ApplicationVersionId ⇒ Object
45 46 47 |
# File 'lib/v20221128/models.rb', line 45 def ApplicationVersionId @ApplicationVersionId end |
#CosSource ⇒ Object
45 46 47 |
# File 'lib/v20221128/models.rb', line 45 def CosSource @CosSource end |
#CreateTime ⇒ Object
45 46 47 |
# File 'lib/v20221128/models.rb', line 45 def CreateTime @CreateTime end |
#CreatorId ⇒ Object
45 46 47 |
# File 'lib/v20221128/models.rb', line 45 def CreatorId @CreatorId end |
#CreatorName ⇒ Object
45 46 47 |
# File 'lib/v20221128/models.rb', line 45 def CreatorName @CreatorName end |
#Description ⇒ Object
45 46 47 |
# File 'lib/v20221128/models.rb', line 45 def Description @Description end |
#Entrypoint ⇒ Object
45 46 47 |
# File 'lib/v20221128/models.rb', line 45 def Entrypoint @Entrypoint end |
#GitInfo ⇒ Object
45 46 47 |
# File 'lib/v20221128/models.rb', line 45 def GitInfo @GitInfo end |
#GitSource ⇒ Object
45 46 47 |
# File 'lib/v20221128/models.rb', line 45 def GitSource @GitSource end |
#Name ⇒ Object
45 46 47 |
# File 'lib/v20221128/models.rb', line 45 def Name @Name end |
#Type ⇒ Object
45 46 47 |
# File 'lib/v20221128/models.rb', line 45 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/v20221128/models.rb', line 64 def deserialize(params) @Type = params['Type'] @ApplicationVersionId = params['ApplicationVersionId'] @Name = params['Name'] @Description = params['Description'] @Entrypoint = params['Entrypoint'] @CreateTime = params['CreateTime'] @CreatorName = params['CreatorName'] @CreatorId = params['CreatorId'] @GitInfo = params['GitInfo'] unless params['GitSource'].nil? @GitSource = GitInfo.new @GitSource.deserialize(params['GitSource']) end unless params['CosSource'].nil? @CosSource = CosFileInfo.new @CosSource.deserialize(params['CosSource']) end end |