diff options
Diffstat (limited to 'lib/public/User/IOutOfOfficeData.php')
-rw-r--r-- | lib/public/User/IOutOfOfficeData.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/public/User/IOutOfOfficeData.php b/lib/public/User/IOutOfOfficeData.php index c3a5bf90184..e3a4e2773bb 100644 --- a/lib/public/User/IOutOfOfficeData.php +++ b/lib/public/User/IOutOfOfficeData.php @@ -22,6 +22,8 @@ use OCP\IUser; * endDate: int, * shortMessage: string, * message: string, + * replacementUserId: ?string, + * replacementUserDisplayName: ?string * } * * @since 28.0.0 @@ -70,6 +72,20 @@ interface IOutOfOfficeData extends JsonSerializable { public function getMessage(): string; /** + * Get the replacement user id for auto responders and similar + * + * @since 30.0.0 + */ + public function getReplacementUserId(): ?string; + + /** + * Get the replacement user displayName for auto responders and similar + * + * @since 30.0.0 + */ + public function getReplacementUserDisplayName(): ?string; + + /** * @return OutOfOfficeData * * @since 28.0.0 |