| 1 | <?php |
||
| 4 | class DeletedMetadata extends BaseModel |
||
| 5 | { |
||
| 6 | |||
| 7 | /** |
||
| 8 | * The last component of the path (including extension) |
||
| 9 | * |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $name; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * The lowercased full path in the user's Dropbox |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $path_lower; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Set if this file is contained in a shared folder |
||
| 23 | * |
||
| 24 | * @var \Dropbox\Models\FileSharingInfo |
||
| 25 | */ |
||
| 26 | protected $sharing_info; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * The cased path to be used for display purposes only. |
||
| 30 | * |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | protected $path_display; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Create a new DeletedtMetadata instance |
||
| 37 | * |
||
| 38 | * @param array $data |
||
| 39 | */ |
||
| 40 | 1 | public function __construct(array $data) |
|
| 48 | |||
| 49 | /** |
||
| 50 | * Get the 'name' property of the metadata. |
||
| 51 | * |
||
| 52 | * @return string |
||
| 53 | */ |
||
| 54 | public function getName() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Get the 'path_lower' property of the metadata. |
||
| 61 | * |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | 1 | public function getPathLower() |
|
| 68 | |||
| 69 | /** |
||
| 70 | * Get the 'path_display' property of the metadata. |
||
| 71 | * |
||
| 72 | * @return string |
||
| 73 | */ |
||
| 74 | public function getPathDisplay() |
||
| 78 | |||
| 79 | /** |
||
| 80 | * Get the 'sharing_info' property of the file model. |
||
| 81 | * |
||
| 82 | * @return \Dropbox\Models\FileSharingInfo |
||
| 83 | */ |
||
| 84 | public function getSharingInfo() |
||
| 88 | } |
||
| 89 |