rene-s/Seafile-PHP-SDK

View on GitHub
src/Type/SharedLinkPermissions.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Seafile\Client\Type;

use Sdo\Bitmask\AbstractBitmask;

/**
 * Bitmask for share links permissions.
 *
 * @see https://download.seafile.com/published/web-api/v2.1/share-links.md#user-content-Create%20Share%20Link
 * @package Seafile\Client\Type
 */
class SharedLinkPermissions extends AbstractBitmask
{
    const CAN_DOWNLOAD = 1;
    const CAN_EDIT = 2;
}