mirror of
https://github.com/nextcloud/mail.git
synced 2026-01-13 20:23:59 +00:00
32 lines
564 B
PHP
32 lines
564 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud 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;
|
|
}
|
|
}
|