Show / Hide Table of Contents

Class ImapSettings

IMAP settings for an account.

Inheritance
System.Object
ImapSettings
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
System.Nullable<System.Boolean>

Enabled

Whether IMAP is enabled for the account.

Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

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
System.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
System.Nullable<System.Int32>

Implements

IDirectResponseSchema
Back to top