class FolderSharingInfo extends BaseModel (View source)

Properties

protected array $data Model Data from BaseModel
protected bool $read_only True if the file or folder is inside a read-only shared folder.
protected string $parent_shared_folder_id ID of shared folder that holds this folder.
protected string $shared_folder_id If this folder is a shared folder mount point, the ID of the shared folder mounted at this location.

Methods

__construct(array $data)

Create a new Folder Sharing Info 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
bool
isReadOnly()

True if the folder or folder is inside a read-only shared folder.

string
getParentSharedFolderId()

ID of shared folder that holds this folder.

string
getSharedFolderId()

ID of shared folder.

Details

at line line 36
__construct(array $data)

Create a new Folder Sharing Info 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 49
bool isReadOnly()

True if the folder or folder is inside a read-only shared folder.

Return Value

bool

at line line 59
string getParentSharedFolderId()

ID of shared folder that holds this folder.

Return Value

string

at line line 69
string getSharedFolderId()

ID of shared folder.

Return Value

string