| 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\Expenses\Model; |
| 12: | |
| 13: | class CreateAsyncFileUploadResponse 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: | * The unique identifier for the request. |
| 26: | * |
| 27: | * @var string |
| 28: | */ |
| 29: | protected $id; |
| 30: | /** |
| 31: | * The pre-signed S3 link that should be used to upload the file. |
| 32: | * |
| 33: | * @var string |
| 34: | */ |
| 35: | protected $uri; |
| 36: | |
| 37: | /** |
| 38: | * The unique identifier for the request. |
| 39: | */ |
| 40: | public function getId(): string |
| 41: | { |
| 42: | return $this->id; |
| 43: | } |
| 44: | |
| 45: | /** |
| 46: | * The unique identifier for the request. |
| 47: | */ |
| 48: | public function setId(string $id): self |
| 49: | { |
| 50: | $this->initialized['id'] = true; |
| 51: | $this->id = $id; |
| 52: | |
| 53: | return $this; |
| 54: | } |
| 55: | |
| 56: | /** |
| 57: | * The pre-signed S3 link that should be used to upload the file. |
| 58: | The maximum size accepted for this document is 50 MB. |
| 59: | */ |
| 60: | public function getUri(): string |
| 61: | { |
| 62: | return $this->uri; |
| 63: | } |
| 64: | |
| 65: | /** |
| 66: | * The pre-signed S3 link that should be used to upload the file. |
| 67: | The maximum size accepted for this document is 50 MB. |
| 68: | */ |
| 69: | public function setUri(string $uri): self |
| 70: | { |
| 71: | $this->initialized['uri'] = true; |
| 72: | $this->uri = $uri; |
| 73: | |
| 74: | return $this; |
| 75: | } |
| 76: | } |
| 77: |