    # File lib/fog/aws/models/compute/addresses.rb, line 57
            def all(filters = filters)
              unless filters.is_a?(Hash)
                Fog::Logger.deprecation("all with #{filters.class} param is deprecated, use all('public-ip' => []) instead [light_black](#{caller.first})[/]")
                filters = {'public-ip' => [*filters]}
              end
              self.filters = filters
              data = connection.describe_addresses(filters).body
              load(
                data['addressesSet'].map do |address|
                  address.reject {|key, value| value.nil? || value.empty? }
                end
              )
              if server
                self.replace(self.select {|address| address.server_id == server.id})
              end
              self
            end