forked from alexjustesen/speedtest-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNotificationSettings.php
More file actions
47 lines (27 loc) · 898 Bytes
/
NotificationSettings.php
File metadata and controls
47 lines (27 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
namespace App\Settings;
use Spatie\LaravelSettings\Settings;
class NotificationSettings extends Settings
{
public bool $database_enabled;
public bool $database_on_speedtest_run;
public bool $database_on_threshold_failure;
public bool $mail_enabled;
public bool $mail_on_speedtest_run;
public bool $mail_on_threshold_failure;
public ?array $mail_recipients;
public bool $webhook_enabled;
public bool $webhook_on_speedtest_run;
public bool $webhook_on_threshold_failure;
public ?array $webhook_urls;
public bool $apprise_enabled;
public ?string $apprise_server_url;
public bool $apprise_on_speedtest_run;
public bool $apprise_on_threshold_failure;
public bool $apprise_verify_ssl;
public ?array $apprise_channel_urls;
public static function group(): string
{
return 'notification';
}
}