All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.gmail.model.ImapSettings.html Maven / Gradle / Ivy







ImapSettings (Gmail API v1-rev20240422-2.0.0)












com.google.api.services.gmail.model

Class ImapSettings

    • Constructor Detail

      • ImapSettings

        public ImapSettings()
    • Method Detail

      • getAutoExpunge

        public Boolean getAutoExpunge()
        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.
        Returns:
        value or null for none
      • setAutoExpunge

        public ImapSettings setAutoExpunge(Boolean 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.
        Parameters:
        autoExpunge - autoExpunge or null for none
      • getEnabled

        public Boolean getEnabled()
        Whether IMAP is enabled for the account.
        Returns:
        value or null for none
      • setEnabled

        public ImapSettings setEnabled(Boolean enabled)
        Whether IMAP is enabled for the account.
        Parameters:
        enabled - enabled or null for none
      • getExpungeBehavior

        public String getExpungeBehavior()
        The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.
        Returns:
        value or null for none
      • setExpungeBehavior

        public ImapSettings setExpungeBehavior(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.
        Parameters:
        expungeBehavior - expungeBehavior or null for none
      • getMaxFolderSize

        public Integer getMaxFolderSize()
        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.
        Returns:
        value or null for none
      • setMaxFolderSize

        public ImapSettings setMaxFolderSize(Integer 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.
        Parameters:
        maxFolderSize - maxFolderSize or null for none
      • set

        public ImapSettings set(String fieldName,
                                Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public ImapSettings clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy