HEX
Server: LiteSpeed
System: Linux node612.namehero.net 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: dfwparty (1186)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //home/dfwparty/dfwblogger.com/wp-content/mu-plugins/wp-toolkit/Common/Models/ApiToken.php
<?php
// Copyright 1999-2026. WebPros International GmbH. All rights reserved.

namespace Webpros\WptkWpPlugin\WpToolkit\Common\Models;

class ApiToken
{
    /**
     * @var int
     */
    private $installationId;

    /**
     * @var string
     */
    private $apiUrl;

    /**
     * @var ?string
     */
    private $analyticsId;

    /**
     * @var float
     */
    private $notBefore;

    /**
     * @param int     $installationId
     * @param string  $apiUrl
     * @param ?string $analyticsId
     * @param float   $notBefore
     */
    public function __construct(
        $installationId,
        $apiUrl,
        $analyticsId,
        $notBefore
    ) {
        $this->installationId = $installationId;
        $this->apiUrl = $apiUrl;
        $this->analyticsId = $analyticsId;
        $this->notBefore = $notBefore;
    }

    /**
     * @return int
     */
    public function getInstallationId()
    {
        return $this->installationId;
    }

    /**
     * @return string
     */
    public function getApiUrl()
    {
        return $this->apiUrl;
    }

    /**
     * @return ?string
     */
    public function getAnalyticsId()
    {
        return $this->analyticsId;
    }

    /**
     * @return float
     */
    public function getNotBefore()
    {
        return $this->notBefore;
    }
}