docs: public com.squareup.okhttp.Call postUiAutopilotWaypointCall(Boolean addToBeginning, Boolean clearOtherWaypoints,
              Long destinationId, String datasource, String token, final ApiCallback callback) throws ApiException {
          Object localVarPostBody = new Object();
  
          // create path and map variables
          String localVarPath = "/v2/ui/autopilot/waypoint/";
  
          List<Pair> localVarQueryParams = new ArrayList<Pair>();
          List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
          if (addToBeginning != null) {
              localVarQueryParams.addAll(apiClient.parameterToPair("add_to_beginning", addToBeginning));
          }
  
          if (clearOtherWaypoints != null) {
              localVarQueryParams.addAll(apiClient.parameterToPair("clear_other_waypoints", clearOtherWaypoints));
          }
  
          if (datasource != null) {
              localVarQueryParams.addAll(apiClient.parameterToPair("datasource", datasource));
          }
  
          if (destinationId != null) {
              localVarQueryParams.addAll(apiClient.parameterToPair("destination_id", destinationId));
          }
  
          if (token != null) {
              localVarQueryParams.addAll(apiClient.parameterToPair("token", token));
          }
  
          Map<String, String> localVarHeaderParams = new HashMap<String, String>();
          Map<String, Object> localVarFormParams = new HashMap<String, Object>();
          final String[] localVarAccepts = {
  
          };
          final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
          if (localVarAccept != null) {
              localVarHeaderParams.put("Accept", localVarAccept);
          }
  
          final String[] localVarContentTypes = {
  
          };
          final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
          localVarHeaderParams.put("Content-Type", localVarContentType);
  
          String[] localVarAuthNames = new String[] { "evesso" };
          return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams,
                  localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, callback);
      }