Class: TencentCloud::Lcic::V20220817::DescribeAnswerListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lcic::V20220817::DescribeAnswerListResponse
- Defined in:
- lib/v20220817/models.rb
Overview
DescribeAnswerList返回参数结构体
Instance Attribute Summary collapse
-
#AnswerInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, answerinfo = nil, requestid = nil) ⇒ DescribeAnswerListResponse
constructor
A new instance of DescribeAnswerListResponse.
Constructor Details
#initialize(total = nil, answerinfo = nil, requestid = nil) ⇒ DescribeAnswerListResponse
Returns a new instance of DescribeAnswerListResponse.
1500 1501 1502 1503 1504 |
# File 'lib/v20220817/models.rb', line 1500 def initialize(total=nil, answerinfo=nil, requestid=nil) @Total = total @AnswerInfo = answerinfo @RequestId = requestid end |
Instance Attribute Details
#AnswerInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1498 1499 1500 |
# File 'lib/v20220817/models.rb', line 1498 def AnswerInfo @AnswerInfo end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1498 1499 1500 |
# File 'lib/v20220817/models.rb', line 1498 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1498 1499 1500 |
# File 'lib/v20220817/models.rb', line 1498 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 |
# File 'lib/v20220817/models.rb', line 1506 def deserialize(params) @Total = params['Total'] unless params['AnswerInfo'].nil? @AnswerInfo = [] params['AnswerInfo'].each do |i| answerinfo_tmp = AnswerInfo.new answerinfo_tmp.deserialize(i) @AnswerInfo << answerinfo_tmp end end @RequestId = params['RequestId'] end |