Class: TencentCloud::Tione::V20191022::DescribeCodeRepositoriesResponse

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

Overview

DescribeCodeRepositories返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CodeRepoSetObject

注意:此字段可能返回 null,表示取不到有效值。



696
697
698
# File 'lib/v20191022/models.rb', line 696

def CodeRepoSet
  @CodeRepoSet
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。



696
697
698
# File 'lib/v20191022/models.rb', line 696

def RequestId
  @RequestId
end

#TotalCountObject

注意:此字段可能返回 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