code: public ApiResponse<List<String>> getVersionsWithHttpInfo(String userAgent, String xUserAgent) throws ApiException {
          com.squareup.okhttp.Call call = getVersionsValidateBeforeCall(userAgent, xUserAgent, null);
          Type localVarReturnType = new TypeToken<List<String>>() {
          }.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: List versions List all endpoint versions
  
  @param userAgent
  Client identifier, takes precedence over headers (optional)
  @param xUserAgent
  Client identifier, takes precedence over User-Agent (optional)
  @return ApiResponse&lt;List&lt;String&gt;&gt;
  @throws ApiException
  If fail to call the API, e.g. server error or cannot
  deserialize the response body