| 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 UserResponse 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 $id; | 
| 28: | /** | 
| 29: | * First name of the user. | 
| 30: | * | 
| 31: | * @var string | 
| 32: | */ | 
| 33: | protected $firstName; | 
| 34: | /** | 
| 35: | * Last name of the user. | 
| 36: | * | 
| 37: | * @var string | 
| 38: | */ | 
| 39: | protected $lastName; | 
| 40: | /** | 
| 41: | * Email address of the user. | 
| 42: | * | 
| 43: | * @var string | 
| 44: | */ | 
| 45: | protected $email; | 
| 46: | /** | 
| 47: | * @var string | 
| 48: | */ | 
| 49: | protected $status; | 
| 50: | /** | 
| 51: | * The user id of the manager of this user. | 
| 52: | * | 
| 53: | * @var string|null | 
| 54: | */ | 
| 55: | protected $managerId; | 
| 56: | /** | 
| 57: | * @var string|null | 
| 58: | */ | 
| 59: | protected $departmentId; | 
| 60: | /** | 
| 61: | * @var string|null | 
| 62: | */ | 
| 63: | protected $locationId; | 
| 64: | |
| 65: | public function getId(): string | 
| 66: | { | 
| 67: | return $this->id; | 
| 68: | } | 
| 69: | |
| 70: | public function setId(string $id): self | 
| 71: | { | 
| 72: | $this->initialized['id'] = true; | 
| 73: | $this->id = $id; | 
| 74: | |
| 75: | return $this; | 
| 76: | } | 
| 77: | |
| 78: | /** | 
| 79: | * First name of the user. | 
| 80: | */ | 
| 81: | public function getFirstName(): string | 
| 82: | { | 
| 83: | return $this->firstName; | 
| 84: | } | 
| 85: | |
| 86: | /** | 
| 87: | * First name of the user. | 
| 88: | */ | 
| 89: | public function setFirstName(string $firstName): self | 
| 90: | { | 
| 91: | $this->initialized['firstName'] = true; | 
| 92: | $this->firstName = $firstName; | 
| 93: | |
| 94: | return $this; | 
| 95: | } | 
| 96: | |
| 97: | /** | 
| 98: | * Last name of the user. | 
| 99: | */ | 
| 100: | public function getLastName(): string | 
| 101: | { | 
| 102: | return $this->lastName; | 
| 103: | } | 
| 104: | |
| 105: | /** | 
| 106: | * Last name of the user. | 
| 107: | */ | 
| 108: | public function setLastName(string $lastName): self | 
| 109: | { | 
| 110: | $this->initialized['lastName'] = true; | 
| 111: | $this->lastName = $lastName; | 
| 112: | |
| 113: | return $this; | 
| 114: | } | 
| 115: | |
| 116: | /** | 
| 117: | * Email address of the user. | 
| 118: | */ | 
| 119: | public function getEmail(): string | 
| 120: | { | 
| 121: | return $this->email; | 
| 122: | } | 
| 123: | |
| 124: | /** | 
| 125: | * Email address of the user. | 
| 126: | */ | 
| 127: | public function setEmail(string $email): self | 
| 128: | { | 
| 129: | $this->initialized['email'] = true; | 
| 130: | $this->email = $email; | 
| 131: | |
| 132: | return $this; | 
| 133: | } | 
| 134: | |
| 135: | public function getStatus(): string | 
| 136: | { | 
| 137: | return $this->status; | 
| 138: | } | 
| 139: | |
| 140: | public function setStatus(string $status): self | 
| 141: | { | 
| 142: | $this->initialized['status'] = true; | 
| 143: | $this->status = $status; | 
| 144: | |
| 145: | return $this; | 
| 146: | } | 
| 147: | |
| 148: | /** | 
| 149: | * The user id of the manager of this user. | 
| 150: | */ | 
| 151: | public function getManagerId(): ?string | 
| 152: | { | 
| 153: | return $this->managerId; | 
| 154: | } | 
| 155: | |
| 156: | /** | 
| 157: | * The user id of the manager of this user. | 
| 158: | */ | 
| 159: | public function setManagerId(?string $managerId): self | 
| 160: | { | 
| 161: | $this->initialized['managerId'] = true; | 
| 162: | $this->managerId = $managerId; | 
| 163: | |
| 164: | return $this; | 
| 165: | } | 
| 166: | |
| 167: | public function getDepartmentId(): ?string | 
| 168: | { | 
| 169: | return $this->departmentId; | 
| 170: | } | 
| 171: | |
| 172: | public function setDepartmentId(?string $departmentId): self | 
| 173: | { | 
| 174: | $this->initialized['departmentId'] = true; | 
| 175: | $this->departmentId = $departmentId; | 
| 176: | |
| 177: | return $this; | 
| 178: | } | 
| 179: | |
| 180: | public function getLocationId(): ?string | 
| 181: | { | 
| 182: | return $this->locationId; | 
| 183: | } | 
| 184: | |
| 185: | public function setLocationId(?string $locationId): self | 
| 186: | { | 
| 187: | $this->initialized['locationId'] = true; | 
| 188: | $this->locationId = $locationId; | 
| 189: | |
| 190: | return $this; | 
| 191: | } | 
| 192: | } | 
| 193: |