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
93 lines (50 loc) · 1.81 KB
/
NotificationSettings.php
File metadata and controls
93 lines (50 loc) · 1.81 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?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 $telegram_enabled;
public bool $telegram_disable_notification;
public bool $telegram_on_speedtest_run;
public bool $telegram_on_threshold_failure;
public ?array $telegram_recipients;
public bool $webhook_enabled;
public bool $webhook_on_speedtest_run;
public bool $webhook_on_threshold_failure;
public ?array $webhook_urls;
public bool $discord_enabled;
public bool $discord_on_speedtest_run;
public bool $discord_on_threshold_failure;
public ?array $discord_webhooks;
public bool $ntfy_enabled;
public bool $ntfy_on_speedtest_run;
public bool $ntfy_on_threshold_failure;
public ?array $ntfy_webhooks;
public bool $pushover_enabled;
public bool $pushover_on_speedtest_run;
public bool $pushover_on_threshold_failure;
public ?array $pushover_webhooks;
public bool $healthcheck_enabled;
public bool $healthcheck_on_speedtest_run;
public bool $healthcheck_on_threshold_failure;
public ?array $healthcheck_webhooks;
public bool $slack_enabled;
public bool $slack_on_speedtest_run;
public bool $slack_on_threshold_failure;
public ?array $slack_webhooks;
public bool $gotify_enabled;
public bool $gotify_on_speedtest_run;
public bool $gotify_on_threshold_failure;
public ?array $gotify_webhooks;
public static function group(): string
{
return 'notification';
}
}