zibios/wrike-php-library

View on GitHub
src/Enum/AttachmentTypeEnum.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

/*
 * This file is part of the zibios/wrike-php-library package.
 *
 * (c) Zbigniew Ślązak
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Zibios\WrikePhpLibrary\Enum;

/**
 * Attachment Type Enum.
 */
class AttachmentTypeEnum extends AbstractEnum
{
    /**
     * Attachment file content stored in Wrike.
     * When deleted, actual file is removed.
     */
    public const WRIKE = 'Wrike';

    /**
     * Google attachment.
     * Attachment can be accessed only via URL, downloads are not supported by Wrike.
     * When deleted, only stored link is removed.
     */
    public const GOOGLE = 'Google';

    /**
     * DropBox attachment.
     * When deleted, only stored link is removed.
     */
    public const DROP_BOX = 'DropBox';

    /**
     * Box attachment.
     * Attachment can be accessed only via URL, downloads are not supported by Wrike.
     * When deleted, only stored link is removed.
     */
    public const BOX = 'Box';

    /**
     * OneDrive attachment.
     * When deleted, only stored link is removed.
     */
    public const ONE_DRIVE = 'OneDrive';

    /**
     * External attachment.
     */
    public const EXTERNAL = 'External';
}