Source code for snow.resource.fields.email

from .base import BaseField

from ..query import EmailOperator


[docs]class Email(BaseField):
[docs] def changes(self): """ Example: state.changes() All records in which the State field is updated. """ return self._segment(EmailOperator.CHANGES)
[docs] def changes_from(self, value): """ Example: state.changes_from("4^EQ") All records in which the State field is updated to another value after previously being Awaiting User Info. """ return self._segment(EmailOperator.CHANGES_FROM, value)
[docs] def changes_to(self, value): """ Example: state.changes_to("4^EQ") All records in which the State field is updated to Awaiting User Info after previously being any other value. """ return self._segment(EmailOperator.CHANGES_TO, value)