1 | <?php declare(strict_types=1); |
||
16 | abstract class WebHook extends AbstractResource implements WebHookInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | protected $id; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $url; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $test_url; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $ping_url; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | protected $name; |
||
42 | |||
43 | /** |
||
44 | * @var array |
||
45 | */ |
||
46 | protected $events; |
||
47 | |||
48 | /** |
||
49 | * @var bool |
||
50 | */ |
||
51 | protected $active; |
||
52 | |||
53 | /** |
||
54 | * @var WebHook\Config |
||
55 | */ |
||
56 | protected $config; |
||
57 | |||
58 | /** |
||
59 | * @var DateTimeInterface |
||
60 | */ |
||
61 | protected $created_at; |
||
62 | |||
63 | /** |
||
64 | * @var DateTimeInterface |
||
65 | */ |
||
66 | protected $updated_at; |
||
67 | |||
68 | /** |
||
69 | * @return int |
||
70 | */ |
||
71 | 4 | public function id(): int |
|
75 | |||
76 | /** |
||
77 | * @return string |
||
78 | */ |
||
79 | 4 | public function url(): string |
|
83 | |||
84 | /** |
||
85 | * @return string |
||
86 | */ |
||
87 | 4 | public function testUrl(): string |
|
91 | |||
92 | /** |
||
93 | * @return string |
||
94 | */ |
||
95 | 4 | public function pingUrl(): string |
|
99 | |||
100 | /** |
||
101 | * @return string |
||
102 | */ |
||
103 | 4 | public function name(): string |
|
107 | |||
108 | /** |
||
109 | * @return array |
||
110 | */ |
||
111 | public function events(): array |
||
115 | |||
116 | /** |
||
117 | * @return bool |
||
118 | */ |
||
119 | 4 | public function active(): bool |
|
123 | |||
124 | /** |
||
125 | * @return WebHook\Config |
||
126 | */ |
||
127 | public function config(): WebHook\Config |
||
131 | |||
132 | /** |
||
133 | * @return DateTimeInterface |
||
134 | */ |
||
135 | public function createdAt(): DateTimeInterface |
||
139 | |||
140 | /** |
||
141 | * @return DateTimeInterface |
||
142 | */ |
||
143 | public function updatedAt(): DateTimeInterface |
||
147 | } |
||
148 |