Class: TencentCloud::Tione::V20191022::DescribeCodeRepositoriesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tione::V20191022::DescribeCodeRepositoriesResponse
- Defined in:
- lib/v20191022/models.rb
Overview
DescribeCodeRepositories返回参数结构体
Instance Attribute Summary collapse
-
#CodeRepoSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, codereposet = nil, requestid = nil) ⇒ DescribeCodeRepositoriesResponse
constructor
A new instance of DescribeCodeRepositoriesResponse.
Constructor Details
#initialize(totalcount = nil, codereposet = nil, requestid = nil) ⇒ DescribeCodeRepositoriesResponse
698 699 700 701 702 |
# File 'lib/v20191022/models.rb', line 698 def initialize(totalcount=nil, codereposet=nil, requestid=nil) @TotalCount = totalcount @CodeRepoSet = codereposet @RequestId = requestid end |
Instance Attribute Details
#CodeRepoSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
696 697 698 |
# File 'lib/v20191022/models.rb', line 696 def CodeRepoSet @CodeRepoSet end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
696 697 698 |
# File 'lib/v20191022/models.rb', line 696 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
696 697 698 |
# File 'lib/v20191022/models.rb', line 696 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
704 705 706 707 708 709 710 711 712 713 714 715 |
# File 'lib/v20191022/models.rb', line 704 def deserialize(params) @TotalCount = params['TotalCount'] unless params['CodeRepoSet'].nil? @CodeRepoSet = [] params['CodeRepoSet'].each do |i| codereposummary_tmp = CodeRepoSummary.new codereposummary_tmp.deserialize(i) @CodeRepoSet << codereposummary_tmp end end @RequestId = params['RequestId'] end |