lib/purecloudplatformclientv2/models/evaluation_form.rb in purecloudplatformclientv2-24.0.0 vs lib/purecloudplatformclientv2/models/evaluation_form.rb in purecloudplatformclientv2-25.0.0
- old
+ new
@@ -22,13 +22,10 @@
attr_accessor :id
# The evaluation form name
attr_accessor :name
- # The form type (evaluation)
- attr_accessor :type
-
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
attr_accessor :modified_date
attr_accessor :published
@@ -48,12 +45,10 @@
:'id' => :'id',
:'name' => :'name',
- :'type' => :'type',
-
:'modified_date' => :'modifiedDate',
:'published' => :'published',
:'context_id' => :'contextId',
@@ -73,12 +68,10 @@
:'id' => :'String',
:'name' => :'String',
- :'type' => :'String',
-
:'modified_date' => :'DateTime',
:'published' => :'BOOLEAN',
:'context_id' => :'String',
@@ -117,19 +110,10 @@
end
- if attributes.has_key?(:'type')
-
-
- self.type = attributes[:'type']
-
-
- end
-
-
if attributes.has_key?(:'modifiedDate')
self.modified_date = attributes[:'modifiedDate']
@@ -211,14 +195,10 @@
- if @type.nil?
- return false
- end
-
@@ -227,15 +207,10 @@
-
-
-
-
-
if @question_groups.nil?
return false
end
@@ -291,23 +266,17 @@
-
-
-
-
-
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
id == o.id &&
name == o.name &&
- type == o.type &&
modified_date == o.modified_date &&
published == o.published &&
context_id == o.context_id &&
question_groups == o.question_groups &&
published_versions == o.published_versions &&
@@ -321,10 +290,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [id, name, type, modified_date, published, context_id, question_groups, published_versions, self_uri].hash
+ [id, name, modified_date, published, context_id, question_groups, published_versions, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)