NotificationSettings
in package
implements
JsonSerializable
Class NotificationSettings
Tags
Table of Contents
Interfaces
- JsonSerializable
Constants
- NEW_REPORTS_AVAILABLE = "newReportsAvailable"
- NO_DATA_RECEIVED = "noDataReceived"
- NOTIFICATION_SETTINGS = [self::NEW_REPORTS_AVAILABLE, self::THRESHOLD_ALMOST_REACHED, self::THRESHOLD_IS_REACHED, self::TOO_MANY_UNREAD_NOTIFICATIONS, self::YEARLY_ENTRIES_ADDED, self::NO_DATA_RECEIVED, self::QUALITY_CONTROL_DONE]
- QUALITY_CONTROL_DONE = "qualityControlDone"
- THRESHOLD_ALMOST_REACHED = "thresholdAlmostReached"
- THRESHOLD_IS_REACHED = "thresholdIsReached"
- TOO_MANY_UNREAD_NOTIFICATIONS = "tooManyUnreadNotifications"
- YEARLY_ENTRIES_ADDED = "yearlyEntriesAdded"
Properties
- $client : Client
- $id : int|null
- $newReportsAvailable : bool|null
- $noDataReceived : bool|null
- $qualityControlDone : bool|null
- $thresholdAlmostReached : bool|null
- $thresholdIsReached : bool|null
- $tooManyUnreadNotifications : bool|null
- $yearlyEntriesAdded : bool|null
Methods
- getClient() : Client
- getId() : int|null
- getNewReportsAvailable() : bool|null
- getNoDataReceived() : bool|null
- getQualityControlDone() : bool|null
- getThresholdAlmostReached() : bool|null
- getThresholdIsReached() : bool|null
- getTooManyUnreadNotifications() : bool|null
- getYearlyEntriesAdded() : bool|null
- isEnabledFor() : bool
- jsonSerialize() : mixed
- setClient() : void
- setId() : void
- setNewReportsAvailable() : void
- setNoDataReceived() : void
- setQualityControlDone() : void
- setThresholdAlmostReached() : void
- setThresholdIsReached() : void
- setTooManyUnreadNotifications() : void
- setYearlyEntriesAdded() : void
Constants
NEW_REPORTS_AVAILABLE
public
mixed
NEW_REPORTS_AVAILABLE
= "newReportsAvailable"
NO_DATA_RECEIVED
public
mixed
NO_DATA_RECEIVED
= "noDataReceived"
NOTIFICATION_SETTINGS
public
mixed
NOTIFICATION_SETTINGS
= [self::NEW_REPORTS_AVAILABLE, self::THRESHOLD_ALMOST_REACHED, self::THRESHOLD_IS_REACHED, self::TOO_MANY_UNREAD_NOTIFICATIONS, self::YEARLY_ENTRIES_ADDED, self::NO_DATA_RECEIVED, self::QUALITY_CONTROL_DONE]
QUALITY_CONTROL_DONE
public
mixed
QUALITY_CONTROL_DONE
= "qualityControlDone"
THRESHOLD_ALMOST_REACHED
public
mixed
THRESHOLD_ALMOST_REACHED
= "thresholdAlmostReached"
THRESHOLD_IS_REACHED
public
mixed
THRESHOLD_IS_REACHED
= "thresholdIsReached"
TOO_MANY_UNREAD_NOTIFICATIONS
public
mixed
TOO_MANY_UNREAD_NOTIFICATIONS
= "tooManyUnreadNotifications"
YEARLY_ENTRIES_ADDED
public
mixed
YEARLY_ENTRIES_ADDED
= "yearlyEntriesAdded"
Properties
$client
private
Client
$client
Tags
$id
private
int|null
$id
Tags
$newReportsAvailable
private
bool|null
$newReportsAvailable
= false
Tags
$noDataReceived
private
bool|null
$noDataReceived
= false
Tags
$qualityControlDone
private
bool|null
$qualityControlDone
= false
Tags
$thresholdAlmostReached
private
bool|null
$thresholdAlmostReached
= false
Tags
$thresholdIsReached
private
bool|null
$thresholdIsReached
= false
Tags
$tooManyUnreadNotifications
private
bool|null
$tooManyUnreadNotifications
= false
Tags
$yearlyEntriesAdded
private
bool|null
$yearlyEntriesAdded
= false
Tags
Methods
getClient()
public
getClient() : Client
Return values
ClientgetId()
public
getId() : int|null
Return values
int|nullgetNewReportsAvailable()
public
getNewReportsAvailable() : bool|null
Return values
bool|nullgetNoDataReceived()
public
getNoDataReceived() : bool|null
Return values
bool|nullgetQualityControlDone()
public
getQualityControlDone() : bool|null
Return values
bool|nullgetThresholdAlmostReached()
public
getThresholdAlmostReached() : bool|null
Return values
bool|nullgetThresholdIsReached()
public
getThresholdIsReached() : bool|null
Return values
bool|nullgetTooManyUnreadNotifications()
public
getTooManyUnreadNotifications() : bool|null
Return values
bool|nullgetYearlyEntriesAdded()
public
getYearlyEntriesAdded() : bool|null
Return values
bool|nullisEnabledFor()
public
isEnabledFor(string $notification) : bool
Parameters
- $notification : string
Return values
booljsonSerialize()
public
jsonSerialize() : mixed
setClient()
public
setClient(Client $client) : void
Parameters
- $client : Client
setId()
public
setId(int|null $id) : void
Parameters
- $id : int|null
setNewReportsAvailable()
public
setNewReportsAvailable(bool|null $newReportsAvailable) : void
Parameters
- $newReportsAvailable : bool|null
setNoDataReceived()
public
setNoDataReceived(bool|null $noDataReceived) : void
Parameters
- $noDataReceived : bool|null
setQualityControlDone()
public
setQualityControlDone(bool|null $qualityControlDone) : void
Parameters
- $qualityControlDone : bool|null
setThresholdAlmostReached()
public
setThresholdAlmostReached(bool|null $thresholdAlmostReached) : void
Parameters
- $thresholdAlmostReached : bool|null
setThresholdIsReached()
public
setThresholdIsReached(bool|null $thresholdIsReached) : void
Parameters
- $thresholdIsReached : bool|null
setTooManyUnreadNotifications()
public
setTooManyUnreadNotifications(bool|null $tooManyUnreadNotifications) : void
Parameters
- $tooManyUnreadNotifications : bool|null
setYearlyEntriesAdded()
public
setYearlyEntriesAdded(bool|null $yearlyEntriesAdded) : void
Parameters
- $yearlyEntriesAdded : bool|null