Class: TencentCloud::Trp::V20210515::DescribeCodePacksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trp::V20210515::DescribeCodePacksResponse
- Defined in:
- lib/v20210515/models.rb
Overview
DescribeCodePacks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(codepacks = nil, totalcount = nil, requestid = nil) ⇒ DescribeCodePacksResponse
constructor
A new instance of DescribeCodePacksResponse.
Constructor Details
#initialize(codepacks = nil, totalcount = nil, requestid = nil) ⇒ DescribeCodePacksResponse
Returns a new instance of DescribeCodePacksResponse.
1922 1923 1924 1925 1926 |
# File 'lib/v20210515/models.rb', line 1922 def initialize(codepacks=nil, totalcount=nil, requestid=nil) @CodePacks = codepacks @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#CodePacks ⇒ Object
1920 1921 1922 |
# File 'lib/v20210515/models.rb', line 1920 def CodePacks @CodePacks end |
#RequestId ⇒ Object
1920 1921 1922 |
# File 'lib/v20210515/models.rb', line 1920 def RequestId @RequestId end |
#TotalCount ⇒ Object
1920 1921 1922 |
# File 'lib/v20210515/models.rb', line 1920 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'lib/v20210515/models.rb', line 1928 def deserialize(params) unless params['CodePacks'].nil? @CodePacks = [] params['CodePacks'].each do |i| codepack_tmp = CodePack.new codepack_tmp.deserialize(i) @CodePacks << codepack_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |