Skip to content

Commit 440d2bd

Browse files
Merge pull request #268 from HubSpot/feature/regenerateGdprClasses
regenerate Taxes, Goals(Codegen Only)
2 parents 8e56508 + 2056bfa commit 440d2bd

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

lib/hubspot/codegen/crm/objects/goals/api/gdpr_api.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ module Hubspot
1616
module Crm
1717
module Objects
1818
module Goals
19-
class GDPRApi
19+
class GdprApi
2020
attr_accessor :api_client
2121

2222
def initialize(api_client = ApiClient.default)
2323
@api_client = api_client
2424
end
25-
# GDPR DELETE
26-
# Permanently delete a contact and all associated content to follow GDPR. Use optional property 'idProperty' set to 'email' to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.
25+
# Gdpr DELETE
26+
# Permanently delete a contact and all associated content to follow Gdpr. Use optional property 'idProperty' set to 'email' to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.
2727
# @param public_gdpr_delete_input [PublicGdprDeleteInput]
2828
# @param [Hash] opts the optional parameters
2929
# @return [nil]
@@ -32,18 +32,18 @@ def purge(public_gdpr_delete_input, opts = {})
3232
nil
3333
end
3434

35-
# GDPR DELETE
36-
# Permanently delete a contact and all associated content to follow GDPR. Use optional property 'idProperty' set to 'email' to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.
35+
# Gdpr DELETE
36+
# Permanently delete a contact and all associated content to follow Gdpr. Use optional property 'idProperty' set to 'email' to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.
3737
# @param public_gdpr_delete_input [PublicGdprDeleteInput]
3838
# @param [Hash] opts the optional parameters
3939
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4040
def purge_with_http_info(public_gdpr_delete_input, opts = {})
4141
if @api_client.config.debugging
42-
@api_client.config.logger.debug 'Calling API: GDPRApi.purge ...'
42+
@api_client.config.logger.debug 'Calling API: GdprApi.purge ...'
4343
end
4444
# verify the required parameter 'public_gdpr_delete_input' is set
4545
if @api_client.config.client_side_validation && public_gdpr_delete_input.nil?
46-
fail ArgumentError, "Missing the required parameter 'public_gdpr_delete_input' when calling GDPRApi.purge"
46+
fail ArgumentError, "Missing the required parameter 'public_gdpr_delete_input' when calling GdprApi.purge"
4747
end
4848
# resource path
4949
local_var_path = '/crm/v3/objects/goal_targets/gdpr-delete'
@@ -74,7 +74,7 @@ def purge_with_http_info(public_gdpr_delete_input, opts = {})
7474
auth_names = opts[:debug_auth_names] || []
7575

7676
new_options = opts.merge(
77-
:operation => :"GDPRApi.purge",
77+
:operation => :"GdprApi.purge",
7878
:header_params => header_params,
7979
:query_params => query_params,
8080
:form_params => form_params,
@@ -85,7 +85,7 @@ def purge_with_http_info(public_gdpr_delete_input, opts = {})
8585

8686
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
8787
if @api_client.config.debugging
88-
@api_client.config.logger.debug "API called: GDPRApi#purge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88+
@api_client.config.logger.debug "API called: GdprApi#purge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8989
end
9090
return data, status_code, headers
9191
end

lib/hubspot/codegen/crm/objects/taxes/api/gdpr_api.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ module Hubspot
1616
module Crm
1717
module Objects
1818
module Taxes
19-
class GDPRApi
19+
class GdprApi
2020
attr_accessor :api_client
2121

2222
def initialize(api_client = ApiClient.default)
2323
@api_client = api_client
2424
end
25-
# GDPR DELETE
26-
# Permanently delete a contact and all associated content to follow GDPR. Use optional property 'idProperty' set to 'email' to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.
25+
# Gdpr DELETE
26+
# Permanently delete a contact and all associated content to follow Gdpr. Use optional property 'idProperty' set to 'email' to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.
2727
# @param public_gdpr_delete_input [PublicGdprDeleteInput]
2828
# @param [Hash] opts the optional parameters
2929
# @return [nil]
@@ -32,18 +32,18 @@ def purge(public_gdpr_delete_input, opts = {})
3232
nil
3333
end
3434

35-
# GDPR DELETE
36-
# Permanently delete a contact and all associated content to follow GDPR. Use optional property &#39;idProperty&#39; set to &#39;email&#39; to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.
35+
# Gdpr DELETE
36+
# Permanently delete a contact and all associated content to follow Gdpr. Use optional property &#39;idProperty&#39; set to &#39;email&#39; to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.
3737
# @param public_gdpr_delete_input [PublicGdprDeleteInput]
3838
# @param [Hash] opts the optional parameters
3939
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4040
def purge_with_http_info(public_gdpr_delete_input, opts = {})
4141
if @api_client.config.debugging
42-
@api_client.config.logger.debug 'Calling API: GDPRApi.purge ...'
42+
@api_client.config.logger.debug 'Calling API: GdprApi.purge ...'
4343
end
4444
# verify the required parameter 'public_gdpr_delete_input' is set
4545
if @api_client.config.client_side_validation && public_gdpr_delete_input.nil?
46-
fail ArgumentError, "Missing the required parameter 'public_gdpr_delete_input' when calling GDPRApi.purge"
46+
fail ArgumentError, "Missing the required parameter 'public_gdpr_delete_input' when calling GdprApi.purge"
4747
end
4848
# resource path
4949
local_var_path = '/crm/v3/objects/taxes/gdpr-delete'
@@ -74,7 +74,7 @@ def purge_with_http_info(public_gdpr_delete_input, opts = {})
7474
auth_names = opts[:debug_auth_names] || ['oauth2']
7575

7676
new_options = opts.merge(
77-
:operation => :"GDPRApi.purge",
77+
:operation => :"GdprApi.purge",
7878
:header_params => header_params,
7979
:query_params => query_params,
8080
:form_params => form_params,
@@ -85,7 +85,7 @@ def purge_with_http_info(public_gdpr_delete_input, opts = {})
8585

8686
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
8787
if @api_client.config.debugging
88-
@api_client.config.logger.debug "API called: GDPRApi#purge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88+
@api_client.config.logger.debug "API called: GdprApi#purge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8989
end
9090
return data, status_code, headers
9191
end

0 commit comments

Comments
 (0)