Class: TencentCloud::Omics::V20221128::ApplicationVersion

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20221128/models.rb

Overview

应用版本。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ApplicationVersionIdObject

Parameters:

  • Type:

    版本类型。

  • ApplicationVersionId:

    版本ID。

  • Name:

    发布名称。

  • Description:

    发布描述。

  • Entrypoint:

    入口文件。

  • CreateTime:

    创建时间。

  • CreatorName:

    创建者名称。

  • CreatorId:

    创建者ID。

  • GitInfo:

    Git信息。

  • GitSource:

    Git信息。

  • CosSource:

    COS信息。



45
46
47
# File 'lib/v20221128/models.rb', line 45

def ApplicationVersionId
  @ApplicationVersionId
end

#CosSourceObject

Parameters:

  • Type:

    版本类型。

  • ApplicationVersionId:

    版本ID。

  • Name:

    发布名称。

  • Description:

    发布描述。

  • Entrypoint:

    入口文件。

  • CreateTime:

    创建时间。

  • CreatorName:

    创建者名称。

  • CreatorId:

    创建者ID。

  • GitInfo:

    Git信息。

  • GitSource:

    Git信息。

  • CosSource:

    COS信息。



45
46
47
# File 'lib/v20221128/models.rb', line 45

def CosSource
  @CosSource
end

#CreateTimeObject

Parameters:

  • Type:

    版本类型。

  • ApplicationVersionId:

    版本ID。

  • Name:

    发布名称。

  • Description:

    发布描述。

  • Entrypoint:

    入口文件。

  • CreateTime:

    创建时间。

  • CreatorName:

    创建者名称。

  • CreatorId:

    创建者ID。

  • GitInfo:

    Git信息。

  • GitSource:

    Git信息。

  • CosSource:

    COS信息。



45
46
47
# File 'lib/v20221128/models.rb', line 45

def CreateTime
  @CreateTime
end

#CreatorIdObject

Parameters:

  • Type:

    版本类型。

  • ApplicationVersionId:

    版本ID。

  • Name:

    发布名称。

  • Description:

    发布描述。

  • Entrypoint:

    入口文件。

  • CreateTime:

    创建时间。

  • CreatorName:

    创建者名称。

  • CreatorId:

    创建者ID。

  • GitInfo:

    Git信息。

  • GitSource:

    Git信息。

  • CosSource:

    COS信息。



45
46
47
# File 'lib/v20221128/models.rb', line 45

def CreatorId
  @CreatorId
end

#CreatorNameObject

Parameters:

  • Type:

    版本类型。

  • ApplicationVersionId:

    版本ID。

  • Name:

    发布名称。

  • Description:

    发布描述。

  • Entrypoint:

    入口文件。

  • CreateTime:

    创建时间。

  • CreatorName:

    创建者名称。

  • CreatorId:

    创建者ID。

  • GitInfo:

    Git信息。

  • GitSource:

    Git信息。

  • CosSource:

    COS信息。



45
46
47
# File 'lib/v20221128/models.rb', line 45

def CreatorName
  @CreatorName
end

#DescriptionObject

Parameters:

  • Type:

    版本类型。

  • ApplicationVersionId:

    版本ID。

  • Name:

    发布名称。

  • Description:

    发布描述。

  • Entrypoint:

    入口文件。

  • CreateTime:

    创建时间。

  • CreatorName:

    创建者名称。

  • CreatorId:

    创建者ID。

  • GitInfo:

    Git信息。

  • GitSource:

    Git信息。

  • CosSource:

    COS信息。



45
46
47
# File 'lib/v20221128/models.rb', line 45

def Description
  @Description
end

#EntrypointObject

Parameters:

  • Type:

    版本类型。

  • ApplicationVersionId:

    版本ID。

  • Name:

    发布名称。

  • Description:

    发布描述。

  • Entrypoint:

    入口文件。

  • CreateTime:

    创建时间。

  • CreatorName:

    创建者名称。

  • CreatorId:

    创建者ID。

  • GitInfo:

    Git信息。

  • GitSource:

    Git信息。

  • CosSource:

    COS信息。



45
46
47
# File 'lib/v20221128/models.rb', line 45

def Entrypoint
  @Entrypoint
end

#GitInfoObject

Parameters:

  • Type:

    版本类型。

  • ApplicationVersionId:

    版本ID。

  • Name:

    发布名称。

  • Description:

    发布描述。

  • Entrypoint:

    入口文件。

  • CreateTime:

    创建时间。

  • CreatorName:

    创建者名称。

  • CreatorId:

    创建者ID。

  • GitInfo:

    Git信息。

  • GitSource:

    Git信息。

  • CosSource:

    COS信息。



45
46
47
# File 'lib/v20221128/models.rb', line 45

def GitInfo
  @GitInfo
end

#GitSourceObject

Parameters:

  • Type:

    版本类型。

  • ApplicationVersionId:

    版本ID。

  • Name:

    发布名称。

  • Description:

    发布描述。

  • Entrypoint:

    入口文件。

  • CreateTime:

    创建时间。

  • CreatorName:

    创建者名称。

  • CreatorId:

    创建者ID。

  • GitInfo:

    Git信息。

  • GitSource:

    Git信息。

  • CosSource:

    COS信息。



45
46
47
# File 'lib/v20221128/models.rb', line 45

def GitSource
  @GitSource
end

#NameObject

Parameters:

  • Type:

    版本类型。

  • ApplicationVersionId:

    版本ID。

  • Name:

    发布名称。

  • Description:

    发布描述。

  • Entrypoint:

    入口文件。

  • CreateTime:

    创建时间。

  • CreatorName:

    创建者名称。

  • CreatorId:

    创建者ID。

  • GitInfo:

    Git信息。

  • GitSource:

    Git信息。

  • CosSource:

    COS信息。



45
46
47
# File 'lib/v20221128/models.rb', line 45

def Name
  @Name
end

#TypeObject

Parameters:

  • Type:

    版本类型。

  • ApplicationVersionId:

    版本ID。

  • Name:

    发布名称。

  • Description:

    发布描述。

  • Entrypoint:

    入口文件。

  • CreateTime:

    创建时间。

  • CreatorName:

    创建者名称。

  • CreatorId:

    创建者ID。

  • GitInfo:

    Git信息。

  • GitSource:

    Git信息。

  • CosSource:

    COS信息。



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