public function create($params = null) {
		if($params) { $this->_params = array_merge($this->_params, $params); }
		
		$supplied_require_params = array_intersect(array_keys($this->_required_params), array_keys($this->_params));
		if(count($supplied_require_params) != count($this->_required_params)) {
			throw new InvalidArgumentException("The following required param(s) were not supplied -- " . join(',', array_diff(array_keys($this->_required_params), array_keys($this->_params))));
		}
		
		$result = $this->executeCommand($this->_path_for_regex . "_create", $this->_params);
		$this->initialize($result);
	}
public function create($params = null) {
		if($params) { $this->_params = array_merge($this->_params, $params); }
		
		$supplied_require_params = array_intersect(array_keys($this->_required_params), array_keys($this->_params));
		if(count($supplied_require_params) != count($this->_required_params)) {
			throw new InvalidArgumentException("The following required param(s) were not supplied -- " . join(',', array_diff(array_keys($this->_required_params), array_keys($this->_params))));
		}
		
		$result = $this->executeCommand($this->_path_for_regex . "_create", $this->_params);
		$this->initialize($result);
	}
public function create ( $ params = null ) { if ( $ params ) { $ this -> _params = array_merge ( $ this -> _params , $ params ) ; } $ supplied_require_params = array_intersect ( array_keys ( $ this -> _required_params ) , array_keys ( $ this -> _params ) ) ; if ( count ( $ supplied_require_params ) != count ( $ this -> _required_params ) ) { throw new InvalidArgumentException ( "The following required param(s) were not supplied -- " . join ( ',' , array_diff ( array_keys ( $ this -> _required_params ) , array_keys ( $ this -> _params ) ) ) ) ; } $ result = $ this -> executeCommand ( $ this -> _path_for_regex . "_create" , $ this -> _params ) ; $ this -> initialize ( $ result ) ; }
Calls the "Create" or POST method on the API resource represented by the model.

@throws \InvalidArgumentException When invalid parameters are supplied, or when required parameters are ommitted
@param array $params An array of paramters to override in the request.  This will be merged with all existing parameters/properties of this object.
Calls the Create or POST method on the API resource represented by the model .