aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Proxy/Proxy.php
blob: a10f82e4b29d31623c097758deec579cd47b0134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCA\DAV\CalDAV\Proxy;

use OCP\AppFramework\Db\Entity;

/**
 * @method string getOwnerId()
 * @method void setOwnerId(string $ownerId)
 * @method string getProxyId()
 * @method void setProxyId(string $proxyId)
 * @method int getPermissions()
 * @method void setPermissions(int $permissions)
 */
class Proxy extends Entity {

	/** @var string */
	protected $ownerId;
	/** @var string */
	protected $proxyId;
	/** @var int */
	protected $permissions;

	public function __construct() {
		$this->addType('ownerId', 'string');
		$this->addType('proxyId', 'string');
		$this->addType('permissions', 'int');
	}
}