Method: PureCloud::QuestionGroupScore#==

Defined in:
lib/purecloud/models/question_group_score.rb

#==(o) ⇒ Object

Check equality by comparing each attribute.



146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/purecloud/models/question_group_score.rb', line 146

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      question_group_id == o.question_group_id &&
      total_score == o.total_score &&
      max_total_score == o.max_total_score &&
      total_critical_score == o.total_critical_score &&
      max_total_critical_score == o.max_total_critical_score &&
      total_score_unweighted == o.total_score_unweighted &&
      max_total_score_unweighted == o.max_total_score_unweighted &&
      total_critical_score_unweighted == o.total_critical_score_unweighted &&
      max_total_critical_score_unweighted == o.max_total_critical_score_unweighted &&
      marked_na == o.marked_na &&
      question_scores == o.question_scores
end