Class: TencentCloud::Tcb::V20180608::CodeSource

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180608/models.rb

Overview

云开发项目来源

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
# File 'lib/v20180608/models.rb', line 1630

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

#BranchObject

Parameters:

  • Type:

    类型, 可能的枚举: "coding","package","package_url","github","gitlab","gitee","rawcode"

  • Url:

    下载链接

  • Name:

    名称

  • WorkDir:

    工作目录

  • CodingPackageName:

    code包名, type为coding的时候需要填写

  • CodingPackageVersion:

    coding版本名, type为coding的时候需要填写

  • RawCode:

    源码

  • Branch:

    代码分支

  • ProjectId:

    coding项目ID,type为coding时需要填写

  • ProjectName:

    coding项目



1628
1629
1630
# File 'lib/v20180608/models.rb', line 1628

def Branch
  @Branch
end

#CodingPackageNameObject

Parameters:

  • Type:

    类型, 可能的枚举: "coding","package","package_url","github","gitlab","gitee","rawcode"

  • Url:

    下载链接

  • Name:

    名称

  • WorkDir:

    工作目录

  • CodingPackageName:

    code包名, type为coding的时候需要填写

  • CodingPackageVersion:

    coding版本名, type为coding的时候需要填写

  • RawCode:

    源码

  • Branch:

    代码分支

  • ProjectId:

    coding项目ID,type为coding时需要填写

  • ProjectName:

    coding项目



1628
1629
1630
# File 'lib/v20180608/models.rb', line 1628

def CodingPackageName
  @CodingPackageName
end

#CodingPackageVersionObject

Parameters:

  • Type:

    类型, 可能的枚举: "coding","package","package_url","github","gitlab","gitee","rawcode"

  • Url:

    下载链接

  • Name:

    名称

  • WorkDir:

    工作目录

  • CodingPackageName:

    code包名, type为coding的时候需要填写

  • CodingPackageVersion:

    coding版本名, type为coding的时候需要填写

  • RawCode:

    源码

  • Branch:

    代码分支

  • ProjectId:

    coding项目ID,type为coding时需要填写

  • ProjectName:

    coding项目



1628
1629
1630
# File 'lib/v20180608/models.rb', line 1628

def CodingPackageVersion
  @CodingPackageVersion
end

#NameObject

Parameters:

  • Type:

    类型, 可能的枚举: "coding","package","package_url","github","gitlab","gitee","rawcode"

  • Url:

    下载链接

  • Name:

    名称

  • WorkDir:

    工作目录

  • CodingPackageName:

    code包名, type为coding的时候需要填写

  • CodingPackageVersion:

    coding版本名, type为coding的时候需要填写

  • RawCode:

    源码

  • Branch:

    代码分支

  • ProjectId:

    coding项目ID,type为coding时需要填写

  • ProjectName:

    coding项目



1628
1629
1630
# File 'lib/v20180608/models.rb', line 1628

def Name
  @Name
end

#ProjectIdObject

Parameters:

  • Type:

    类型, 可能的枚举: "coding","package","package_url","github","gitlab","gitee","rawcode"

  • Url:

    下载链接

  • Name:

    名称

  • WorkDir:

    工作目录

  • CodingPackageName:

    code包名, type为coding的时候需要填写

  • CodingPackageVersion:

    coding版本名, type为coding的时候需要填写

  • RawCode:

    源码

  • Branch:

    代码分支

  • ProjectId:

    coding项目ID,type为coding时需要填写

  • ProjectName:

    coding项目



1628
1629
1630
# File 'lib/v20180608/models.rb', line 1628

def ProjectId
  @ProjectId
end

#ProjectNameObject

Parameters:

  • Type:

    类型, 可能的枚举: "coding","package","package_url","github","gitlab","gitee","rawcode"

  • Url:

    下载链接

  • Name:

    名称

  • WorkDir:

    工作目录

  • CodingPackageName:

    code包名, type为coding的时候需要填写

  • CodingPackageVersion:

    coding版本名, type为coding的时候需要填写

  • RawCode:

    源码

  • Branch:

    代码分支

  • ProjectId:

    coding项目ID,type为coding时需要填写

  • ProjectName:

    coding项目



1628
1629
1630
# File 'lib/v20180608/models.rb', line 1628

def ProjectName
  @ProjectName
end

#RawCodeObject

Parameters:

  • Type:

    类型, 可能的枚举: "coding","package","package_url","github","gitlab","gitee","rawcode"

  • Url:

    下载链接

  • Name:

    名称

  • WorkDir:

    工作目录

  • CodingPackageName:

    code包名, type为coding的时候需要填写

  • CodingPackageVersion:

    coding版本名, type为coding的时候需要填写

  • RawCode:

    源码

  • Branch:

    代码分支

  • ProjectId:

    coding项目ID,type为coding时需要填写

  • ProjectName:

    coding项目



1628
1629
1630
# File 'lib/v20180608/models.rb', line 1628

def RawCode
  @RawCode
end

#TypeObject

Parameters:

  • Type:

    类型, 可能的枚举: "coding","package","package_url","github","gitlab","gitee","rawcode"

  • Url:

    下载链接

  • Name:

    名称

  • WorkDir:

    工作目录

  • CodingPackageName:

    code包名, type为coding的时候需要填写

  • CodingPackageVersion:

    coding版本名, type为coding的时候需要填写

  • RawCode:

    源码

  • Branch:

    代码分支

  • ProjectId:

    coding项目ID,type为coding时需要填写

  • ProjectName:

    coding项目



1628
1629
1630
# File 'lib/v20180608/models.rb', line 1628

def Type
  @Type
end

#UrlObject

Parameters:

  • Type:

    类型, 可能的枚举: "coding","package","package_url","github","gitlab","gitee","rawcode"

  • Url:

    下载链接

  • Name:

    名称

  • WorkDir:

    工作目录

  • CodingPackageName:

    code包名, type为coding的时候需要填写

  • CodingPackageVersion:

    coding版本名, type为coding的时候需要填写

  • RawCode:

    源码

  • Branch:

    代码分支

  • ProjectId:

    coding项目ID,type为coding时需要填写

  • ProjectName:

    coding项目



1628
1629
1630
# File 'lib/v20180608/models.rb', line 1628

def Url
  @Url
end

#WorkDirObject

Parameters:

  • Type:

    类型, 可能的枚举: "coding","package","package_url","github","gitlab","gitee","rawcode"

  • Url:

    下载链接

  • Name:

    名称

  • WorkDir:

    工作目录

  • CodingPackageName:

    code包名, type为coding的时候需要填写

  • CodingPackageVersion:

    coding版本名, type为coding的时候需要填写

  • RawCode:

    源码

  • Branch:

    代码分支

  • ProjectId:

    coding项目ID,type为coding时需要填写

  • ProjectName:

    coding项目



1628
1629
1630
# File 'lib/v20180608/models.rb', line 1628

def WorkDir
  @WorkDir
end

Instance Method Details

#deserialize(params) ⇒ Object



1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
# File 'lib/v20180608/models.rb', line 1643

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