gogol-admin-emailmigration-0.0.1: Google Email Migration API v2 SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.EmailMigration

Contents

Description

Email Migration API lets you migrate emails of users to Google backends.

See: Email Migration API v2 Reference

Synopsis

Service Configuration

emailMigrationService :: Service Source

Default request referring to version email_migration_v2 of the Email Migration API v2. This contains the host and root path used as a starting point for constructing service requests.

API Declaration

type EmailMigrationAPI = MailInsertResource Source

Represents the entirety of the methods and resources available for the Email Migration API v2 service.

Resources

emailMigration.mail.insert

Types

MailItem

data MailItem Source

JSON template for MailItem object in Email Migration API.

See: mailItem smart constructor.

mailItem :: MailItem Source

Creates a value of MailItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

miIsDeleted :: Lens' MailItem (Maybe Bool) Source

Boolean indicating if the mail is deleted (used in Vault)

miIsDraft :: Lens' MailItem (Maybe Bool) Source

Boolean indicating if the mail is draft

miIsStarred :: Lens' MailItem (Maybe Bool) Source

Boolean indicating if the mail is starred

miKind :: Lens' MailItem Text Source

Kind of resource this is.

miIsUnread :: Lens' MailItem (Maybe Bool) Source

Boolean indicating if the mail is unread

miLabels :: Lens' MailItem [Text] Source

List of labels (strings)

miIsInbox :: Lens' MailItem (Maybe Bool) Source

Boolean indicating if the mail is in inbox

miIsTrash :: Lens' MailItem (Maybe Bool) Source

Boolean indicating if the mail is in trash

miIsSent :: Lens' MailItem (Maybe Bool) Source

Boolean indicating if the mail is in 'sent mails'