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.



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

#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项目



1382
1383
1384
# File 'lib/v20180608/models.rb', line 1382

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项目



1382
1383
1384
# File 'lib/v20180608/models.rb', line 1382

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项目



1382
1383
1384
# File 'lib/v20180608/models.rb', line 1382

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项目



1382
1383
1384
# File 'lib/v20180608/models.rb', line 1382

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项目



1382
1383
1384
# File 'lib/v20180608/models.rb', line 1382

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项目



1382
1383
1384
# File 'lib/v20180608/models.rb', line 1382

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项目



1382
1383
1384
# File 'lib/v20180608/models.rb', line 1382

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项目



1382
1383
1384
# File 'lib/v20180608/models.rb', line 1382

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项目



1382
1383
1384
# File 'lib/v20180608/models.rb', line 1382

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项目



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