Class: TencentCloud::Lke::V20231130::ListAppResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lke::V20231130::ListAppResponse
- Defined in:
- lib/v20231130/models.rb
Overview
ListApp返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, list = nil, requestid = nil) ⇒ ListAppResponse
constructor
A new instance of ListAppResponse.
Constructor Details
#initialize(total = nil, list = nil, requestid = nil) ⇒ ListAppResponse
Returns a new instance of ListAppResponse.
7233 7234 7235 7236 7237 |
# File 'lib/v20231130/models.rb', line 7233 def initialize(total=nil, list=nil, requestid=nil) @Total = total @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
7231 7232 7233 |
# File 'lib/v20231130/models.rb', line 7231 def List @List end |
#RequestId ⇒ Object
7231 7232 7233 |
# File 'lib/v20231130/models.rb', line 7231 def RequestId @RequestId end |
#Total ⇒ Object
7231 7232 7233 |
# File 'lib/v20231130/models.rb', line 7231 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 |
# File 'lib/v20231130/models.rb', line 7239 def deserialize(params) @Total = params['Total'] unless params['List'].nil? @List = [] params['List'].each do |i| appinfo_tmp = AppInfo.new appinfo_tmp.deserialize(i) @List << appinfo_tmp end end @RequestId = params['RequestId'] end |