32 lines
560 B
PHP
32 lines
560 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2024 F7cloud GmbH and F7cloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCA\Mail\Cache;
|
|
|
|
final class HordeSyncToken {
|
|
public function __construct(
|
|
private ?int $nextUid,
|
|
private ?int $uidValidity,
|
|
private ?int $highestModSeq,
|
|
) {
|
|
}
|
|
|
|
public function getNextUid(): ?int {
|
|
return $this->nextUid;
|
|
}
|
|
|
|
public function getUidValidity(): ?int {
|
|
return $this->uidValidity;
|
|
}
|
|
|
|
public function getHighestModSeq(): ?int {
|
|
return $this->highestModSeq;
|
|
}
|
|
}
|