1: | <?php |
2: | |
3: | declare(strict_types=1); |
4: | |
5: | |
6: | |
7: | |
8: | |
9: | |
10: | |
11: | namespace NxSys\Library\Clients\Brex\API\Team\Model; |
12: | |
13: | class UpdateUserRequest extends \ArrayObject |
14: | { |
15: | |
16: | |
17: | |
18: | protected $initialized = []; |
19: | |
20: | public function isInitialized($property): bool |
21: | { |
22: | return array_key_exists($property, $this->initialized); |
23: | } |
24: | |
25: | |
26: | |
27: | protected $status; |
28: | |
29: | |
30: | |
31: | |
32: | |
33: | protected $managerId; |
34: | |
35: | |
36: | |
37: | protected $departmentId; |
38: | |
39: | |
40: | |
41: | protected $locationId; |
42: | |
43: | public function getStatus(): string |
44: | { |
45: | return $this->status; |
46: | } |
47: | |
48: | public function setStatus(string $status): self |
49: | { |
50: | $this->initialized['status'] = true; |
51: | $this->status = $status; |
52: | |
53: | return $this; |
54: | } |
55: | |
56: | |
57: | |
58: | |
59: | public function getManagerId(): ?string |
60: | { |
61: | return $this->managerId; |
62: | } |
63: | |
64: | |
65: | |
66: | |
67: | public function setManagerId(?string $managerId): self |
68: | { |
69: | $this->initialized['managerId'] = true; |
70: | $this->managerId = $managerId; |
71: | |
72: | return $this; |
73: | } |
74: | |
75: | public function getDepartmentId(): ?string |
76: | { |
77: | return $this->departmentId; |
78: | } |
79: | |
80: | public function setDepartmentId(?string $departmentId): self |
81: | { |
82: | $this->initialized['departmentId'] = true; |
83: | $this->departmentId = $departmentId; |
84: | |
85: | return $this; |
86: | } |
87: | |
88: | public function getLocationId(): ?string |
89: | { |
90: | return $this->locationId; |
91: | } |
92: | |
93: | public function setLocationId(?string $locationId): self |
94: | { |
95: | $this->initialized['locationId'] = true; |
96: | $this->locationId = $locationId; |
97: | |
98: | return $this; |
99: | } |
100: | } |
101: | |