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\Team\Model;
12:
13: class CreateUserRequest 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 $firstName;
28: /**
29: * @var string
30: */
31: protected $lastName;
32: /**
33: * @var string
34: */
35: protected $email;
36: /**
37: * @var string|null
38: */
39: protected $managerId;
40: /**
41: * @var string|null
42: */
43: protected $departmentId;
44: /**
45: * @var string|null
46: */
47: protected $locationId;
48:
49: public function getFirstName(): string
50: {
51: return $this->firstName;
52: }
53:
54: public function setFirstName(string $firstName): self
55: {
56: $this->initialized['firstName'] = true;
57: $this->firstName = $firstName;
58:
59: return $this;
60: }
61:
62: public function getLastName(): string
63: {
64: return $this->lastName;
65: }
66:
67: public function setLastName(string $lastName): self
68: {
69: $this->initialized['lastName'] = true;
70: $this->lastName = $lastName;
71:
72: return $this;
73: }
74:
75: public function getEmail(): string
76: {
77: return $this->email;
78: }
79:
80: public function setEmail(string $email): self
81: {
82: $this->initialized['email'] = true;
83: $this->email = $email;
84:
85: return $this;
86: }
87:
88: public function getManagerId(): ?string
89: {
90: return $this->managerId;
91: }
92:
93: public function setManagerId(?string $managerId): self
94: {
95: $this->initialized['managerId'] = true;
96: $this->managerId = $managerId;
97:
98: return $this;
99: }
100:
101: public function getDepartmentId(): ?string
102: {
103: return $this->departmentId;
104: }
105:
106: public function setDepartmentId(?string $departmentId): self
107: {
108: $this->initialized['departmentId'] = true;
109: $this->departmentId = $departmentId;
110:
111: return $this;
112: }
113:
114: public function getLocationId(): ?string
115: {
116: return $this->locationId;
117: }
118:
119: public function setLocationId(?string $locationId): self
120: {
121: $this->initialized['locationId'] = true;
122: $this->locationId = $locationId;
123:
124: return $this;
125: }
126: }
127: