lib/algolia/models/search/snippet_result_option.rb in algolia-3.10.2 vs lib/algolia/models/search/snippet_result_option.rb in algolia-3.11.0

- old
+ new

@@ -18,12 +18,14 @@ :value => :value, :match_level => :matchLevel } 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 + [ + :matchLevel + ] end # Attribute type mapping. def self.types_mapping {