Class: TencentCloud::Trp::V20210515::DescribeCodeBatchsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trp::V20210515::DescribeCodeBatchsResponse
- Defined in:
- lib/v20210515/models.rb
Overview
DescribeCodeBatchs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(codebatchs = nil, totalcount = nil, requestid = nil) ⇒ DescribeCodeBatchsResponse
constructor
A new instance of DescribeCodeBatchsResponse.
Constructor Details
#initialize(codebatchs = nil, totalcount = nil, requestid = nil) ⇒ DescribeCodeBatchsResponse
Returns a new instance of DescribeCodeBatchsResponse.
1755 1756 1757 1758 1759 |
# File 'lib/v20210515/models.rb', line 1755 def initialize(codebatchs=nil, totalcount=nil, requestid=nil) @CodeBatchs = codebatchs @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#CodeBatchs ⇒ Object
1753 1754 1755 |
# File 'lib/v20210515/models.rb', line 1753 def CodeBatchs @CodeBatchs end |
#RequestId ⇒ Object
1753 1754 1755 |
# File 'lib/v20210515/models.rb', line 1753 def RequestId @RequestId end |
#TotalCount ⇒ Object
1753 1754 1755 |
# File 'lib/v20210515/models.rb', line 1753 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 |
# File 'lib/v20210515/models.rb', line 1761 def deserialize(params) unless params['CodeBatchs'].nil? @CodeBatchs = [] params['CodeBatchs'].each do |i| codebatch_tmp = CodeBatch.new codebatch_tmp.deserialize(i) @CodeBatchs << codebatch_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |