lib/hubspot/codegen/communication_preferences/api/definition_api.rb in hubspot-api-client-15.0.2 vs lib/hubspot/codegen/communication_preferences/api/definition_api.rb in hubspot-api-client-16.0.0

- old
+ new

@@ -4,11 +4,11 @@ #Subscriptions allow contacts to control what forms of communications they receive. Contacts can decide whether they want to receive communication pertaining to a specific topic, brand, or an entire HubSpot account. The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 4.3.1 +OpenAPI Generator version: 6.2.1 =end require 'cgi' @@ -50,18 +50,19 @@ # form parameters form_params = opts[:form_params] || {} # http body (model) - post_body = opts[:body] + post_body = opts[:debug_body] # return_type - return_type = opts[:return_type] || 'SubscriptionDefinitionsResponse' + return_type = opts[:debug_return_type] || 'SubscriptionDefinitionsResponse' # auth_names - auth_names = opts[:auth_names] || ['hapikey', 'oauth2'] + auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2'] new_options = opts.merge( + :operation => :"DefinitionApi.get_page", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names,