Class: TencentCloud::Tke::V20180525::DescribeAddonResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeAddonResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeAddon返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(addons = nil, requestid = nil) ⇒ DescribeAddonResponse
constructor
A new instance of DescribeAddonResponse.
Constructor Details
#initialize(addons = nil, requestid = nil) ⇒ DescribeAddonResponse
Returns a new instance of DescribeAddonResponse.
5113 5114 5115 5116 |
# File 'lib/v20180525/models.rb', line 5113 def initialize(addons=nil, requestid=nil) @Addons = addons @RequestId = requestid end |
Instance Attribute Details
#Addons ⇒ Object
5111 5112 5113 |
# File 'lib/v20180525/models.rb', line 5111 def Addons @Addons end |
#RequestId ⇒ Object
5111 5112 5113 |
# File 'lib/v20180525/models.rb', line 5111 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 |
# File 'lib/v20180525/models.rb', line 5118 def deserialize(params) unless params['Addons'].nil? @Addons = [] params['Addons'].each do |i| addon_tmp = Addon.new addon_tmp.deserialize(i) @Addons << addon_tmp end end @RequestId = params['RequestId'] end |