Skip to content

Commit

Permalink
fix(specs): saveRule response type [skip-bc] (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4170

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Nov 26, 2024
1 parent 7158ced commit 617ccb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 240 deletions.
4 changes: 2 additions & 2 deletions lib/algolia/api/search_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2360,10 +2360,10 @@ def save_rule_with_http_info(index_name, object_id, rule, forward_to_replicas =
# @param rule [Rule] (required)
# @param forward_to_replicas [Boolean] Whether changes are applied to replica indices.
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
# @return [UpdatedRuleResponse]
# @return [UpdatedAtResponse]
def save_rule(index_name, object_id, rule, forward_to_replicas = nil, request_options = {})
response = save_rule_with_http_info(index_name, object_id, rule, forward_to_replicas, request_options)
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Search::UpdatedRuleResponse")
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Search::UpdatedAtResponse")
end

# Create or update multiple rules. If a rule with the specified object ID doesn't exist, Algolia creates a new one. Otherwise, existing rules are replaced. This operation is subject to [indexing rate limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
Expand Down
238 changes: 0 additions & 238 deletions lib/algolia/models/search/updated_rule_response.rb

This file was deleted.

0 comments on commit 617ccb7

Please sign in to comment.