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.
2804 2805 2806 2807 2808 |
# File 'lib/v20220817/models.rb', line 2804 def initialize(total=nil, scores=nil, requestid=nil) @Total = total @Scores = scores @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2802 2803 2804 |
# File 'lib/v20220817/models.rb', line 2802 def RequestId @RequestId end |
#Scores ⇒ Object
2802 2803 2804 |
# File 'lib/v20220817/models.rb', line 2802 def Scores @Scores end |
#Total ⇒ Object
2802 2803 2804 |
# File 'lib/v20220817/models.rb', line 2802 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 |
# File 'lib/v20220817/models.rb', line 2810 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 |