@@ -26,6 +26,7 @@ def initialize(api_client = ApiClient.default)
2626 # @param [Hash] opts the optional parameters
2727 # @return [CreateLookupResponse]
2828 def create_lookup ( account_id , lookup_request , opts = { } )
29+ warn '[DEPRECATION NOTICE] `create_lookup` is deprecated.'
2930 data , _status_code , _headers = create_lookup_with_http_info ( account_id , lookup_request , opts )
3031 data
3132 end
@@ -37,6 +38,7 @@ def create_lookup(account_id, lookup_request, opts = {})
3738 # @param [Hash] opts the optional parameters
3839 # @return [Array<(CreateLookupResponse, Integer, Hash)>] CreateLookupResponse data, response status code and response headers
3940 def create_lookup_with_http_info ( account_id , lookup_request , opts = { } )
41+ warn '[DEPRECATION NOTICE] `create_lookup_with_http_info` is deprecated.'
4042 if @api_client . config . debugging
4143 @api_client . config . logger . debug 'Calling API: PhoneNumberLookupApi.create_lookup ...'
4244 end
@@ -100,6 +102,7 @@ def create_lookup_with_http_info(account_id, lookup_request, opts = {})
100102 # @param [Hash] opts the optional parameters
101103 # @return [LookupStatus]
102104 def get_lookup_status ( account_id , request_id , opts = { } )
105+ warn '[DEPRECATION NOTICE] `get_lookup_status` is deprecated.'
103106 data , _status_code , _headers = get_lookup_status_with_http_info ( account_id , request_id , opts )
104107 data
105108 end
@@ -111,6 +114,7 @@ def get_lookup_status(account_id, request_id, opts = {})
111114 # @param [Hash] opts the optional parameters
112115 # @return [Array<(LookupStatus, Integer, Hash)>] LookupStatus data, response status code and response headers
113116 def get_lookup_status_with_http_info ( account_id , request_id , opts = { } )
117+ warn '[DEPRECATION NOTICE] `get_lookup_status_with_http_info` is deprecated.'
114118 if @api_client . config . debugging
115119 @api_client . config . logger . debug 'Calling API: PhoneNumberLookupApi.get_lookup_status ...'
116120 end
0 commit comments