code: @Override
      public SupportedLanguagePairsResponse getSupportedLanguagePairs(String endpoint) throws HttpRosetteAPIException  {
          if (NAMES_ENDPOINTS.contains(endpoint) && !NAME_DEDUPLICATION_SERVICE_PATH.equals(endpoint)) {
              return sendGetRequest(urlBase + endpoint + SUPPORTED_LANGUAGES_SUBPATH, SupportedLanguagePairsResponse.class);
          } else {
              return null;
          }
      }
docs: Gets the set of language, script codes and transliteration scheme pairs supported by the specified Rosette API
  endpoint.
  
  @param endpoint Rosette API endpoint.
  @return SupportedLanguagePairsResponse
  @throws HttpRosetteAPIException for an error returned from the Rosette API.