original_string: private function createOrUpdateLeadsCommand($action, $leads, $lookupField, $args, $returnRaw = false)
      {
          $args['input'] = $leads;
          $args['action'] = $action;
  
          if (isset($lookupField)) {
              $args['lookupField'] = $lookupField;
          }
  
          return $this->getResult('createOrUpdateLeads', $args, false, $returnRaw);
      }
code: private function createOrUpdateLeadsCommand($action, $leads, $lookupField, $args, $returnRaw = false)
      {
          $args['input'] = $leads;
          $args['action'] = $action;
  
          if (isset($lookupField)) {
              $args['lookupField'] = $lookupField;
          }
  
          return $this->getResult('createOrUpdateLeads', $args, false, $returnRaw);
      }
code_tokens: private function createOrUpdateLeadsCommand ( $ action , $ leads , $ lookupField , $ args , $ returnRaw = false ) { $ args [ 'input' ] = $ leads ; $ args [ 'action' ] = $ action ; if ( isset ( $ lookupField ) ) { $ args [ 'lookupField' ] = $ lookupField ; } return $ this -> getResult ( 'createOrUpdateLeads' , $ args , false , $ returnRaw ) ; }
docstring: Calls the CreateOrUpdateLeads command with the given action.
  
  @param string $action
  @param array  $leads
  @param string $lookupField
  @param array  $args
  
  @see Client::createLeads()
  @see Client::createOrUpdateLeads()
  @see Client::updateLeads()
  @see Client::createDuplicateLeads()
  
  @link http://developers.marketo.com/documentation/rest/createupdate-leads/
  
  @return CreateOrUpdateLeadsResponse
docstring_tokens: Calls the CreateOrUpdateLeads command with the given action .