original_string: public function set($key, $value, $forClientId = null)
  	{
  		$params = array('key' => $key, 'value' => $value);
  		if (is_array($value)) {
  			$params['value'] = json_encode($value);
  		}
  
  		if ($forClientId) {
  			$params['for_client_id'] = $forClientId;
  		}
  
  		return $this->post('settings/set', $params);
  	}
code: public function set($key, $value, $forClientId = null)
  	{
  		$params = array('key' => $key, 'value' => $value);
  		if (is_array($value)) {
  			$params['value'] = json_encode($value);
  		}
  
  		if ($forClientId) {
  			$params['for_client_id'] = $forClientId;
  		}
  
  		return $this->post('settings/set', $params);
  	}
code_tokens: public function set ( $ key , $ value , $ forClientId = null ) { $ params = array ( 'key' => $ key , 'value' => $ value ) ; if ( is_array ( $ value ) ) { $ params [ 'value' ] = json_encode ( $ value ) ; } if ( $ forClientId ) { $ params [ 'for_client_id' ] = $ forClientId ; } return $ this -> post ( 'settings/set' , $ params ) ; }
docstring: Assign a key-value pair for a particular `client_id`. If the key does not
  exist, it will be created. If they key already exists, this call overwrites
  the existing value.
  
  Returns a boolean that indicates whether the key already existed. True
  indicates the key has been overwritten. False indicates that a new key has
  been created.
  
  Note that you cannot use 'settings/set' to modify the application-wide
  default settings.
  
  @param string $key   The key to add or modify
  @param mixed  $value The value to assign to the key
  
  @param string $forClientId The client identifier whose setting will be
  modified. If you do not enter a value for this
  parameter, it defaults to the value of the
  `client_id`, that is, you are modifying the
  settings for your own record
docstring_tokens: Assign a key - value pair for a particular client_id . If the key does not exist it will be created . If they key already exists this call overwrites the existing value .