lib/fastly/models/realtime_entry.rb in fastly-4.0.0.alpha4 vs lib/fastly/models/realtime_entry.rb in fastly-4.0.0

- old
+ new

@@ -47,12 +47,10 @@ end # List of attributes with nullable: true def self.fastly_nullable Set.new([ - :'recorded', - :'aggregated', ]) end # Initializes the object # @param [Hash] attributes Model attributes in the form of hash @@ -72,9 +70,12 @@ if attributes.key?(:'recorded') self.recorded = attributes[:'recorded'] end if attributes.key?(:'aggregated') + if (value = attributes[:'aggregated']).is_a?(Hash) + self.aggregated = value + end self.aggregated = attributes[:'aggregated'] end if attributes.key?(:'datacenter') if (value = attributes[:'datacenter']).is_a?(Hash)