Add enums for action and condition names

This commit is contained in:
Oliver Davies 2019-12-29 00:37:33 +00:00
parent 778374b2c9
commit 4083ef802b
3 changed files with 57 additions and 21 deletions

18
src/Enum/FilterAction.php Normal file
View file

@ -0,0 +1,18 @@
<?php
namespace Opdavies\GmailFilterBuilder\Enum;
class FilterAction
{
const ADD_CATEGORY = 'smartLabelToApply';
const ADD_LABEL = 'label';
const ALWAYS_MARK_AS_IMPORTANT = 'shouldAlwaysMarkAsImportant';
const ARCHIVE = 'shouldArchive';
const FORWARD_TO = 'forwardTo';
const MARK_AS_READ = 'markAsRead';
const MARK_AS_SPAM = 'shouldSpam';
const NEVER_MARK_AS_IMPORTANT = 'shouldNeverMarkAsImportant';
const NEVER_MARK_AS_SPAM = 'shouldNeverSpam';
const STAR = 'shouldStar';
const TRASH = 'shouldTrash';
}