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.
1520 1521 1522 1523 1524 |
# File 'lib/v20220817/models.rb', line 1520 def initialize(total=nil, answerinfo=nil, requestid=nil) @Total = total @AnswerInfo = answerinfo @RequestId = requestid end |
Instance Attribute Details
#AnswerInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1518 1519 1520 |
# File 'lib/v20220817/models.rb', line 1518 def AnswerInfo @AnswerInfo end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1518 1519 1520 |
# File 'lib/v20220817/models.rb', line 1518 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1518 1519 1520 |
# File 'lib/v20220817/models.rb', line 1518 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 |
# File 'lib/v20220817/models.rb', line 1526 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 |