class FolderMetadata extends BaseModel (View source)

Properties

protected array $data Model Data from BaseModel
protected string $id A unique identifier of the folder
protected string $name The last component of the path (including extension).
protected string $path_lower The lowercased full path in the user's Dropbox.
protected FolderSharingInfo $sharing_info Set if this folder is contained in a shared folder.
protected string $path_display The cased path to be used for display purposes only.

Methods

__construct(array $data)

Create a new FolderMetadata instance

array
getData()

Get the Model data

from BaseModel
mixed
getDataProperty(string $property)

Get Data Property

from BaseModel
mixed|null
__get(string $property)

Handle calls to undefined properties.

from BaseModel
mixed|null
__set(string $property, string $value)

Handle calls to undefined properties.

from BaseModel
string
getId()

Get the 'id' property of the folder model.

string
getName()

Get the 'name' property of the folder model.

string
getPathLower()

Get the 'path_lower' property of the folder model.

getSharingInfo()

Get the 'sharing_info' property of the folder model.

string
getPathDisplay()

Get the 'path_display' property of the folder model.

Details

at line line 50
__construct(array $data)

Create a new FolderMetadata instance

Parameters

array $data

in BaseModel at line line 29
array getData()

Get the Model data

Return Value

array

in BaseModel at line line 41
mixed getDataProperty(string $property)

Get Data Property

Parameters

string $property

Return Value

mixed

in BaseModel at line line 56
mixed|null __get(string $property)

Handle calls to undefined properties.

Check whether an item with the key, same as the property, is available on the data property.

Parameters

string $property

Return Value

mixed|null

in BaseModel at line line 75
mixed|null __set(string $property, string $value)

Handle calls to undefined properties.

Sets an item with the defined value on the data property.

Parameters

string $property
string $value

Return Value

mixed|null

at line line 70
string getId()

Get the 'id' property of the folder model.

Return Value

string

at line line 80
string getName()

Get the 'name' property of the folder model.

Return Value

string

at line line 90
string getPathLower()

Get the 'path_lower' property of the folder model.

Return Value

string

at line line 100
FolderSharingInfo getSharingInfo()

Get the 'sharing_info' property of the folder model.

Return Value

FolderSharingInfo

at line line 110
string getPathDisplay()

Get the 'path_display' property of the folder model.

Return Value

string