Nextcloud PHP API (master)

TeamFolder
in package
implements JsonSerializable

A folder exclusively linked to a team.

Tags
since
35.0.0
Attributes
#[Consumable]
$since: '35.0.0'

Table of Contents

Interfaces

JsonSerializable

Properties

$id  : int
$mountPoint  : string
$quota  : int|null

Methods

__construct()  : mixed
getId()  : int
getMountPoint()  : string
getQuota()  : int|null
The storage quota in bytes, zero for unlimited, or null if the active provider does not expose a quota for this folder.
jsonSerialize()  : array{id: int, quota: int|null, mountPoint: string}

Properties

Methods

__construct()

public __construct(int $id, string $mountPoint[, int|null $quota = null ]) : mixed
Parameters
$id : int
$mountPoint : string
$quota : int|null = null
Tags
since
35.0.0

getId()

public getId() : int
Tags
since
35.0.0
Return values
int

getMountPoint()

public getMountPoint() : string
Tags
since
35.0.0
Return values
string

getQuota()

The storage quota in bytes, zero for unlimited, or null if the active provider does not expose a quota for this folder.

public getQuota() : int|null
Tags
since
35.0.0
Return values
int|null

jsonSerialize()

public jsonSerialize() : array{id: int, quota: int|null, mountPoint: string}
Tags
since
35.0.0
Attributes
#[Override]
Return values
array{id: int, quota: int|null, mountPoint: string}
On this page

Search results