lib/algolia/models/insights/viewed_object_ids.rb in algolia-3.10.2 vs lib/algolia/models/insights/viewed_object_ids.rb in algolia-3.11.0
- old
+ new
@@ -38,12 +38,15 @@
:authenticated_user_token => :authenticatedUserToken,
:timestamp => :timestamp
}
end
- # Returns all the JSON keys this model knows about
- def self.acceptable_attributes
- attribute_map.values
+ # Returns the keys that uniquely identify this oneOf variant when present
+ def self.discriminator_attributes
+ [
+ :eventType,
+ :objectIDs
+ ]
end
# Attribute type mapping.
def self.types_mapping
{