Class: TencentCloud::Dbbrain::V20210527::ScoreDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::ScoreDetail
- Defined in:
- lib/v20210527/models.rb
Overview
扣分详情。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(issuetype = nil, scorelost = nil, scorelostmax = nil, items = nil) ⇒ ScoreDetail
constructor
A new instance of ScoreDetail.
Constructor Details
#initialize(issuetype = nil, scorelost = nil, scorelostmax = nil, items = nil) ⇒ ScoreDetail
Returns a new instance of ScoreDetail.
7197 7198 7199 7200 7201 7202 |
# File 'lib/v20210527/models.rb', line 7197 def initialize(issuetype=nil, scorelost=nil, scorelostmax=nil, items=nil) @IssueType = issuetype @ScoreLost = scorelost @ScoreLostMax = scorelostmax @Items = items end |
Instance Attribute Details
#IssueType ⇒ Object
7195 7196 7197 |
# File 'lib/v20210527/models.rb', line 7195 def IssueType @IssueType end |
#Items ⇒ Object
7195 7196 7197 |
# File 'lib/v20210527/models.rb', line 7195 def Items @Items end |
#ScoreLost ⇒ Object
7195 7196 7197 |
# File 'lib/v20210527/models.rb', line 7195 def ScoreLost @ScoreLost end |
#ScoreLostMax ⇒ Object
7195 7196 7197 |
# File 'lib/v20210527/models.rb', line 7195 def ScoreLostMax @ScoreLostMax end |
Instance Method Details
#deserialize(params) ⇒ Object
7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 |
# File 'lib/v20210527/models.rb', line 7204 def deserialize(params) @IssueType = params['IssueType'] @ScoreLost = params['ScoreLost'] @ScoreLostMax = params['ScoreLostMax'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| scoreitem_tmp = ScoreItem.new scoreitem_tmp.deserialize(i) @Items << scoreitem_tmp end end end |