1: <?php
2:
3: declare(strict_types=1);
4:
5: /*
6: * This file has been auto generated by Jane,
7: *
8: * Do no edit it directly.
9: */
10:
11: namespace NxSys\Library\Clients\Brex\API\Webhooks\Model;
12:
13: class UpdateWebhookSubscriptionRequest extends \ArrayObject
14: {
15: /**
16: * @var array
17: */
18: protected $initialized = [];
19:
20: public function isInitialized($property): bool
21: {
22: return array_key_exists($property, $this->initialized);
23: }
24: /**
25: * @var string
26: */
27: protected $url;
28: /**
29: * @var string[]
30: */
31: protected $eventTypes;
32: /**
33: * @var string
34: */
35: protected $status;
36:
37: public function getUrl(): string
38: {
39: return $this->url;
40: }
41:
42: public function setUrl(string $url): self
43: {
44: $this->initialized['url'] = true;
45: $this->url = $url;
46:
47: return $this;
48: }
49:
50: /**
51: * @return string[]
52: */
53: public function getEventTypes(): array
54: {
55: return $this->eventTypes;
56: }
57:
58: /**
59: * @param string[] $eventTypes
60: */
61: public function setEventTypes(array $eventTypes): self
62: {
63: $this->initialized['eventTypes'] = true;
64: $this->eventTypes = $eventTypes;
65:
66: return $this;
67: }
68:
69: public function getStatus(): string
70: {
71: return $this->status;
72: }
73:
74: public function setStatus(string $status): self
75: {
76: $this->initialized['status'] = true;
77: $this->status = $status;
78:
79: return $this;
80: }
81: }
82: