Class: TencentCloud::Tcb::V20180608::CbrRepoInfo

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

Overview

仓库信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(repo = nil, repotype = nil, repolanguage = nil, branch = nil) ⇒ CbrRepoInfo

Returns a new instance of CbrRepoInfo.



260
261
262
263
264
265
# File 'lib/v20180608/models.rb', line 260

def initialize(repo=nil, repotype=nil, repolanguage=nil, branch=nil)
  @Repo = repo
  @RepoType = repotype
  @RepoLanguage = repolanguage
  @Branch = branch
end

Instance Attribute Details

#BranchObject

Parameters:

  • Repo:

    仓库名称

  • RepoType:

    仓库平台

  • RepoLanguage:

    仓库语言

  • Branch:

    分支名称



258
259
260
# File 'lib/v20180608/models.rb', line 258

def Branch
  @Branch
end

#RepoObject

Parameters:

  • Repo:

    仓库名称

  • RepoType:

    仓库平台

  • RepoLanguage:

    仓库语言

  • Branch:

    分支名称



258
259
260
# File 'lib/v20180608/models.rb', line 258

def Repo
  @Repo
end

#RepoLanguageObject

Parameters:

  • Repo:

    仓库名称

  • RepoType:

    仓库平台

  • RepoLanguage:

    仓库语言

  • Branch:

    分支名称



258
259
260
# File 'lib/v20180608/models.rb', line 258

def RepoLanguage
  @RepoLanguage
end

#RepoTypeObject

Parameters:

  • Repo:

    仓库名称

  • RepoType:

    仓库平台

  • RepoLanguage:

    仓库语言

  • Branch:

    分支名称



258
259
260
# File 'lib/v20180608/models.rb', line 258

def RepoType
  @RepoType
end

Instance Method Details

#deserialize(params) ⇒ Object



267
268
269
270
271
272
# File 'lib/v20180608/models.rb', line 267

def deserialize(params)
  @Repo = params['Repo']
  @RepoType = params['RepoType']
  @RepoLanguage = params['RepoLanguage']
  @Branch = params['Branch']
end