<commit_before><?php
namespace MartKuper\OnePageCRM\Config;

/**
 * Configuration class
 *
 * This class contains all
 *
 * @package onepagecrm-php
 * @author <NAME>
 * @version 0.0.1
 */
class Config
{
	/**
	 * API base URL
	 * @var String
	 */
	private $baseUrl;

	/**
	 * OnePageCRM email
	 * @var String
	 */
	private $email;

	/**
	 * OnePageCRM password
	 * @var String
	 */
	private $password;

	/**
	 * OnePageCRM userId
	 * @var String
	 */
	private $userId;

	/**
	 * Config class constructor
	 *
	 * TODO: Improve documentation
	 * 
	 * @param String $baseUrl  The base url to use. Set to null to use the default value
	 * @param String $email    Your OnePageCRM email
	 * @param String $password Your <PASSWORD>
	 */
	public function __construct($email, $password, $baseUrl = null) 
	{
		if(!$baseUrl) {
			$this->setBaseUrl('https://app.onepagecrm.com/api/v3/');	
		}
		
		$this->setEmail($email);
		$this->setPassword($password);
	}

	/**
	 * Get the base url
	 * @return String Base url
	 */
	public function getBaseUrl()
	{
		return $this->baseUrl;
	}

	/**
	 * Get the user's email
	 * @return String The user's email
	 */
	public function getEmail()
	{
		return $this->email;
	}

	/**
	 * Get the user's password
	 * @return String The user's password
	 */
	public function getPassword()
	{
		return $this->password;
	}

	/**
	 * Get the userId
	 * @return String The userId
	 */
	public function getUserId()
	{
		return $this->userId;
	}

	/**
	 * Set the base url
	 * @param String $baseUrl The base url
	 */
	public function setBaseUrl($baseUrl)
	{
		$this->baseUrl = $baseUrl;
	}

	/**
	 * Set the user's email
	 * @param String $email The user's email
	 */
	public function setEmail($email)
	{
		$this->email = $email;
	}

	/**
	 * Set the user's password
	 * @param String $password The user's password
	 */
	public function setPassword($password)
	{
		$this->password = $password;
	}

	/**
	 * Set the userId
	 * @param string $userId The userId
	 */
	public function setUserId($userId)
	{
		$this->userId = $userId;
	}
}<commit_msg>Added authKey variable<commit_after><?php
namespace MartKuper\OnePageCRM\Config;

/**
 * Configuration class
 *
 * This class contains all
 *
 * @package onepagecrm-php
 * @author <NAME>
 * @version 0.0.1
 */
class Config
{
	/**
	 * API base URL
	 * @var string
	 */
	private $baseUrl;

	/**
	 * OnePageCRM email
	 * @var string
	 */
	private $email;

	/**
	 * OnePageCRM password
	 * @var string
	 */
	private $password;

	/**
	 * OnePageCRM userId
	 * @var string
	 */
	private $userId;

	/**
	 * OnePageCRM authentication key
	 * @var string
	 */
	private $authKey;

	/**
	 * Config class constructor
	 *
	 * TODO: Improve documentation
	 * 
	 * @param string $baseUrl  The base url to use. Set to null to use the default value
	 * @param string $email    Your OnePageCRM email
	 * @param string $password Your <PASSWORD>
	 */
	public function __construct($email, $password, $baseUrl = null) 
	{
		if(!$baseUrl) {
			$this->setBaseUrl('https://app.onepagecrm.com/api/v3/');	
		}
		
		$this->setEmail($email);
		$this->setPassword($password);
	}

	/**
	 * Get the base url
	 * @return string Base url
	 */
	public function getBaseUrl()
	{
		return $this->baseUrl;
	}

	/**
	 * Get the user's email
	 * @return string The user's email
	 */
	public function getEmail()
	{
		return $this->email;
	}

	/**
	 * Get the user's password
	 * @return string The user's password
	 */
	public function getPassword()
	{
		return $this->password;
	}

	/**
	 * Get the userId
	 * @return string The userId
	 */
	public function getUserId()
	{
		return $this->userId;
	}

	/**
	 * Get the authKey
	 * @return string The authKey
	 */
	public function getAuthKey()
	{
		return $this->authKey;
	}

	/**
	 * Set the base url
	 * @param string $baseUrl The base url
	 */
	public function setBaseUrl($baseUrl)
	{
		$this->baseUrl = $baseUrl;
	}

	/**
	 * Set the user's email
	 * @param string $email The user's email
	 */
	public function setEmail($email)
	{
		$this->email = $email;
	}

	/**
	 * Set the user's password
	 * @param string $password The user's password
	 */
	public function setPassword($password)
	{
		$this->password = $password;
	}

	/**
	 * Set the userId
	 * @param string $userId The userId
	 */
	public function setUserId($userId)
	{
		$this->userId = $userId;
	}

	/**
	 * Set the authKey
	 * @param string $authKey The authKey
	 */
	public function setAuthKey($authKey)
	{
		$this->authKey = $authKey;
	}
}
{'fraction_non_alphanumeric': 0.14001341981659585, 'fraction_numerical': 0.0017893088794453142, 'mean_word_length': 2.8718614718614717, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 31, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1838216', 'n_tokens_mistral': 1650, 'n_tokens_neox': 1492, 'n_words': 426}