private function __construct($totalCount, array $items)
{
Assert::integer($totalCount);
Assert::isArray($items);
Assert::allIsInstanceOf($items, 'Mailgun\\Resource\\Api\\Domain\\CredentialResponseItem');
$this->totalCount = $totalCount;
$this->items = $items;
}