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 LocationResponse 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: | * Name of the location. |
30: | * |
31: | * @var string |
32: | */ |
33: | protected $name; |
34: | /** |
35: | * Description of the location. |
36: | * |
37: | * @var string|null |
38: | */ |
39: | protected $description; |
40: | |
41: | public function getId(): string |
42: | { |
43: | return $this->id; |
44: | } |
45: | |
46: | public function setId(string $id): self |
47: | { |
48: | $this->initialized['id'] = true; |
49: | $this->id = $id; |
50: | |
51: | return $this; |
52: | } |
53: | |
54: | /** |
55: | * Name of the location. |
56: | */ |
57: | public function getName(): string |
58: | { |
59: | return $this->name; |
60: | } |
61: | |
62: | /** |
63: | * Name of the location. |
64: | */ |
65: | public function setName(string $name): self |
66: | { |
67: | $this->initialized['name'] = true; |
68: | $this->name = $name; |
69: | |
70: | return $this; |
71: | } |
72: | |
73: | /** |
74: | * Description of the location. |
75: | */ |
76: | public function getDescription(): ?string |
77: | { |
78: | return $this->description; |
79: | } |
80: | |
81: | /** |
82: | * Description of the location. |
83: | */ |
84: | public function setDescription(?string $description): self |
85: | { |
86: | $this->initialized['description'] = true; |
87: | $this->description = $description; |
88: | |
89: | return $this; |
90: | } |
91: | } |
92: |