Class: TencentCloud::Tione::V20211111::CodeRepoConfig

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

Overview

代码仓库配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, targetpath = nil) ⇒ CodeRepoConfig

Returns a new instance of CodeRepoConfig.



321
322
323
324
# File 'lib/v20211111/models.rb', line 321

def initialize(id=nil, targetpath=nil)
  @Id = id
  @TargetPath = targetpath
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    代码仓库Id

  • TargetPath:

    代码仓下载目标地址



319
320
321
# File 'lib/v20211111/models.rb', line 319

def Id
  @Id
end

#TargetPathObject

Parameters:

  • Id:

    代码仓库Id

  • TargetPath:

    代码仓下载目标地址



319
320
321
# File 'lib/v20211111/models.rb', line 319

def TargetPath
  @TargetPath
end

Instance Method Details

#deserialize(params) ⇒ Object



326
327
328
329
# File 'lib/v20211111/models.rb', line 326

def deserialize(params)
  @Id = params['Id']
  @TargetPath = params['TargetPath']
end