Class: TencentCloud::Lke::V20231130::ListAppKnowledgeDetailResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lke::V20231130::ListAppKnowledgeDetailResponse
- Defined in:
- lib/v20231130/models.rb
Overview
ListAppKnowledgeDetail返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, list = nil, requestid = nil) ⇒ ListAppKnowledgeDetailResponse
constructor
A new instance of ListAppKnowledgeDetailResponse.
Constructor Details
#initialize(total = nil, list = nil, requestid = nil) ⇒ ListAppKnowledgeDetailResponse
Returns a new instance of ListAppKnowledgeDetailResponse.
7162 7163 7164 7165 7166 |
# File 'lib/v20231130/models.rb', line 7162 def initialize(total=nil, list=nil, requestid=nil) @Total = total @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
7160 7161 7162 |
# File 'lib/v20231130/models.rb', line 7160 def List @List end |
#RequestId ⇒ Object
7160 7161 7162 |
# File 'lib/v20231130/models.rb', line 7160 def RequestId @RequestId end |
#Total ⇒ Object
7160 7161 7162 |
# File 'lib/v20231130/models.rb', line 7160 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 |
# File 'lib/v20231130/models.rb', line 7168 def deserialize(params) @Total = params['Total'] unless params['List'].nil? @List = [] params['List'].each do |i| knowledgedetail_tmp = KnowledgeDetail.new knowledgedetail_tmp.deserialize(i) @List << knowledgedetail_tmp end end @RequestId = params['RequestId'] end |