Class: TencentCloud::Tdai::V20250717::CodeRepo

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

Overview

仓库信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(repourl = nil, branch = nil, gitcommitpipelines = nil, gitormtype = nil, gitcodelanguage = nil) ⇒ CodeRepo

Returns a new instance of CodeRepo.



249
250
251
252
253
254
255
# File 'lib/v20250717/models.rb', line 249

def initialize(repourl=nil, branch=nil, gitcommitpipelines=nil, gitormtype=nil, gitcodelanguage=nil)
  @RepoUrl = repourl
  @Branch = branch
  @GitCommitPipelines = gitcommitpipelines
  @GitORMType = gitormtype
  @GitCodeLanguage = gitcodelanguage
end

Instance Attribute Details

#BranchObject

Parameters:

  • RepoUrl:

    代码仓库地址

  • Branch:

    分支名

  • GitCommitPipelines:

    Commit信息

  • GitORMType:

    数据库ORM类型

  • GitCodeLanguage:

    代码编写语言



247
248
249
# File 'lib/v20250717/models.rb', line 247

def Branch
  @Branch
end

#GitCodeLanguageObject

Parameters:

  • RepoUrl:

    代码仓库地址

  • Branch:

    分支名

  • GitCommitPipelines:

    Commit信息

  • GitORMType:

    数据库ORM类型

  • GitCodeLanguage:

    代码编写语言



247
248
249
# File 'lib/v20250717/models.rb', line 247

def GitCodeLanguage
  @GitCodeLanguage
end

#GitCommitPipelinesObject

Parameters:

  • RepoUrl:

    代码仓库地址

  • Branch:

    分支名

  • GitCommitPipelines:

    Commit信息

  • GitORMType:

    数据库ORM类型

  • GitCodeLanguage:

    代码编写语言



247
248
249
# File 'lib/v20250717/models.rb', line 247

def GitCommitPipelines
  @GitCommitPipelines
end

#GitORMTypeObject

Parameters:

  • RepoUrl:

    代码仓库地址

  • Branch:

    分支名

  • GitCommitPipelines:

    Commit信息

  • GitORMType:

    数据库ORM类型

  • GitCodeLanguage:

    代码编写语言



247
248
249
# File 'lib/v20250717/models.rb', line 247

def GitORMType
  @GitORMType
end

#RepoUrlObject

Parameters:

  • RepoUrl:

    代码仓库地址

  • Branch:

    分支名

  • GitCommitPipelines:

    Commit信息

  • GitORMType:

    数据库ORM类型

  • GitCodeLanguage:

    代码编写语言



247
248
249
# File 'lib/v20250717/models.rb', line 247

def RepoUrl
  @RepoUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



257
258
259
260
261
262
263
# File 'lib/v20250717/models.rb', line 257

def deserialize(params)
  @RepoUrl = params['RepoUrl']
  @Branch = params['Branch']
  @GitCommitPipelines = params['GitCommitPipelines']
  @GitORMType = params['GitORMType']
  @GitCodeLanguage = params['GitCodeLanguage']
end