#include <imap_settings.h>
IMAP settings for an account.
◆ ImapSettings() [1/2]
google_gmail_api::ImapSettings::ImapSettings |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ImapSettings() [2/2]
google_gmail_api::ImapSettings::ImapSettings |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~ImapSettings()
google_gmail_api::ImapSettings::~ImapSettings |
( |
| ) |
|
|
virtual |
◆ clear_auto_expunge()
void google_gmail_api::ImapSettings::clear_auto_expunge |
( |
| ) |
|
|
inline |
Clears the 'autoExpunge
' attribute.
◆ clear_enabled()
void google_gmail_api::ImapSettings::clear_enabled |
( |
| ) |
|
|
inline |
Clears the 'enabled
' attribute.
◆ clear_expunge_behavior()
void google_gmail_api::ImapSettings::clear_expunge_behavior |
( |
| ) |
|
|
inline |
Clears the 'expungeBehavior
' attribute.
◆ clear_max_folder_size()
void google_gmail_api::ImapSettings::clear_max_folder_size |
( |
| ) |
|
|
inline |
Clears the 'maxFolderSize
' attribute.
◆ get_auto_expunge()
bool google_gmail_api::ImapSettings::get_auto_expunge |
( |
| ) |
const |
|
inline |
Get the value of the 'autoExpunge
' attribute.
◆ get_enabled()
bool google_gmail_api::ImapSettings::get_enabled |
( |
| ) |
const |
|
inline |
Get the value of the 'enabled
' attribute.
◆ get_expunge_behavior()
const StringPiece google_gmail_api::ImapSettings::get_expunge_behavior |
( |
| ) |
const |
|
inline |
Get the value of the 'expungeBehavior
' attribute.
◆ get_max_folder_size()
int32 google_gmail_api::ImapSettings::get_max_folder_size |
( |
| ) |
const |
|
inline |
Get the value of the 'maxFolderSize
' attribute.
◆ GetTypeName()
const StringPiece google_gmail_api::ImapSettings::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_auto_expunge()
bool google_gmail_api::ImapSettings::has_auto_expunge |
( |
| ) |
const |
|
inline |
Determine if the 'autoExpunge
' attribute was set.
- Returns
- true if the '
autoExpunge
' attribute was set.
◆ has_enabled()
bool google_gmail_api::ImapSettings::has_enabled |
( |
| ) |
const |
|
inline |
Determine if the 'enabled
' attribute was set.
- Returns
- true if the '
enabled
' attribute was set.
◆ has_expunge_behavior()
bool google_gmail_api::ImapSettings::has_expunge_behavior |
( |
| ) |
const |
|
inline |
Determine if the 'expungeBehavior
' attribute was set.
- Returns
- true if the '
expungeBehavior
' attribute was set.
◆ has_max_folder_size()
bool google_gmail_api::ImapSettings::has_max_folder_size |
( |
| ) |
const |
|
inline |
Determine if the 'maxFolderSize
' attribute was set.
- Returns
- true if the '
maxFolderSize
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_auto_expunge()
void google_gmail_api::ImapSettings::set_auto_expunge |
( |
bool |
value | ) |
|
|
inline |
Change the 'autoExpunge
' attribute.
If this value is true, Gmail will immediately expunge a message when it is marked as deleted in IMAP. Otherwise, Gmail will wait for an update from the client before expunging messages marked as deleted.
- Parameters
-
◆ set_enabled()
void google_gmail_api::ImapSettings::set_enabled |
( |
bool |
value | ) |
|
|
inline |
Change the 'enabled
' attribute.
Whether IMAP is enabled for the account.
- Parameters
-
◆ set_expunge_behavior()
void google_gmail_api::ImapSettings::set_expunge_behavior |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'expungeBehavior
' attribute.
The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.
- Parameters
-
◆ set_max_folder_size()
void google_gmail_api::ImapSettings::set_max_folder_size |
( |
int32 |
value | ) |
|
|
inline |
Change the 'maxFolderSize
' attribute.
An optional limit on the number of messages that an IMAP folder may contain. Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero is interpreted to mean that there is no limit.
- Parameters
-
The documentation for this class was generated from the following files: