mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-11-12 05:18:45 +00:00
Add enums for action and condition names
This commit is contained in:
parent
778374b2c9
commit
4083ef802b
3 changed files with 57 additions and 21 deletions
18
src/Enum/FilterAction.php
Normal file
18
src/Enum/FilterAction.php
Normal 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';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue