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 CreateLocationRequest 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: * Name of the location.
26: *
27: * @var string
28: */
29: protected $name;
30: /**
31: * Description of the location.
32: *
33: * @var string|null
34: */
35: protected $description;
36:
37: /**
38: * Name of the location.
39: */
40: public function getName(): string
41: {
42: return $this->name;
43: }
44:
45: /**
46: * Name of the location.
47: */
48: public function setName(string $name): self
49: {
50: $this->initialized['name'] = true;
51: $this->name = $name;
52:
53: return $this;
54: }
55:
56: /**
57: * Description of the location.
58: */
59: public function getDescription(): ?string
60: {
61: return $this->description;
62: }
63:
64: /**
65: * Description of the location.
66: */
67: public function setDescription(?string $description): self
68: {
69: $this->initialized['description'] = true;
70: $this->description = $description;
71:
72: return $this;
73: }
74: }
75: