Class ImapSettings
IMAP settings for an account.
Implements
Inherited Members
Namespace: Google.Apis.Gmail.v1.Data
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class ImapSettings : IDirectResponseSchema
Properties
AutoExpunge
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.
Declaration
[JsonProperty("autoExpunge")]
public virtual bool? AutoExpunge { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Enabled
Whether IMAP is enabled for the account.
Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ExpungeBehavior
The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.
Declaration
[JsonProperty("expungeBehavior")]
public virtual string ExpungeBehavior { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxFolderSize
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.
Declaration
[JsonProperty("maxFolderSize")]
public virtual int? MaxFolderSize { get; set; }
Property Value
Type | Description |
---|---|
int? |