Class: TencentCloud::Omics::V20221128::GitInfo

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

Overview

Git信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(githttppath = nil, gitusername = nil, gittokenorpassword = nil, branch = nil, tag = nil) ⇒ GitInfo

Returns a new instance of GitInfo.



1278
1279
1280
1281
1282
1283
1284
# File 'lib/v20221128/models.rb', line 1278

def initialize(githttppath=nil, gitusername=nil, gittokenorpassword=nil, branch=nil, tag=nil)
  @GitHttpPath = githttppath
  @GitUserName = gitusername
  @GitTokenOrPassword = gittokenorpassword
  @Branch = branch
  @Tag = tag
end

Instance Attribute Details

#BranchObject

Parameters:

  • GitHttpPath:

    Git地址。

  • GitUserName:

    Git用户名。

  • GitTokenOrPassword:

    Git密码或者Token。

  • Branch:

    分支。

  • Tag:

    标签。



1276
1277
1278
# File 'lib/v20221128/models.rb', line 1276

def Branch
  @Branch
end

#GitHttpPathObject

Parameters:

  • GitHttpPath:

    Git地址。

  • GitUserName:

    Git用户名。

  • GitTokenOrPassword:

    Git密码或者Token。

  • Branch:

    分支。

  • Tag:

    标签。



1276
1277
1278
# File 'lib/v20221128/models.rb', line 1276

def GitHttpPath
  @GitHttpPath
end

#GitTokenOrPasswordObject

Parameters:

  • GitHttpPath:

    Git地址。

  • GitUserName:

    Git用户名。

  • GitTokenOrPassword:

    Git密码或者Token。

  • Branch:

    分支。

  • Tag:

    标签。



1276
1277
1278
# File 'lib/v20221128/models.rb', line 1276

def GitTokenOrPassword
  @GitTokenOrPassword
end

#GitUserNameObject

Parameters:

  • GitHttpPath:

    Git地址。

  • GitUserName:

    Git用户名。

  • GitTokenOrPassword:

    Git密码或者Token。

  • Branch:

    分支。

  • Tag:

    标签。



1276
1277
1278
# File 'lib/v20221128/models.rb', line 1276

def GitUserName
  @GitUserName
end

#TagObject

Parameters:

  • GitHttpPath:

    Git地址。

  • GitUserName:

    Git用户名。

  • GitTokenOrPassword:

    Git密码或者Token。

  • Branch:

    分支。

  • Tag:

    标签。



1276
1277
1278
# File 'lib/v20221128/models.rb', line 1276

def Tag
  @Tag
end

Instance Method Details

#deserialize(params) ⇒ Object



1286
1287
1288
1289
1290
1291
1292
# File 'lib/v20221128/models.rb', line 1286

def deserialize(params)
  @GitHttpPath = params['GitHttpPath']
  @GitUserName = params['GitUserName']
  @GitTokenOrPassword = params['GitTokenOrPassword']
  @Branch = params['Branch']
  @Tag = params['Tag']
end