lib/purecloudplatformclientv2/models/evaluation_question.rb in purecloudplatformclientv2-68.0.0 vs lib/purecloudplatformclientv2/models/evaluation_question.rb in purecloudplatformclientv2-69.0.0
- old
+ new
@@ -33,14 +33,14 @@
attr_accessor :visibility_condition
# Options from which to choose an answer for this question. Only used by Multiple Choice type questions.
attr_accessor :answer_options
- attr_accessor :is_kill
-
attr_accessor :is_critical
+ attr_accessor :is_kill
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'id' => :'id',
@@ -57,13 +57,13 @@
:'visibility_condition' => :'visibilityCondition',
:'answer_options' => :'answerOptions',
- :'is_kill' => :'isKill',
+ :'is_critical' => :'isCritical',
- :'is_critical' => :'isCritical'
+ :'is_kill' => :'isKill'
}
end
# Attribute type mapping.
@@ -84,13 +84,13 @@
:'visibility_condition' => :'VisibilityCondition',
:'answer_options' => :'Array<AnswerOption>',
- :'is_kill' => :'BOOLEAN',
+ :'is_critical' => :'BOOLEAN',
- :'is_critical' => :'BOOLEAN'
+ :'is_kill' => :'BOOLEAN'
}
end
# Initializes the object
@@ -174,23 +174,23 @@
end
- if attributes.has_key?(:'isKill')
+ if attributes.has_key?(:'isCritical')
- self.is_kill = attributes[:'isKill']
+ self.is_critical = attributes[:'isCritical']
end
- if attributes.has_key?(:'isCritical')
+ if attributes.has_key?(:'isKill')
- self.is_critical = attributes[:'isCritical']
+ self.is_kill = attributes[:'isKill']
end
@@ -327,12 +327,12 @@
type == o.type &&
na_enabled == o.na_enabled &&
comments_required == o.comments_required &&
visibility_condition == o.visibility_condition &&
answer_options == o.answer_options &&
- is_kill == o.is_kill &&
- is_critical == o.is_critical
+ is_critical == o.is_critical &&
+ is_kill == o.is_kill
end
# @see the `==` method
# @param [Object] Object to be compared
def eql?(o)
@@ -340,10 +340,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [id, text, help_text, type, na_enabled, comments_required, visibility_condition, answer_options, is_kill, is_critical].hash
+ [id, text, help_text, type, na_enabled, comments_required, visibility_condition, answer_options, is_critical, is_kill].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)