def list_recommendations_as_lazy(parameters, custom_headers:nil)
      response = list_recommendations_async(parameters, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_recommendations_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
def list_recommendations_as_lazy(parameters, custom_headers:nil)
      response = list_recommendations_async(parameters, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_recommendations_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
Get domain name recommendations based on keywords.

 Get domain name recommendations based on keywords.

 @param parameters [DomainRecommendationSearchParameters] Search parameters
 for domain name recommendations.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [NameIdentifierCollection] which provide lazy access to pages of the
 response.