<?php

namespace App\Integrations\Majestic;

class Response
{
    private $url;
    private $tf;
    private $cf;

    private function __construct()
    {
    }

    public static function from(string $url, int $tf, int $cf)
    {
        $response = new self();

        $response->url = $url;
        $response->tf = $tf;
        $response->cf = $cf;

        return $response;
    }

    public function getUrl(): string
    {
        return $this->url;
    }

    public function getTf(): int
    {
        return $this->tf;
    }

    public function getCf(): int
    {
        return $this->cf;
    }
}
