aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Status/Status.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/CalDAV/Status/Status.php')
-rw-r--r--apps/dav/lib/CalDAV/Status/Status.php17
1 files changed, 15 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/Status/Status.php b/apps/dav/lib/CalDAV/Status/Status.php
index d1c35002fcd..da08d3fe285 100644
--- a/apps/dav/lib/CalDAV/Status/Status.php
+++ b/apps/dav/lib/CalDAV/Status/Status.php
@@ -26,8 +26,7 @@
namespace OCA\DAV\CalDAV\Status;
class Status {
-
- public function __construct(private string $status = '', private ?string $message = null, private ?string $customMessage = null) {
+ public function __construct(private string $status = '', private ?string $message = null, private ?string $customMessage = null, private ?int $timestamp = null, private ?string $customEmoji = null) {
}
public function getStatus(): string {
@@ -54,5 +53,19 @@ class Status {
$this->customMessage = $customMessage;
}
+ public function setEndTime(?int $timestamp): void {
+ $this->timestamp = $timestamp;
+ }
+
+ public function getEndTime(): ?int {
+ return $this->timestamp;
+ }
+ public function getCustomEmoji(): ?string {
+ return $this->customEmoji;
+ }
+
+ public function setCustomEmoji(?string $emoji): void {
+ $this->customEmoji = $emoji;
+ }
}