Class: TencentCloud::Lcic::V20220817::DescribeScoreListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lcic::V20220817::DescribeScoreListResponse
- Defined in:
- lib/v20220817/models.rb
Overview
DescribeScoreList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, scores = nil, requestid = nil) ⇒ DescribeScoreListResponse
constructor
A new instance of DescribeScoreListResponse.
Constructor Details
#initialize(total = nil, scores = nil, requestid = nil) ⇒ DescribeScoreListResponse
Returns a new instance of DescribeScoreListResponse.
2744 2745 2746 2747 2748 |
# File 'lib/v20220817/models.rb', line 2744 def initialize(total=nil, scores=nil, requestid=nil) @Total = total @Scores = scores @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2742 2743 2744 |
# File 'lib/v20220817/models.rb', line 2742 def RequestId @RequestId end |
#Scores ⇒ Object
2742 2743 2744 |
# File 'lib/v20220817/models.rb', line 2742 def Scores @Scores end |
#Total ⇒ Object
2742 2743 2744 |
# File 'lib/v20220817/models.rb', line 2742 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 |
# File 'lib/v20220817/models.rb', line 2750 def deserialize(params) @Total = params['Total'] unless params['Scores'].nil? @Scores = [] params['Scores'].each do |i| classscoreitem_tmp = ClassScoreItem.new classscoreitem_tmp.deserialize(i) @Scores << classscoreitem_tmp end end @RequestId = params['RequestId'] end |