public function __construct()
{
$num_args = func_num_args();
if ($num_args === 1) {
$parameters = func_get_args();
$client = $parameters[0];
$this->email = $client->email;
$this->auth_key = $client->auth_key;
$this->curl_options = $client->curl_options;
} elseif ($num_args === 2) {
$parameters = func_get_args();
$this->email = $parameters[0];
$this->auth_key = $parameters[1];
}
}