gogol-gmail-0.1.1: Google Gmail SDK.

Copyright(c) 2015-2016 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.Gmail.Types

Contents

Description

 

Synopsis

Service Configuration

gmailService :: ServiceConfig Source #

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

OAuth Scopes

gmailSettingsBasicScope :: Proxy '["https://www.googleapis.com/auth/gmail.settings.basic"] Source #

Manage your basic mail settings

mailGoogleComScope :: Proxy '["https://mail.google.com/"] Source #

View and manage your mail

gmailModifyScope :: Proxy '["https://www.googleapis.com/auth/gmail.modify"] Source #

View and modify but not delete your email

gmailLabelsScope :: Proxy '["https://www.googleapis.com/auth/gmail.labels"] Source #

Manage mailbox labels

gmailSettingsSharingScope :: Proxy '["https://www.googleapis.com/auth/gmail.settings.sharing"] Source #

Manage your sensitive mail settings, including who can manage your mail

gmailSendScope :: Proxy '["https://www.googleapis.com/auth/gmail.send"] Source #

Send email on your behalf

gmailInsertScope :: Proxy '["https://www.googleapis.com/auth/gmail.insert"] Source #

Insert mail into your mailbox

gmailComposeScope :: Proxy '["https://www.googleapis.com/auth/gmail.compose"] Source #

Manage drafts and send emails

gmailReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/gmail.readonly"] Source #

View your emails messages and settings

BatchDeleteMessagesRequest

data BatchDeleteMessagesRequest Source #

Instances

Eq BatchDeleteMessagesRequest Source # 
Data BatchDeleteMessagesRequest Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BatchDeleteMessagesRequest -> c BatchDeleteMessagesRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BatchDeleteMessagesRequest #

toConstr :: BatchDeleteMessagesRequest -> Constr #

dataTypeOf :: BatchDeleteMessagesRequest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c BatchDeleteMessagesRequest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BatchDeleteMessagesRequest) #

gmapT :: (forall b. Data b => b -> b) -> BatchDeleteMessagesRequest -> BatchDeleteMessagesRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BatchDeleteMessagesRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BatchDeleteMessagesRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> BatchDeleteMessagesRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BatchDeleteMessagesRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BatchDeleteMessagesRequest -> m BatchDeleteMessagesRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchDeleteMessagesRequest -> m BatchDeleteMessagesRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchDeleteMessagesRequest -> m BatchDeleteMessagesRequest #

Show BatchDeleteMessagesRequest Source # 
Generic BatchDeleteMessagesRequest Source # 
ToJSON BatchDeleteMessagesRequest Source # 
FromJSON BatchDeleteMessagesRequest Source # 
type Rep BatchDeleteMessagesRequest Source # 
type Rep BatchDeleteMessagesRequest = D1 (MetaData "BatchDeleteMessagesRequest" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" True) (C1 (MetaCons "BatchDeleteMessagesRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_bdmrIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

batchDeleteMessagesRequest :: BatchDeleteMessagesRequest Source #

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

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

bdmrIds :: Lens' BatchDeleteMessagesRequest [Text] Source #

The IDs of the messages to delete.

FilterCriteriaSizeComparison

data FilterCriteriaSizeComparison Source #

How the message size in bytes should be in relation to the size field.

Constructors

Larger
larger
Smaller
smaller
Unspecified
unspecified

Instances

Enum FilterCriteriaSizeComparison Source # 
Eq FilterCriteriaSizeComparison Source # 
Data FilterCriteriaSizeComparison Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FilterCriteriaSizeComparison -> c FilterCriteriaSizeComparison #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FilterCriteriaSizeComparison #

toConstr :: FilterCriteriaSizeComparison -> Constr #

dataTypeOf :: FilterCriteriaSizeComparison -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c FilterCriteriaSizeComparison) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FilterCriteriaSizeComparison) #

gmapT :: (forall b. Data b => b -> b) -> FilterCriteriaSizeComparison -> FilterCriteriaSizeComparison #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FilterCriteriaSizeComparison -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FilterCriteriaSizeComparison -> r #

gmapQ :: (forall d. Data d => d -> u) -> FilterCriteriaSizeComparison -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FilterCriteriaSizeComparison -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FilterCriteriaSizeComparison -> m FilterCriteriaSizeComparison #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FilterCriteriaSizeComparison -> m FilterCriteriaSizeComparison #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FilterCriteriaSizeComparison -> m FilterCriteriaSizeComparison #

Ord FilterCriteriaSizeComparison Source # 
Read FilterCriteriaSizeComparison Source # 
Show FilterCriteriaSizeComparison Source # 
Generic FilterCriteriaSizeComparison Source # 
Hashable FilterCriteriaSizeComparison Source # 
ToJSON FilterCriteriaSizeComparison Source # 
FromJSON FilterCriteriaSizeComparison Source # 
FromHttpApiData FilterCriteriaSizeComparison Source # 
ToHttpApiData FilterCriteriaSizeComparison Source # 
type Rep FilterCriteriaSizeComparison Source # 
type Rep FilterCriteriaSizeComparison = D1 (MetaData "FilterCriteriaSizeComparison" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) (C1 (MetaCons "Larger" PrefixI False) U1) ((:+:) (C1 (MetaCons "Smaller" PrefixI False) U1) (C1 (MetaCons "Unspecified" PrefixI False) U1)))

UsersMessagesGetFormat

data UsersMessagesGetFormat Source #

The format to return the message in.

Constructors

Full
full
Metadata
metadata
Minimal
minimal
Raw
raw

Instances

Enum UsersMessagesGetFormat Source # 
Eq UsersMessagesGetFormat Source # 
Data UsersMessagesGetFormat Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersMessagesGetFormat -> c UsersMessagesGetFormat #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersMessagesGetFormat #

toConstr :: UsersMessagesGetFormat -> Constr #

dataTypeOf :: UsersMessagesGetFormat -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UsersMessagesGetFormat) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersMessagesGetFormat) #

gmapT :: (forall b. Data b => b -> b) -> UsersMessagesGetFormat -> UsersMessagesGetFormat #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersMessagesGetFormat -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersMessagesGetFormat -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersMessagesGetFormat -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersMessagesGetFormat -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersMessagesGetFormat -> m UsersMessagesGetFormat #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersMessagesGetFormat -> m UsersMessagesGetFormat #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersMessagesGetFormat -> m UsersMessagesGetFormat #

Ord UsersMessagesGetFormat Source # 
Read UsersMessagesGetFormat Source # 
Show UsersMessagesGetFormat Source # 
Generic UsersMessagesGetFormat Source # 
Hashable UsersMessagesGetFormat Source # 
ToJSON UsersMessagesGetFormat Source # 
FromJSON UsersMessagesGetFormat Source # 
FromHttpApiData UsersMessagesGetFormat Source # 
ToHttpApiData UsersMessagesGetFormat Source # 
type Rep UsersMessagesGetFormat Source # 
type Rep UsersMessagesGetFormat = D1 (MetaData "UsersMessagesGetFormat" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) ((:+:) (C1 (MetaCons "Full" PrefixI False) U1) (C1 (MetaCons "Metadata" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Minimal" PrefixI False) U1) (C1 (MetaCons "Raw" PrefixI False) U1)))

ModifyThreadRequest

data ModifyThreadRequest Source #

Instances

Eq ModifyThreadRequest Source # 
Data ModifyThreadRequest Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyThreadRequest -> c ModifyThreadRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyThreadRequest #

toConstr :: ModifyThreadRequest -> Constr #

dataTypeOf :: ModifyThreadRequest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModifyThreadRequest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyThreadRequest) #

gmapT :: (forall b. Data b => b -> b) -> ModifyThreadRequest -> ModifyThreadRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyThreadRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyThreadRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyThreadRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyThreadRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyThreadRequest -> m ModifyThreadRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyThreadRequest -> m ModifyThreadRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyThreadRequest -> m ModifyThreadRequest #

Show ModifyThreadRequest Source # 
Generic ModifyThreadRequest Source # 
ToJSON ModifyThreadRequest Source # 
FromJSON ModifyThreadRequest Source # 
type Rep ModifyThreadRequest Source # 
type Rep ModifyThreadRequest = D1 (MetaData "ModifyThreadRequest" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "ModifyThreadRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mtrRemoveLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_mtrAddLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))

modifyThreadRequest :: ModifyThreadRequest Source #

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

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

mtrRemoveLabelIds :: Lens' ModifyThreadRequest [Text] Source #

A list of IDs of labels to remove from this thread.

mtrAddLabelIds :: Lens' ModifyThreadRequest [Text] Source #

A list of IDs of labels to add to this thread.

ListFiltersResponse

data ListFiltersResponse Source #

Response for the ListFilters method.

See: listFiltersResponse smart constructor.

Instances

Eq ListFiltersResponse Source # 
Data ListFiltersResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListFiltersResponse -> c ListFiltersResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListFiltersResponse #

toConstr :: ListFiltersResponse -> Constr #

dataTypeOf :: ListFiltersResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListFiltersResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListFiltersResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListFiltersResponse -> ListFiltersResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListFiltersResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListFiltersResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListFiltersResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListFiltersResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListFiltersResponse -> m ListFiltersResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFiltersResponse -> m ListFiltersResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFiltersResponse -> m ListFiltersResponse #

Show ListFiltersResponse Source # 
Generic ListFiltersResponse Source # 
ToJSON ListFiltersResponse Source # 
FromJSON ListFiltersResponse Source # 
type Rep ListFiltersResponse Source # 
type Rep ListFiltersResponse = D1 (MetaData "ListFiltersResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" True) (C1 (MetaCons "ListFiltersResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_lfrFilter") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Filter]))))

listFiltersResponse :: ListFiltersResponse Source #

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

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

lfrFilter :: Lens' ListFiltersResponse [Filter] Source #

List of a user's filters.

ModifyMessageRequest

data ModifyMessageRequest Source #

Instances

Eq ModifyMessageRequest Source # 
Data ModifyMessageRequest Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyMessageRequest -> c ModifyMessageRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyMessageRequest #

toConstr :: ModifyMessageRequest -> Constr #

dataTypeOf :: ModifyMessageRequest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModifyMessageRequest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyMessageRequest) #

gmapT :: (forall b. Data b => b -> b) -> ModifyMessageRequest -> ModifyMessageRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyMessageRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyMessageRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyMessageRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyMessageRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyMessageRequest -> m ModifyMessageRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyMessageRequest -> m ModifyMessageRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyMessageRequest -> m ModifyMessageRequest #

Show ModifyMessageRequest Source # 
Generic ModifyMessageRequest Source # 
ToJSON ModifyMessageRequest Source # 
FromJSON ModifyMessageRequest Source # 
type Rep ModifyMessageRequest Source # 
type Rep ModifyMessageRequest = D1 (MetaData "ModifyMessageRequest" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "ModifyMessageRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mmrRemoveLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_mmrAddLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))

modifyMessageRequest :: ModifyMessageRequest Source #

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

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

mmrRemoveLabelIds :: Lens' ModifyMessageRequest [Text] Source #

A list IDs of labels to remove from this message.

mmrAddLabelIds :: Lens' ModifyMessageRequest [Text] Source #

A list of IDs of labels to add to this message.

ListForwardingAddressesResponse

data ListForwardingAddressesResponse Source #

Response for the ListForwardingAddresses method.

See: listForwardingAddressesResponse smart constructor.

Instances

Eq ListForwardingAddressesResponse Source # 
Data ListForwardingAddressesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListForwardingAddressesResponse -> c ListForwardingAddressesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListForwardingAddressesResponse #

toConstr :: ListForwardingAddressesResponse -> Constr #

dataTypeOf :: ListForwardingAddressesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListForwardingAddressesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListForwardingAddressesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListForwardingAddressesResponse -> ListForwardingAddressesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListForwardingAddressesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListForwardingAddressesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListForwardingAddressesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListForwardingAddressesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListForwardingAddressesResponse -> m ListForwardingAddressesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListForwardingAddressesResponse -> m ListForwardingAddressesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListForwardingAddressesResponse -> m ListForwardingAddressesResponse #

Show ListForwardingAddressesResponse Source # 
Generic ListForwardingAddressesResponse Source # 
ToJSON ListForwardingAddressesResponse Source # 
FromJSON ListForwardingAddressesResponse Source # 
type Rep ListForwardingAddressesResponse Source # 
type Rep ListForwardingAddressesResponse = D1 (MetaData "ListForwardingAddressesResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" True) (C1 (MetaCons "ListForwardingAddressesResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_lfarForwardingAddresses") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ForwardingAddress]))))

listForwardingAddressesResponse :: ListForwardingAddressesResponse Source #

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

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

lfarForwardingAddresses :: Lens' ListForwardingAddressesResponse [ForwardingAddress] Source #

List of addresses that may be used for forwarding.

PopSettings

data PopSettings Source #

POP settings for an account.

See: popSettings smart constructor.

Instances

Eq PopSettings Source # 
Data PopSettings Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PopSettings -> c PopSettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PopSettings #

toConstr :: PopSettings -> Constr #

dataTypeOf :: PopSettings -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PopSettings) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PopSettings) #

gmapT :: (forall b. Data b => b -> b) -> PopSettings -> PopSettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PopSettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PopSettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> PopSettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PopSettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PopSettings -> m PopSettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PopSettings -> m PopSettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PopSettings -> m PopSettings #

Show PopSettings Source # 
Generic PopSettings Source # 

Associated Types

type Rep PopSettings :: * -> * #

ToJSON PopSettings Source # 
FromJSON PopSettings Source # 
type Rep PopSettings Source # 
type Rep PopSettings = D1 (MetaData "PopSettings" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "PopSettings'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_psAccessWindow") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PopSettingsAccessWindow))) (S1 (MetaSel (Just Symbol "_psDisPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PopSettingsDisPosition)))))

popSettings :: PopSettings Source #

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

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

psAccessWindow :: Lens' PopSettings (Maybe PopSettingsAccessWindow) Source #

The range of messages which are accessible via POP.

psDisPosition :: Lens' PopSettings (Maybe PopSettingsDisPosition) Source #

The action that will be executed on a message after it has been fetched via POP.

PopSettingsAccessWindow

data PopSettingsAccessWindow Source #

The range of messages which are accessible via POP.

Constructors

AccessWindowUnspecified
accessWindowUnspecified
AllMail
allMail
Disabled
disabled
FromNowOn
fromNowOn

Instances

Enum PopSettingsAccessWindow Source # 
Eq PopSettingsAccessWindow Source # 
Data PopSettingsAccessWindow Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PopSettingsAccessWindow -> c PopSettingsAccessWindow #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PopSettingsAccessWindow #

toConstr :: PopSettingsAccessWindow -> Constr #

dataTypeOf :: PopSettingsAccessWindow -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PopSettingsAccessWindow) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PopSettingsAccessWindow) #

gmapT :: (forall b. Data b => b -> b) -> PopSettingsAccessWindow -> PopSettingsAccessWindow #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PopSettingsAccessWindow -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PopSettingsAccessWindow -> r #

gmapQ :: (forall d. Data d => d -> u) -> PopSettingsAccessWindow -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PopSettingsAccessWindow -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PopSettingsAccessWindow -> m PopSettingsAccessWindow #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PopSettingsAccessWindow -> m PopSettingsAccessWindow #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PopSettingsAccessWindow -> m PopSettingsAccessWindow #

Ord PopSettingsAccessWindow Source # 
Read PopSettingsAccessWindow Source # 
Show PopSettingsAccessWindow Source # 
Generic PopSettingsAccessWindow Source # 
Hashable PopSettingsAccessWindow Source # 
ToJSON PopSettingsAccessWindow Source # 
FromJSON PopSettingsAccessWindow Source # 
FromHttpApiData PopSettingsAccessWindow Source # 
ToHttpApiData PopSettingsAccessWindow Source # 
type Rep PopSettingsAccessWindow Source # 
type Rep PopSettingsAccessWindow = D1 (MetaData "PopSettingsAccessWindow" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) ((:+:) (C1 (MetaCons "AccessWindowUnspecified" PrefixI False) U1) (C1 (MetaCons "AllMail" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Disabled" PrefixI False) U1) (C1 (MetaCons "FromNowOn" PrefixI False) U1)))

History

data History Source #

A record of a change to the user's mailbox. Each history change may affect multiple messages in multiple ways.

See: history smart constructor.

Instances

Eq History Source # 

Methods

(==) :: History -> History -> Bool #

(/=) :: History -> History -> Bool #

Data History Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> History -> c History #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c History #

toConstr :: History -> Constr #

dataTypeOf :: History -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c History) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c History) #

gmapT :: (forall b. Data b => b -> b) -> History -> History #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> History -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> History -> r #

gmapQ :: (forall d. Data d => d -> u) -> History -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> History -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> History -> m History #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> History -> m History #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> History -> m History #

Show History Source # 
Generic History Source # 

Associated Types

type Rep History :: * -> * #

Methods

from :: History -> Rep History x #

to :: Rep History x -> History #

ToJSON History Source # 
FromJSON History Source # 
type Rep History Source # 

history :: History Source #

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

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

hLabelsRemoved :: Lens' History [HistoryLabelRemoved] Source #

Labels removed from messages in this history record.

hMessagesDeleted :: Lens' History [HistoryMessageDeleted] Source #

Messages deleted (not Trashed) from the mailbox in this history record.

hMessagesAdded :: Lens' History [HistoryMessageAdded] Source #

Messages added to the mailbox in this history record.

hLabelsAdded :: Lens' History [HistoryLabelAdded] Source #

Labels added to messages in this history record.

hId :: Lens' History (Maybe Word64) Source #

The mailbox sequence ID.

hMessages :: Lens' History [Message] Source #

List of messages changed in this history record. The fields for specific change types, such as messagesAdded may duplicate messages in this field. We recommend using the specific change-type fields instead of this.

ForwardingAddressVerificationStatus

data ForwardingAddressVerificationStatus Source #

Indicates whether this address has been verified and is usable for forwarding. Read-only.

Constructors

Accepted
accepted
Pending
pending
VerificationStatusUnspecified
verificationStatusUnspecified

Instances

Enum ForwardingAddressVerificationStatus Source # 
Eq ForwardingAddressVerificationStatus Source # 
Data ForwardingAddressVerificationStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ForwardingAddressVerificationStatus -> c ForwardingAddressVerificationStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ForwardingAddressVerificationStatus #

toConstr :: ForwardingAddressVerificationStatus -> Constr #

dataTypeOf :: ForwardingAddressVerificationStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ForwardingAddressVerificationStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ForwardingAddressVerificationStatus) #

gmapT :: (forall b. Data b => b -> b) -> ForwardingAddressVerificationStatus -> ForwardingAddressVerificationStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ForwardingAddressVerificationStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ForwardingAddressVerificationStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> ForwardingAddressVerificationStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ForwardingAddressVerificationStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ForwardingAddressVerificationStatus -> m ForwardingAddressVerificationStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ForwardingAddressVerificationStatus -> m ForwardingAddressVerificationStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ForwardingAddressVerificationStatus -> m ForwardingAddressVerificationStatus #

Ord ForwardingAddressVerificationStatus Source # 
Read ForwardingAddressVerificationStatus Source # 
Show ForwardingAddressVerificationStatus Source # 
Generic ForwardingAddressVerificationStatus Source # 
Hashable ForwardingAddressVerificationStatus Source # 
ToJSON ForwardingAddressVerificationStatus Source # 
FromJSON ForwardingAddressVerificationStatus Source # 
FromHttpApiData ForwardingAddressVerificationStatus Source # 
ToHttpApiData ForwardingAddressVerificationStatus Source # 
type Rep ForwardingAddressVerificationStatus Source # 
type Rep ForwardingAddressVerificationStatus = D1 (MetaData "ForwardingAddressVerificationStatus" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) (C1 (MetaCons "Accepted" PrefixI False) U1) ((:+:) (C1 (MetaCons "Pending" PrefixI False) U1) (C1 (MetaCons "VerificationStatusUnspecified" PrefixI False) U1)))

FilterCriteria

data FilterCriteria Source #

Message matching criteria.

See: filterCriteria smart constructor.

Instances

Eq FilterCriteria Source # 
Data FilterCriteria Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FilterCriteria -> c FilterCriteria #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FilterCriteria #

toConstr :: FilterCriteria -> Constr #

dataTypeOf :: FilterCriteria -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c FilterCriteria) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FilterCriteria) #

gmapT :: (forall b. Data b => b -> b) -> FilterCriteria -> FilterCriteria #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FilterCriteria -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FilterCriteria -> r #

gmapQ :: (forall d. Data d => d -> u) -> FilterCriteria -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FilterCriteria -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FilterCriteria -> m FilterCriteria #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FilterCriteria -> m FilterCriteria #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FilterCriteria -> m FilterCriteria #

Show FilterCriteria Source # 
Generic FilterCriteria Source # 

Associated Types

type Rep FilterCriteria :: * -> * #

ToJSON FilterCriteria Source # 
FromJSON FilterCriteria Source # 
type Rep FilterCriteria Source # 

filterCriteria :: FilterCriteria Source #

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

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

fcSizeComparison :: Lens' FilterCriteria (Maybe FilterCriteriaSizeComparison) Source #

How the message size in bytes should be in relation to the size field.

fcSubject :: Lens' FilterCriteria (Maybe Text) Source #

Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.

fcSize :: Lens' FilterCriteria (Maybe Int32) Source #

The size of the entire RFC822 message in bytes, including all headers and attachments.

fcExcludeChats :: Lens' FilterCriteria (Maybe Bool) Source #

Whether the response should exclude chats.

fcTo :: Lens' FilterCriteria (Maybe Text) Source #

The recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the email address. For example, "example" and "example'" both match "example'gmail.com". This field is case-insensitive.

fcFrom :: Lens' FilterCriteria (Maybe Text) Source #

The sender's display name or email address.

fcQuery :: Lens' FilterCriteria (Maybe Text) Source #

Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser'example.com rfc822msgid: is:unread".

fcNegatedQuery :: Lens' FilterCriteria (Maybe Text) Source #

Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser'example.com rfc822msgid: is:unread".

fcHasAttachment :: Lens' FilterCriteria (Maybe Bool) Source #

Whether the message has any attachment.

ProFile

data ProFile Source #

Profile for a Gmail user.

See: proFile smart constructor.

Instances

Eq ProFile Source # 

Methods

(==) :: ProFile -> ProFile -> Bool #

(/=) :: ProFile -> ProFile -> Bool #

Data ProFile Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProFile -> c ProFile #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProFile #

toConstr :: ProFile -> Constr #

dataTypeOf :: ProFile -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ProFile) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProFile) #

gmapT :: (forall b. Data b => b -> b) -> ProFile -> ProFile #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProFile -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProFile -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProFile -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProFile -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProFile -> m ProFile #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProFile -> m ProFile #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProFile -> m ProFile #

Show ProFile Source # 
Generic ProFile Source # 

Associated Types

type Rep ProFile :: * -> * #

Methods

from :: ProFile -> Rep ProFile x #

to :: Rep ProFile x -> ProFile #

ToJSON ProFile Source # 
FromJSON ProFile Source # 
type Rep ProFile Source # 
type Rep ProFile = D1 (MetaData "ProFile" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "ProFile'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pfMessagesTotal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_pfThreadsTotal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) ((:*:) (S1 (MetaSel (Just Symbol "_pfHistoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))) (S1 (MetaSel (Just Symbol "_pfEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

proFile :: ProFile Source #

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

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

pfMessagesTotal :: Lens' ProFile (Maybe Int32) Source #

The total number of messages in the mailbox.

pfThreadsTotal :: Lens' ProFile (Maybe Int32) Source #

The total number of threads in the mailbox.

pfHistoryId :: Lens' ProFile (Maybe Word64) Source #

The ID of the mailbox's current history record.

pfEmailAddress :: Lens' ProFile (Maybe Text) Source #

The user's email address.

AutoForwardingDisPosition

data AutoForwardingDisPosition Source #

The state that a message should be left in after it has been forwarded.

Constructors

Archive
archive
DisPositionUnspecified
dispositionUnspecified
LeaveInInbox
leaveInInbox
MarkRead
markRead
Trash
trash

Instances

Enum AutoForwardingDisPosition Source # 
Eq AutoForwardingDisPosition Source # 
Data AutoForwardingDisPosition Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AutoForwardingDisPosition -> c AutoForwardingDisPosition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AutoForwardingDisPosition #

toConstr :: AutoForwardingDisPosition -> Constr #

dataTypeOf :: AutoForwardingDisPosition -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AutoForwardingDisPosition) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AutoForwardingDisPosition) #

gmapT :: (forall b. Data b => b -> b) -> AutoForwardingDisPosition -> AutoForwardingDisPosition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AutoForwardingDisPosition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AutoForwardingDisPosition -> r #

gmapQ :: (forall d. Data d => d -> u) -> AutoForwardingDisPosition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AutoForwardingDisPosition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AutoForwardingDisPosition -> m AutoForwardingDisPosition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AutoForwardingDisPosition -> m AutoForwardingDisPosition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AutoForwardingDisPosition -> m AutoForwardingDisPosition #

Ord AutoForwardingDisPosition Source # 
Read AutoForwardingDisPosition Source # 
Show AutoForwardingDisPosition Source # 
Generic AutoForwardingDisPosition Source # 
Hashable AutoForwardingDisPosition Source # 
ToJSON AutoForwardingDisPosition Source # 
FromJSON AutoForwardingDisPosition Source # 
FromHttpApiData AutoForwardingDisPosition Source # 
ToHttpApiData AutoForwardingDisPosition Source # 
type Rep AutoForwardingDisPosition Source # 
type Rep AutoForwardingDisPosition = D1 (MetaData "AutoForwardingDisPosition" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) ((:+:) (C1 (MetaCons "Archive" PrefixI False) U1) (C1 (MetaCons "DisPositionUnspecified" PrefixI False) U1)) ((:+:) (C1 (MetaCons "LeaveInInbox" PrefixI False) U1) ((:+:) (C1 (MetaCons "MarkRead" PrefixI False) U1) (C1 (MetaCons "Trash" PrefixI False) U1))))

MessagePartHeader

data MessagePartHeader Source #

Instances

Eq MessagePartHeader Source # 
Data MessagePartHeader Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MessagePartHeader -> c MessagePartHeader #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MessagePartHeader #

toConstr :: MessagePartHeader -> Constr #

dataTypeOf :: MessagePartHeader -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MessagePartHeader) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MessagePartHeader) #

gmapT :: (forall b. Data b => b -> b) -> MessagePartHeader -> MessagePartHeader #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MessagePartHeader -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MessagePartHeader -> r #

gmapQ :: (forall d. Data d => d -> u) -> MessagePartHeader -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MessagePartHeader -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MessagePartHeader -> m MessagePartHeader #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MessagePartHeader -> m MessagePartHeader #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MessagePartHeader -> m MessagePartHeader #

Show MessagePartHeader Source # 
Generic MessagePartHeader Source # 
ToJSON MessagePartHeader Source # 
FromJSON MessagePartHeader Source # 
type Rep MessagePartHeader Source # 
type Rep MessagePartHeader = D1 (MetaData "MessagePartHeader" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "MessagePartHeader'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mphValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mphName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

messagePartHeader :: MessagePartHeader Source #

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

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

mphValue :: Lens' MessagePartHeader (Maybe Text) Source #

The value of the header after the : separator. For example, someuser'example.com.

mphName :: Lens' MessagePartHeader (Maybe Text) Source #

The name of the header before the : separator. For example, To.

SendAsVerificationStatus

data SendAsVerificationStatus Source #

Indicates whether this address has been verified for use as a send-as alias. Read-only. This setting only applies to custom "from" aliases.

Constructors

SAVSAccepted
accepted
SAVSPending
pending
SAVSVerificationStatusUnspecified
verificationStatusUnspecified

Instances

Enum SendAsVerificationStatus Source # 
Eq SendAsVerificationStatus Source # 
Data SendAsVerificationStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SendAsVerificationStatus -> c SendAsVerificationStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SendAsVerificationStatus #

toConstr :: SendAsVerificationStatus -> Constr #

dataTypeOf :: SendAsVerificationStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SendAsVerificationStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SendAsVerificationStatus) #

gmapT :: (forall b. Data b => b -> b) -> SendAsVerificationStatus -> SendAsVerificationStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SendAsVerificationStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SendAsVerificationStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> SendAsVerificationStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SendAsVerificationStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SendAsVerificationStatus -> m SendAsVerificationStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SendAsVerificationStatus -> m SendAsVerificationStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SendAsVerificationStatus -> m SendAsVerificationStatus #

Ord SendAsVerificationStatus Source # 
Read SendAsVerificationStatus Source # 
Show SendAsVerificationStatus Source # 
Generic SendAsVerificationStatus Source # 
Hashable SendAsVerificationStatus Source # 
ToJSON SendAsVerificationStatus Source # 
FromJSON SendAsVerificationStatus Source # 
FromHttpApiData SendAsVerificationStatus Source # 
ToHttpApiData SendAsVerificationStatus Source # 
type Rep SendAsVerificationStatus Source # 
type Rep SendAsVerificationStatus = D1 (MetaData "SendAsVerificationStatus" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) (C1 (MetaCons "SAVSAccepted" PrefixI False) U1) ((:+:) (C1 (MetaCons "SAVSPending" PrefixI False) U1) (C1 (MetaCons "SAVSVerificationStatusUnspecified" PrefixI False) U1)))

ListHistoryResponse

data ListHistoryResponse Source #

Instances

Eq ListHistoryResponse Source # 
Data ListHistoryResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListHistoryResponse -> c ListHistoryResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListHistoryResponse #

toConstr :: ListHistoryResponse -> Constr #

dataTypeOf :: ListHistoryResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListHistoryResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListHistoryResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListHistoryResponse -> ListHistoryResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListHistoryResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListHistoryResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListHistoryResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListHistoryResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListHistoryResponse -> m ListHistoryResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListHistoryResponse -> m ListHistoryResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListHistoryResponse -> m ListHistoryResponse #

Show ListHistoryResponse Source # 
Generic ListHistoryResponse Source # 
ToJSON ListHistoryResponse Source # 
FromJSON ListHistoryResponse Source # 
type Rep ListHistoryResponse Source # 
type Rep ListHistoryResponse = D1 (MetaData "ListHistoryResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "ListHistoryResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lhrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lhrHistory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [History]))) (S1 (MetaSel (Just Symbol "_lhrHistoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))))))

listHistoryResponse :: ListHistoryResponse Source #

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

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

lhrNextPageToken :: Lens' ListHistoryResponse (Maybe Text) Source #

Page token to retrieve the next page of results in the list.

lhrHistory :: Lens' ListHistoryResponse [History] Source #

List of history records. Any messages contained in the response will typically only have id and threadId fields populated.

lhrHistoryId :: Lens' ListHistoryResponse (Maybe Word64) Source #

The ID of the mailbox's current history record.

SendAs

data SendAs Source #

Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom "from" address. Send-as aliases correspond to the "Send Mail As" feature in the web interface. See for more details.

See: sendAs smart constructor.

Instances

Eq SendAs Source # 

Methods

(==) :: SendAs -> SendAs -> Bool #

(/=) :: SendAs -> SendAs -> Bool #

Data SendAs Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SendAs -> c SendAs #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SendAs #

toConstr :: SendAs -> Constr #

dataTypeOf :: SendAs -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SendAs) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SendAs) #

gmapT :: (forall b. Data b => b -> b) -> SendAs -> SendAs #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SendAs -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SendAs -> r #

gmapQ :: (forall d. Data d => d -> u) -> SendAs -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SendAs -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SendAs -> m SendAs #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SendAs -> m SendAs #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SendAs -> m SendAs #

Show SendAs Source # 
Generic SendAs Source # 

Associated Types

type Rep SendAs :: * -> * #

Methods

from :: SendAs -> Rep SendAs x #

to :: Rep SendAs x -> SendAs #

ToJSON SendAs Source # 
FromJSON SendAs Source # 
type Rep SendAs Source # 

sendAs :: SendAs Source #

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

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

saSignature :: Lens' SendAs (Maybe Text) Source #

An optional HTML signature that is included in messages composed with this alias in the Gmail web UI.

saReplyToAddress :: Lens' SendAs (Maybe Text) Source #

An optional email address that is included in a "Reply-To:" header for mail sent using this alias. If this is empty, Gmail will not generate a "Reply-To:" header.

saTreatAsAlias :: Lens' SendAs (Maybe Bool) Source #

Whether Gmail should treat this address as an alias for the user's primary email address. See for more details. This setting only applies to custom "from" aliases.

saSendAsEmail :: Lens' SendAs (Maybe Text) Source #

The email address that appears in the "From:" header for mail sent using this alias. This is read-only for all operations except create.

saDisplayName :: Lens' SendAs (Maybe Text) Source #

A name that appears in the "From:" header for mail sent using this alias. For custom "from" addresses, when this is empty, Gmail will populate the "From:" header with the name that is used for the primary address associated with the account.

saVerificationStatus :: Lens' SendAs (Maybe SendAsVerificationStatus) Source #

Indicates whether this address has been verified for use as a send-as alias. Read-only. This setting only applies to custom "from" aliases.

saSmtpMsa :: Lens' SendAs (Maybe SmtpMsa) Source #

An optional SMTP service that will be used as an outbound relay for mail sent using this alias. If this is empty, outbound mail will be sent directly from Gmail's servers to the destination SMTP service. This setting only applies to custom "from" aliases.

saIsPrimary :: Lens' SendAs (Maybe Bool) Source #

Whether this address is the primary address used to login to the account. Every Gmail account has exactly one primary address, and it cannot be deleted from the collection of send-as aliases. This field is read-only.

saIsDefault :: Lens' SendAs (Maybe Bool) Source #

Whether this address is selected as the default "From:" address in situations such as composing a new message or sending a vacation auto-reply. Every Gmail account has exactly one default send-as address, so the only legal value that clients may write to this field is true. Changing this from false to true for an address will result in this field becoming false for the other previous default address.

LabelType

data LabelType Source #

The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.

Constructors

System
system
User
user

Instances

Enum LabelType Source # 
Eq LabelType Source # 
Data LabelType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LabelType -> c LabelType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LabelType #

toConstr :: LabelType -> Constr #

dataTypeOf :: LabelType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LabelType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LabelType) #

gmapT :: (forall b. Data b => b -> b) -> LabelType -> LabelType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LabelType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LabelType -> r #

gmapQ :: (forall d. Data d => d -> u) -> LabelType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LabelType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LabelType -> m LabelType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelType -> m LabelType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelType -> m LabelType #

Ord LabelType Source # 
Read LabelType Source # 
Show LabelType Source # 
Generic LabelType Source # 

Associated Types

type Rep LabelType :: * -> * #

Hashable LabelType Source # 
ToJSON LabelType Source # 
FromJSON LabelType Source # 
FromHttpApiData LabelType Source # 
ToHttpApiData LabelType Source # 
type Rep LabelType Source # 
type Rep LabelType = D1 (MetaData "LabelType" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) (C1 (MetaCons "System" PrefixI False) U1) (C1 (MetaCons "User" PrefixI False) U1))

UsersDraftsGetFormat

data UsersDraftsGetFormat Source #

The format to return the draft in.

Constructors

UDGFFull
full
UDGFMetadata
metadata
UDGFMinimal
minimal
UDGFRaw
raw

Instances

Enum UsersDraftsGetFormat Source # 
Eq UsersDraftsGetFormat Source # 
Data UsersDraftsGetFormat Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersDraftsGetFormat -> c UsersDraftsGetFormat #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersDraftsGetFormat #

toConstr :: UsersDraftsGetFormat -> Constr #

dataTypeOf :: UsersDraftsGetFormat -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UsersDraftsGetFormat) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersDraftsGetFormat) #

gmapT :: (forall b. Data b => b -> b) -> UsersDraftsGetFormat -> UsersDraftsGetFormat #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersDraftsGetFormat -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersDraftsGetFormat -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersDraftsGetFormat -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersDraftsGetFormat -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersDraftsGetFormat -> m UsersDraftsGetFormat #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersDraftsGetFormat -> m UsersDraftsGetFormat #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersDraftsGetFormat -> m UsersDraftsGetFormat #

Ord UsersDraftsGetFormat Source # 
Read UsersDraftsGetFormat Source # 
Show UsersDraftsGetFormat Source # 
Generic UsersDraftsGetFormat Source # 
Hashable UsersDraftsGetFormat Source # 
ToJSON UsersDraftsGetFormat Source # 
FromJSON UsersDraftsGetFormat Source # 
FromHttpApiData UsersDraftsGetFormat Source # 
ToHttpApiData UsersDraftsGetFormat Source # 
type Rep UsersDraftsGetFormat Source # 
type Rep UsersDraftsGetFormat = D1 (MetaData "UsersDraftsGetFormat" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) ((:+:) (C1 (MetaCons "UDGFFull" PrefixI False) U1) (C1 (MetaCons "UDGFMetadata" PrefixI False) U1)) ((:+:) (C1 (MetaCons "UDGFMinimal" PrefixI False) U1) (C1 (MetaCons "UDGFRaw" PrefixI False) U1)))

UsersMessagesImportInternalDateSource

data UsersMessagesImportInternalDateSource Source #

Source for Gmail's internal date of the message.

Constructors

DateHeader
dateHeader
ReceivedTime
receivedTime

Instances

Enum UsersMessagesImportInternalDateSource Source # 
Eq UsersMessagesImportInternalDateSource Source # 
Data UsersMessagesImportInternalDateSource Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersMessagesImportInternalDateSource -> c UsersMessagesImportInternalDateSource #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersMessagesImportInternalDateSource #

toConstr :: UsersMessagesImportInternalDateSource -> Constr #

dataTypeOf :: UsersMessagesImportInternalDateSource -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UsersMessagesImportInternalDateSource) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersMessagesImportInternalDateSource) #

gmapT :: (forall b. Data b => b -> b) -> UsersMessagesImportInternalDateSource -> UsersMessagesImportInternalDateSource #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersMessagesImportInternalDateSource -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersMessagesImportInternalDateSource -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersMessagesImportInternalDateSource -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersMessagesImportInternalDateSource -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersMessagesImportInternalDateSource -> m UsersMessagesImportInternalDateSource #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersMessagesImportInternalDateSource -> m UsersMessagesImportInternalDateSource #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersMessagesImportInternalDateSource -> m UsersMessagesImportInternalDateSource #

Ord UsersMessagesImportInternalDateSource Source # 
Read UsersMessagesImportInternalDateSource Source # 
Show UsersMessagesImportInternalDateSource Source # 
Generic UsersMessagesImportInternalDateSource Source # 
Hashable UsersMessagesImportInternalDateSource Source # 
ToJSON UsersMessagesImportInternalDateSource Source # 
FromJSON UsersMessagesImportInternalDateSource Source # 
FromHttpApiData UsersMessagesImportInternalDateSource Source # 
ToHttpApiData UsersMessagesImportInternalDateSource Source # 
type Rep UsersMessagesImportInternalDateSource Source # 
type Rep UsersMessagesImportInternalDateSource = D1 (MetaData "UsersMessagesImportInternalDateSource" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) (C1 (MetaCons "DateHeader" PrefixI False) U1) (C1 (MetaCons "ReceivedTime" PrefixI False) U1))

LabelMessageListVisibility

data LabelMessageListVisibility Source #

The visibility of the label in the message list in the Gmail web interface.

Constructors

Hide
hide
Show
show

Instances

Enum LabelMessageListVisibility Source # 
Eq LabelMessageListVisibility Source # 
Data LabelMessageListVisibility Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LabelMessageListVisibility -> c LabelMessageListVisibility #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LabelMessageListVisibility #

toConstr :: LabelMessageListVisibility -> Constr #

dataTypeOf :: LabelMessageListVisibility -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LabelMessageListVisibility) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LabelMessageListVisibility) #

gmapT :: (forall b. Data b => b -> b) -> LabelMessageListVisibility -> LabelMessageListVisibility #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LabelMessageListVisibility -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LabelMessageListVisibility -> r #

gmapQ :: (forall d. Data d => d -> u) -> LabelMessageListVisibility -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LabelMessageListVisibility -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LabelMessageListVisibility -> m LabelMessageListVisibility #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelMessageListVisibility -> m LabelMessageListVisibility #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelMessageListVisibility -> m LabelMessageListVisibility #

Ord LabelMessageListVisibility Source # 
Read LabelMessageListVisibility Source # 
Show LabelMessageListVisibility Source # 
Generic LabelMessageListVisibility Source # 
Hashable LabelMessageListVisibility Source # 
ToJSON LabelMessageListVisibility Source # 
FromJSON LabelMessageListVisibility Source # 
FromHttpApiData LabelMessageListVisibility Source # 
ToHttpApiData LabelMessageListVisibility Source # 
type Rep LabelMessageListVisibility Source # 
type Rep LabelMessageListVisibility = D1 (MetaData "LabelMessageListVisibility" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) (C1 (MetaCons "Hide" PrefixI False) U1) (C1 (MetaCons "Show" PrefixI False) U1))

ListThreadsResponse

data ListThreadsResponse Source #

Instances

Eq ListThreadsResponse Source # 
Data ListThreadsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListThreadsResponse -> c ListThreadsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListThreadsResponse #

toConstr :: ListThreadsResponse -> Constr #

dataTypeOf :: ListThreadsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListThreadsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListThreadsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListThreadsResponse -> ListThreadsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListThreadsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListThreadsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListThreadsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListThreadsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListThreadsResponse -> m ListThreadsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListThreadsResponse -> m ListThreadsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListThreadsResponse -> m ListThreadsResponse #

Show ListThreadsResponse Source # 
Generic ListThreadsResponse Source # 
ToJSON ListThreadsResponse Source # 
FromJSON ListThreadsResponse Source # 
type Rep ListThreadsResponse Source # 
type Rep ListThreadsResponse = D1 (MetaData "ListThreadsResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "ListThreadsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ltrResultSizeEstimate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))) (S1 (MetaSel (Just Symbol "_ltrThreads") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Thread]))))))

listThreadsResponse :: ListThreadsResponse Source #

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

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

ltrNextPageToken :: Lens' ListThreadsResponse (Maybe Text) Source #

Page token to retrieve the next page of results in the list.

ltrResultSizeEstimate :: Lens' ListThreadsResponse (Maybe Word32) Source #

Estimated total number of results.

MessagePart

data MessagePart Source #

A single MIME message part.

See: messagePart smart constructor.

Instances

Eq MessagePart Source # 
Data MessagePart Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MessagePart -> c MessagePart #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MessagePart #

toConstr :: MessagePart -> Constr #

dataTypeOf :: MessagePart -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MessagePart) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MessagePart) #

gmapT :: (forall b. Data b => b -> b) -> MessagePart -> MessagePart #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MessagePart -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MessagePart -> r #

gmapQ :: (forall d. Data d => d -> u) -> MessagePart -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MessagePart -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MessagePart -> m MessagePart #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MessagePart -> m MessagePart #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MessagePart -> m MessagePart #

Show MessagePart Source # 
Generic MessagePart Source # 

Associated Types

type Rep MessagePart :: * -> * #

ToJSON MessagePart Source # 
FromJSON MessagePart Source # 
type Rep MessagePart Source # 

messagePart :: MessagePart Source #

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

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

mpParts :: Lens' MessagePart [MessagePart] Source #

The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.

mpBody :: Lens' MessagePart (Maybe MessagePartBody) Source #

The message part body for this part, which may be empty for container MIME message parts.

mpMimeType :: Lens' MessagePart (Maybe Text) Source #

The MIME type of the message part.

mpHeaders :: Lens' MessagePart [MessagePartHeader] Source #

List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.

mpPartId :: Lens' MessagePart (Maybe Text) Source #

The immutable ID of the message part.

mpFilename :: Lens' MessagePart (Maybe Text) Source #

The filename of the attachment. Only present if this message part represents an attachment.

HistoryLabelAdded

data HistoryLabelAdded Source #

Instances

Eq HistoryLabelAdded Source # 
Data HistoryLabelAdded Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HistoryLabelAdded -> c HistoryLabelAdded #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HistoryLabelAdded #

toConstr :: HistoryLabelAdded -> Constr #

dataTypeOf :: HistoryLabelAdded -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HistoryLabelAdded) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HistoryLabelAdded) #

gmapT :: (forall b. Data b => b -> b) -> HistoryLabelAdded -> HistoryLabelAdded #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HistoryLabelAdded -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HistoryLabelAdded -> r #

gmapQ :: (forall d. Data d => d -> u) -> HistoryLabelAdded -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HistoryLabelAdded -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HistoryLabelAdded -> m HistoryLabelAdded #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HistoryLabelAdded -> m HistoryLabelAdded #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HistoryLabelAdded -> m HistoryLabelAdded #

Show HistoryLabelAdded Source # 
Generic HistoryLabelAdded Source # 
ToJSON HistoryLabelAdded Source # 
FromJSON HistoryLabelAdded Source # 
type Rep HistoryLabelAdded Source # 
type Rep HistoryLabelAdded = D1 (MetaData "HistoryLabelAdded" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "HistoryLabelAdded'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_hlaLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_hlaMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Message)))))

historyLabelAdded :: HistoryLabelAdded Source #

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

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

hlaLabelIds :: Lens' HistoryLabelAdded [Text] Source #

Label IDs added to the message.

ListLabelsResponse

data ListLabelsResponse Source #

Instances

Eq ListLabelsResponse Source # 
Data ListLabelsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListLabelsResponse -> c ListLabelsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListLabelsResponse #

toConstr :: ListLabelsResponse -> Constr #

dataTypeOf :: ListLabelsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListLabelsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListLabelsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListLabelsResponse -> ListLabelsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListLabelsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListLabelsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListLabelsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListLabelsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListLabelsResponse -> m ListLabelsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListLabelsResponse -> m ListLabelsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListLabelsResponse -> m ListLabelsResponse #

Show ListLabelsResponse Source # 
Generic ListLabelsResponse Source # 
ToJSON ListLabelsResponse Source # 
FromJSON ListLabelsResponse Source # 
type Rep ListLabelsResponse Source # 
type Rep ListLabelsResponse = D1 (MetaData "ListLabelsResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" True) (C1 (MetaCons "ListLabelsResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_llrLabels") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Label]))))

listLabelsResponse :: ListLabelsResponse Source #

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

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

VacationSettings

data VacationSettings Source #

Vacation auto-reply settings for an account. These settings correspond to the "Vacation responder" feature in the web interface. See for more details.

See: vacationSettings smart constructor.

Instances

Eq VacationSettings Source # 
Data VacationSettings Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VacationSettings -> c VacationSettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VacationSettings #

toConstr :: VacationSettings -> Constr #

dataTypeOf :: VacationSettings -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c VacationSettings) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VacationSettings) #

gmapT :: (forall b. Data b => b -> b) -> VacationSettings -> VacationSettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VacationSettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VacationSettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> VacationSettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VacationSettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VacationSettings -> m VacationSettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VacationSettings -> m VacationSettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VacationSettings -> m VacationSettings #

Show VacationSettings Source # 
Generic VacationSettings Source # 
ToJSON VacationSettings Source # 
FromJSON VacationSettings Source # 
type Rep VacationSettings Source # 
type Rep VacationSettings = D1 (MetaData "VacationSettings" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "VacationSettings'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_vsEnableAutoReply") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_vsResponseBodyPlainText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_vsRestrictToDomain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_vsStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_vsResponseBodyHTML") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_vsRestrictToContacts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_vsResponseSubject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_vsEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))))

vacationSettings :: VacationSettings Source #

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

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

vsEnableAutoReply :: Lens' VacationSettings (Maybe Bool) Source #

Flag that controls whether Gmail automatically replies to messages.

vsResponseBodyPlainText :: Lens' VacationSettings (Maybe Text) Source #

Response body in plain text format.

vsRestrictToDomain :: Lens' VacationSettings (Maybe Bool) Source #

Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for Google Apps users.

vsStartTime :: Lens' VacationSettings (Maybe Int64) Source #

An optional start time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives after the start time. If both startTime and endTime are specified, startTime must precede endTime.

vsResponseBodyHTML :: Lens' VacationSettings (Maybe Text) Source #

Response body in HTML format. Gmail will sanitize the HTML before storing it.

vsRestrictToContacts :: Lens' VacationSettings (Maybe Bool) Source #

Flag that determines whether responses are sent to recipients who are not in the user's list of contacts.

vsResponseSubject :: Lens' VacationSettings (Maybe Text) Source #

Optional text to prepend to the subject line in vacation responses. In order to enable auto-replies, either the response subject or the response body must be nonempty.

vsEndTime :: Lens' VacationSettings (Maybe Int64) Source #

An optional end time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives before the end time. If both startTime and endTime are specified, startTime must precede endTime.

LabelLabelListVisibility

data LabelLabelListVisibility Source #

The visibility of the label in the label list in the Gmail web interface.

Constructors

LabelHide
labelHide
LabelShow
labelShow
LabelShowIfUnread
labelShowIfUnread

Instances

Enum LabelLabelListVisibility Source # 
Eq LabelLabelListVisibility Source # 
Data LabelLabelListVisibility Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LabelLabelListVisibility -> c LabelLabelListVisibility #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LabelLabelListVisibility #

toConstr :: LabelLabelListVisibility -> Constr #

dataTypeOf :: LabelLabelListVisibility -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LabelLabelListVisibility) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LabelLabelListVisibility) #

gmapT :: (forall b. Data b => b -> b) -> LabelLabelListVisibility -> LabelLabelListVisibility #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LabelLabelListVisibility -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LabelLabelListVisibility -> r #

gmapQ :: (forall d. Data d => d -> u) -> LabelLabelListVisibility -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LabelLabelListVisibility -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LabelLabelListVisibility -> m LabelLabelListVisibility #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelLabelListVisibility -> m LabelLabelListVisibility #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelLabelListVisibility -> m LabelLabelListVisibility #

Ord LabelLabelListVisibility Source # 
Read LabelLabelListVisibility Source # 
Show LabelLabelListVisibility Source # 
Generic LabelLabelListVisibility Source # 
Hashable LabelLabelListVisibility Source # 
ToJSON LabelLabelListVisibility Source # 
FromJSON LabelLabelListVisibility Source # 
FromHttpApiData LabelLabelListVisibility Source # 
ToHttpApiData LabelLabelListVisibility Source # 
type Rep LabelLabelListVisibility Source # 
type Rep LabelLabelListVisibility = D1 (MetaData "LabelLabelListVisibility" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) (C1 (MetaCons "LabelHide" PrefixI False) U1) ((:+:) (C1 (MetaCons "LabelShow" PrefixI False) U1) (C1 (MetaCons "LabelShowIfUnread" PrefixI False) U1)))

HistoryMessageDeleted

data HistoryMessageDeleted Source #

Instances

Eq HistoryMessageDeleted Source # 
Data HistoryMessageDeleted Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HistoryMessageDeleted -> c HistoryMessageDeleted #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HistoryMessageDeleted #

toConstr :: HistoryMessageDeleted -> Constr #

dataTypeOf :: HistoryMessageDeleted -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HistoryMessageDeleted) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HistoryMessageDeleted) #

gmapT :: (forall b. Data b => b -> b) -> HistoryMessageDeleted -> HistoryMessageDeleted #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HistoryMessageDeleted -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HistoryMessageDeleted -> r #

gmapQ :: (forall d. Data d => d -> u) -> HistoryMessageDeleted -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HistoryMessageDeleted -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HistoryMessageDeleted -> m HistoryMessageDeleted #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HistoryMessageDeleted -> m HistoryMessageDeleted #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HistoryMessageDeleted -> m HistoryMessageDeleted #

Show HistoryMessageDeleted Source # 
Generic HistoryMessageDeleted Source # 
ToJSON HistoryMessageDeleted Source # 
FromJSON HistoryMessageDeleted Source # 
type Rep HistoryMessageDeleted Source # 
type Rep HistoryMessageDeleted = D1 (MetaData "HistoryMessageDeleted" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" True) (C1 (MetaCons "HistoryMessageDeleted'" PrefixI True) (S1 (MetaSel (Just Symbol "_hmdMessage") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Message))))

historyMessageDeleted :: HistoryMessageDeleted Source #

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

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

MessagePartBody

data MessagePartBody Source #

The body of a single MIME message part.

See: messagePartBody smart constructor.

Instances

Eq MessagePartBody Source # 
Data MessagePartBody Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MessagePartBody -> c MessagePartBody #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MessagePartBody #

toConstr :: MessagePartBody -> Constr #

dataTypeOf :: MessagePartBody -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MessagePartBody) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MessagePartBody) #

gmapT :: (forall b. Data b => b -> b) -> MessagePartBody -> MessagePartBody #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MessagePartBody -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MessagePartBody -> r #

gmapQ :: (forall d. Data d => d -> u) -> MessagePartBody -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MessagePartBody -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MessagePartBody -> m MessagePartBody #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MessagePartBody -> m MessagePartBody #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MessagePartBody -> m MessagePartBody #

Show MessagePartBody Source # 
Generic MessagePartBody Source # 
ToJSON MessagePartBody Source # 
FromJSON MessagePartBody Source # 
type Rep MessagePartBody Source # 
type Rep MessagePartBody = D1 (MetaData "MessagePartBody" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "MessagePartBody'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mpbSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) ((:*:) (S1 (MetaSel (Just Symbol "_mpbData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Base64))) (S1 (MetaSel (Just Symbol "_mpbAttachmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

messagePartBody :: MessagePartBody Source #

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

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

mpbSize :: Lens' MessagePartBody (Maybe Int32) Source #

Total number of bytes in the body of the message part.

mpbData :: Lens' MessagePartBody (Maybe ByteString) Source #

The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.

mpbAttachmentId :: Lens' MessagePartBody (Maybe Text) Source #

When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.

AutoForwarding

data AutoForwarding Source #

Auto-forwarding settings for an account.

See: autoForwarding smart constructor.

Instances

Eq AutoForwarding Source # 
Data AutoForwarding Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AutoForwarding -> c AutoForwarding #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AutoForwarding #

toConstr :: AutoForwarding -> Constr #

dataTypeOf :: AutoForwarding -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AutoForwarding) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AutoForwarding) #

gmapT :: (forall b. Data b => b -> b) -> AutoForwarding -> AutoForwarding #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AutoForwarding -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AutoForwarding -> r #

gmapQ :: (forall d. Data d => d -> u) -> AutoForwarding -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AutoForwarding -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AutoForwarding -> m AutoForwarding #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AutoForwarding -> m AutoForwarding #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AutoForwarding -> m AutoForwarding #

Show AutoForwarding Source # 
Generic AutoForwarding Source # 

Associated Types

type Rep AutoForwarding :: * -> * #

ToJSON AutoForwarding Source # 
FromJSON AutoForwarding Source # 
type Rep AutoForwarding Source # 
type Rep AutoForwarding = D1 (MetaData "AutoForwarding" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "AutoForwarding'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_afEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_afDisPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AutoForwardingDisPosition))) (S1 (MetaSel (Just Symbol "_afEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

autoForwarding :: AutoForwarding Source #

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

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

afEnabled :: Lens' AutoForwarding (Maybe Bool) Source #

Whether all incoming mail is automatically forwarded to another address.

afDisPosition :: Lens' AutoForwarding (Maybe AutoForwardingDisPosition) Source #

The state that a message should be left in after it has been forwarded.

afEmailAddress :: Lens' AutoForwarding (Maybe Text) Source #

Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses.

ListDraftsResponse

data ListDraftsResponse Source #

Instances

Eq ListDraftsResponse Source # 
Data ListDraftsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListDraftsResponse -> c ListDraftsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListDraftsResponse #

toConstr :: ListDraftsResponse -> Constr #

dataTypeOf :: ListDraftsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListDraftsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListDraftsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListDraftsResponse -> ListDraftsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListDraftsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListDraftsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListDraftsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListDraftsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListDraftsResponse -> m ListDraftsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListDraftsResponse -> m ListDraftsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListDraftsResponse -> m ListDraftsResponse #

Show ListDraftsResponse Source # 
Generic ListDraftsResponse Source # 
ToJSON ListDraftsResponse Source # 
FromJSON ListDraftsResponse Source # 
type Rep ListDraftsResponse Source # 
type Rep ListDraftsResponse = D1 (MetaData "ListDraftsResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "ListDraftsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ldrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ldrResultSizeEstimate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))) (S1 (MetaSel (Just Symbol "_ldrDrafts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Draft]))))))

listDraftsResponse :: ListDraftsResponse Source #

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

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

ldrNextPageToken :: Lens' ListDraftsResponse (Maybe Text) Source #

Token to retrieve the next page of results in the list.

ldrResultSizeEstimate :: Lens' ListDraftsResponse (Maybe Word32) Source #

Estimated total number of results.

ListSendAsResponse

data ListSendAsResponse Source #

Response for the ListSendAs method.

See: listSendAsResponse smart constructor.

Instances

Eq ListSendAsResponse Source # 
Data ListSendAsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListSendAsResponse -> c ListSendAsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListSendAsResponse #

toConstr :: ListSendAsResponse -> Constr #

dataTypeOf :: ListSendAsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListSendAsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListSendAsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListSendAsResponse -> ListSendAsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListSendAsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListSendAsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListSendAsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListSendAsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListSendAsResponse -> m ListSendAsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListSendAsResponse -> m ListSendAsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListSendAsResponse -> m ListSendAsResponse #

Show ListSendAsResponse Source # 
Generic ListSendAsResponse Source # 
ToJSON ListSendAsResponse Source # 
FromJSON ListSendAsResponse Source # 
type Rep ListSendAsResponse Source # 
type Rep ListSendAsResponse = D1 (MetaData "ListSendAsResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" True) (C1 (MetaCons "ListSendAsResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_lsarSendAs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [SendAs]))))

listSendAsResponse :: ListSendAsResponse Source #

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

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

lsarSendAs :: Lens' ListSendAsResponse [SendAs] Source #

List of send-as aliases.

WatchResponse

data WatchResponse Source #

Push notification watch response.

See: watchResponse smart constructor.

Instances

Eq WatchResponse Source # 
Data WatchResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WatchResponse -> c WatchResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WatchResponse #

toConstr :: WatchResponse -> Constr #

dataTypeOf :: WatchResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c WatchResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WatchResponse) #

gmapT :: (forall b. Data b => b -> b) -> WatchResponse -> WatchResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WatchResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WatchResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> WatchResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> WatchResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> WatchResponse -> m WatchResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WatchResponse -> m WatchResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WatchResponse -> m WatchResponse #

Show WatchResponse Source # 
Generic WatchResponse Source # 

Associated Types

type Rep WatchResponse :: * -> * #

ToJSON WatchResponse Source # 
FromJSON WatchResponse Source # 
type Rep WatchResponse Source # 
type Rep WatchResponse = D1 (MetaData "WatchResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "WatchResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_wrExpiration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_wrHistoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64))))))

watchResponse :: WatchResponse Source #

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

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

wrExpiration :: Lens' WatchResponse (Maybe Int64) Source #

When Gmail will stop sending notifications for mailbox updates (epoch millis). Call watch again before this time to renew the watch.

wrHistoryId :: Lens' WatchResponse (Maybe Word64) Source #

The ID of the mailbox's current history record.

UsersThreadsGetFormat

data UsersThreadsGetFormat Source #

The format to return the messages in.

Constructors

UTGFFull
full
UTGFMetadata
metadata
UTGFMinimal
minimal

Instances

Enum UsersThreadsGetFormat Source # 
Eq UsersThreadsGetFormat Source # 
Data UsersThreadsGetFormat Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersThreadsGetFormat -> c UsersThreadsGetFormat #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersThreadsGetFormat #

toConstr :: UsersThreadsGetFormat -> Constr #

dataTypeOf :: UsersThreadsGetFormat -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UsersThreadsGetFormat) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersThreadsGetFormat) #

gmapT :: (forall b. Data b => b -> b) -> UsersThreadsGetFormat -> UsersThreadsGetFormat #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersThreadsGetFormat -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersThreadsGetFormat -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersThreadsGetFormat -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersThreadsGetFormat -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersThreadsGetFormat -> m UsersThreadsGetFormat #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersThreadsGetFormat -> m UsersThreadsGetFormat #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersThreadsGetFormat -> m UsersThreadsGetFormat #

Ord UsersThreadsGetFormat Source # 
Read UsersThreadsGetFormat Source # 
Show UsersThreadsGetFormat Source # 
Generic UsersThreadsGetFormat Source # 
Hashable UsersThreadsGetFormat Source # 
ToJSON UsersThreadsGetFormat Source # 
FromJSON UsersThreadsGetFormat Source # 
FromHttpApiData UsersThreadsGetFormat Source # 
ToHttpApiData UsersThreadsGetFormat Source # 
type Rep UsersThreadsGetFormat Source # 
type Rep UsersThreadsGetFormat = D1 (MetaData "UsersThreadsGetFormat" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) (C1 (MetaCons "UTGFFull" PrefixI False) U1) ((:+:) (C1 (MetaCons "UTGFMetadata" PrefixI False) U1) (C1 (MetaCons "UTGFMinimal" PrefixI False) U1)))

Draft

data Draft Source #

A draft email in the user's mailbox.

See: draft smart constructor.

Instances

Eq Draft Source # 

Methods

(==) :: Draft -> Draft -> Bool #

(/=) :: Draft -> Draft -> Bool #

Data Draft Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Draft -> c Draft #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Draft #

toConstr :: Draft -> Constr #

dataTypeOf :: Draft -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Draft) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Draft) #

gmapT :: (forall b. Data b => b -> b) -> Draft -> Draft #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Draft -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Draft -> r #

gmapQ :: (forall d. Data d => d -> u) -> Draft -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Draft -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Draft -> m Draft #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Draft -> m Draft #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Draft -> m Draft #

Show Draft Source # 

Methods

showsPrec :: Int -> Draft -> ShowS #

show :: Draft -> String #

showList :: [Draft] -> ShowS #

Generic Draft Source # 

Associated Types

type Rep Draft :: * -> * #

Methods

from :: Draft -> Rep Draft x #

to :: Rep Draft x -> Draft #

ToJSON Draft Source # 
FromJSON Draft Source # 
type Rep Draft Source # 
type Rep Draft = D1 (MetaData "Draft" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "Draft'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Message)))))

draft :: Draft Source #

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

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

dId :: Lens' Draft (Maybe Text) Source #

The immutable ID of the draft.

dMessage :: Lens' Draft (Maybe Message) Source #

The message content of the draft.

SmtpMsa

data SmtpMsa Source #

Configuration for communication with an SMTP service.

See: smtpMsa smart constructor.

Instances

Eq SmtpMsa Source # 

Methods

(==) :: SmtpMsa -> SmtpMsa -> Bool #

(/=) :: SmtpMsa -> SmtpMsa -> Bool #

Data SmtpMsa Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SmtpMsa -> c SmtpMsa #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SmtpMsa #

toConstr :: SmtpMsa -> Constr #

dataTypeOf :: SmtpMsa -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SmtpMsa) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SmtpMsa) #

gmapT :: (forall b. Data b => b -> b) -> SmtpMsa -> SmtpMsa #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SmtpMsa -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SmtpMsa -> r #

gmapQ :: (forall d. Data d => d -> u) -> SmtpMsa -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SmtpMsa -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SmtpMsa -> m SmtpMsa #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SmtpMsa -> m SmtpMsa #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SmtpMsa -> m SmtpMsa #

Show SmtpMsa Source # 
Generic SmtpMsa Source # 

Associated Types

type Rep SmtpMsa :: * -> * #

Methods

from :: SmtpMsa -> Rep SmtpMsa x #

to :: Rep SmtpMsa x -> SmtpMsa #

ToJSON SmtpMsa Source # 
FromJSON SmtpMsa Source # 
type Rep SmtpMsa Source # 

smtpMsa :: SmtpMsa Source #

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

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

smSecurityMode :: Lens' SmtpMsa (Maybe SmtpMsaSecurityMode) Source #

The protocol that will be used to secure communication with the SMTP service. Required.

smUsername :: Lens' SmtpMsa (Maybe Text) Source #

The username that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in responses.

smPassword :: Lens' SmtpMsa (Maybe Text) Source #

The password that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in responses.

smHost :: Lens' SmtpMsa (Maybe Text) Source #

The hostname of the SMTP service. Required.

smPort :: Lens' SmtpMsa (Maybe Int32) Source #

The port of the SMTP service. Required.

ForwardingAddress

data ForwardingAddress Source #

Settings for a forwarding address.

See: forwardingAddress smart constructor.

Instances

Eq ForwardingAddress Source # 
Data ForwardingAddress Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ForwardingAddress -> c ForwardingAddress #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ForwardingAddress #

toConstr :: ForwardingAddress -> Constr #

dataTypeOf :: ForwardingAddress -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ForwardingAddress) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ForwardingAddress) #

gmapT :: (forall b. Data b => b -> b) -> ForwardingAddress -> ForwardingAddress #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ForwardingAddress -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ForwardingAddress -> r #

gmapQ :: (forall d. Data d => d -> u) -> ForwardingAddress -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ForwardingAddress -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ForwardingAddress -> m ForwardingAddress #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ForwardingAddress -> m ForwardingAddress #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ForwardingAddress -> m ForwardingAddress #

Show ForwardingAddress Source # 
Generic ForwardingAddress Source # 
ToJSON ForwardingAddress Source # 
FromJSON ForwardingAddress Source # 
type Rep ForwardingAddress Source # 
type Rep ForwardingAddress = D1 (MetaData "ForwardingAddress" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "ForwardingAddress'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_faForwardingEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_faVerificationStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ForwardingAddressVerificationStatus)))))

forwardingAddress :: ForwardingAddress Source #

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

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

faForwardingEmail :: Lens' ForwardingAddress (Maybe Text) Source #

An email address to which messages can be forwarded.

faVerificationStatus :: Lens' ForwardingAddress (Maybe ForwardingAddressVerificationStatus) Source #

Indicates whether this address has been verified and is usable for forwarding. Read-only.

PopSettingsDisPosition

data PopSettingsDisPosition Source #

The action that will be executed on a message after it has been fetched via POP.

Constructors

PSDPArchive
archive
PSDPDisPositionUnspecified
dispositionUnspecified
PSDPLeaveInInbox
leaveInInbox
PSDPMarkRead
markRead
PSDPTrash
trash

Instances

Enum PopSettingsDisPosition Source # 
Eq PopSettingsDisPosition Source # 
Data PopSettingsDisPosition Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PopSettingsDisPosition -> c PopSettingsDisPosition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PopSettingsDisPosition #

toConstr :: PopSettingsDisPosition -> Constr #

dataTypeOf :: PopSettingsDisPosition -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PopSettingsDisPosition) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PopSettingsDisPosition) #

gmapT :: (forall b. Data b => b -> b) -> PopSettingsDisPosition -> PopSettingsDisPosition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PopSettingsDisPosition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PopSettingsDisPosition -> r #

gmapQ :: (forall d. Data d => d -> u) -> PopSettingsDisPosition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PopSettingsDisPosition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PopSettingsDisPosition -> m PopSettingsDisPosition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PopSettingsDisPosition -> m PopSettingsDisPosition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PopSettingsDisPosition -> m PopSettingsDisPosition #

Ord PopSettingsDisPosition Source # 
Read PopSettingsDisPosition Source # 
Show PopSettingsDisPosition Source # 
Generic PopSettingsDisPosition Source # 
Hashable PopSettingsDisPosition Source # 
ToJSON PopSettingsDisPosition Source # 
FromJSON PopSettingsDisPosition Source # 
FromHttpApiData PopSettingsDisPosition Source # 
ToHttpApiData PopSettingsDisPosition Source # 
type Rep PopSettingsDisPosition Source # 
type Rep PopSettingsDisPosition = D1 (MetaData "PopSettingsDisPosition" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) ((:+:) (C1 (MetaCons "PSDPArchive" PrefixI False) U1) (C1 (MetaCons "PSDPDisPositionUnspecified" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PSDPLeaveInInbox" PrefixI False) U1) ((:+:) (C1 (MetaCons "PSDPMarkRead" PrefixI False) U1) (C1 (MetaCons "PSDPTrash" PrefixI False) U1))))

Filter

data Filter Source #

Resource definition for Gmail filters. Filters apply to specific messages instead of an entire email thread.

See: filter' smart constructor.

Instances

Eq Filter Source # 

Methods

(==) :: Filter -> Filter -> Bool #

(/=) :: Filter -> Filter -> Bool #

Data Filter Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Filter -> c Filter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Filter #

toConstr :: Filter -> Constr #

dataTypeOf :: Filter -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Filter) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Filter) #

gmapT :: (forall b. Data b => b -> b) -> Filter -> Filter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Filter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Filter -> r #

gmapQ :: (forall d. Data d => d -> u) -> Filter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Filter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Filter -> m Filter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Filter -> m Filter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Filter -> m Filter #

Show Filter Source # 
Generic Filter Source # 

Associated Types

type Rep Filter :: * -> * #

Methods

from :: Filter -> Rep Filter x #

to :: Rep Filter x -> Filter #

ToJSON Filter Source # 
FromJSON Filter Source # 
type Rep Filter Source # 
type Rep Filter = D1 (MetaData "Filter" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "Filter'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_fAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FilterAction))) ((:*:) (S1 (MetaSel (Just Symbol "_fId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_fCriteria") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FilterCriteria))))))

filter' :: Filter Source #

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

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

fAction :: Lens' Filter (Maybe FilterAction) Source #

Action that the filter performs.

fId :: Lens' Filter (Maybe Text) Source #

The server assigned ID of the filter.

fCriteria :: Lens' Filter (Maybe FilterCriteria) Source #

Matching criteria for the filter.

WatchRequest

data WatchRequest Source #

Set up or update a new push notification watch on this user's mailbox.

See: watchRequest smart constructor.

Instances

Eq WatchRequest Source # 
Data WatchRequest Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WatchRequest -> c WatchRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WatchRequest #

toConstr :: WatchRequest -> Constr #

dataTypeOf :: WatchRequest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c WatchRequest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WatchRequest) #

gmapT :: (forall b. Data b => b -> b) -> WatchRequest -> WatchRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WatchRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WatchRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> WatchRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> WatchRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> WatchRequest -> m WatchRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WatchRequest -> m WatchRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WatchRequest -> m WatchRequest #

Show WatchRequest Source # 
Generic WatchRequest Source # 

Associated Types

type Rep WatchRequest :: * -> * #

ToJSON WatchRequest Source # 
FromJSON WatchRequest Source # 
type Rep WatchRequest Source # 
type Rep WatchRequest = D1 (MetaData "WatchRequest" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "WatchRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_wrLabelFilterAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe WatchRequestLabelFilterAction))) ((:*:) (S1 (MetaSel (Just Symbol "_wrTopicName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_wrLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))

watchRequest :: WatchRequest Source #

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

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

wrLabelFilterAction :: Lens' WatchRequest (Maybe WatchRequestLabelFilterAction) Source #

Filtering behavior of labelIds list specified.

wrTopicName :: Lens' WatchRequest (Maybe Text) Source #

A fully qualified Google Cloud Pub/Sub API topic name to publish the events to. This topic name **must** already exist in Cloud Pub/Sub and you **must** have already granted gmail "publish" permission on it. For example, "projects/my-project-identifier/topics/my-topic-name" (using the Cloud Pub/Sub "v1" topic naming format). Note that the "my-project-identifier" portion must exactly match your Google developer project id (the one executing this watch request).

wrLabelIds :: Lens' WatchRequest [Text] Source #

List of label_ids to restrict notifications about. By default, if unspecified, all changes are pushed out. If specified then dictates which labels are required for a push notification to be generated.

WatchRequestLabelFilterAction

data WatchRequestLabelFilterAction Source #

Filtering behavior of labelIds list specified.

Constructors

Exclude
exclude
Include
include

Instances

Enum WatchRequestLabelFilterAction Source # 
Eq WatchRequestLabelFilterAction Source # 
Data WatchRequestLabelFilterAction Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WatchRequestLabelFilterAction -> c WatchRequestLabelFilterAction #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WatchRequestLabelFilterAction #

toConstr :: WatchRequestLabelFilterAction -> Constr #

dataTypeOf :: WatchRequestLabelFilterAction -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c WatchRequestLabelFilterAction) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WatchRequestLabelFilterAction) #

gmapT :: (forall b. Data b => b -> b) -> WatchRequestLabelFilterAction -> WatchRequestLabelFilterAction #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WatchRequestLabelFilterAction -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WatchRequestLabelFilterAction -> r #

gmapQ :: (forall d. Data d => d -> u) -> WatchRequestLabelFilterAction -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> WatchRequestLabelFilterAction -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> WatchRequestLabelFilterAction -> m WatchRequestLabelFilterAction #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WatchRequestLabelFilterAction -> m WatchRequestLabelFilterAction #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WatchRequestLabelFilterAction -> m WatchRequestLabelFilterAction #

Ord WatchRequestLabelFilterAction Source # 
Read WatchRequestLabelFilterAction Source # 
Show WatchRequestLabelFilterAction Source # 
Generic WatchRequestLabelFilterAction Source # 
Hashable WatchRequestLabelFilterAction Source # 
ToJSON WatchRequestLabelFilterAction Source # 
FromJSON WatchRequestLabelFilterAction Source # 
FromHttpApiData WatchRequestLabelFilterAction Source # 
ToHttpApiData WatchRequestLabelFilterAction Source # 
type Rep WatchRequestLabelFilterAction Source # 
type Rep WatchRequestLabelFilterAction = D1 (MetaData "WatchRequestLabelFilterAction" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) (C1 (MetaCons "Exclude" PrefixI False) U1) (C1 (MetaCons "Include" PrefixI False) U1))

ImapSettings

data ImapSettings Source #

IMAP settings for an account.

See: imapSettings smart constructor.

Instances

Eq ImapSettings Source # 
Data ImapSettings Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ImapSettings -> c ImapSettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImapSettings #

toConstr :: ImapSettings -> Constr #

dataTypeOf :: ImapSettings -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ImapSettings) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImapSettings) #

gmapT :: (forall b. Data b => b -> b) -> ImapSettings -> ImapSettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImapSettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImapSettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> ImapSettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ImapSettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImapSettings -> m ImapSettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImapSettings -> m ImapSettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImapSettings -> m ImapSettings #

Show ImapSettings Source # 
Generic ImapSettings Source # 

Associated Types

type Rep ImapSettings :: * -> * #

ToJSON ImapSettings Source # 
FromJSON ImapSettings Source # 
type Rep ImapSettings Source # 
type Rep ImapSettings = D1 (MetaData "ImapSettings" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "ImapSettings'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_isEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_isExpungeBehavior") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ImapSettingsExpungeBehavior)))) ((:*:) (S1 (MetaSel (Just Symbol "_isAutoExpunge") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_isMaxFolderSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

imapSettings :: ImapSettings Source #

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

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

isEnabled :: Lens' ImapSettings (Maybe Bool) Source #

Whether IMAP is enabled for the account.

isExpungeBehavior :: Lens' ImapSettings (Maybe ImapSettingsExpungeBehavior) Source #

The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.

isAutoExpunge :: Lens' ImapSettings (Maybe Bool) Source #

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.

isMaxFolderSize :: Lens' ImapSettings (Maybe Int32) Source #

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.

ImapSettingsExpungeBehavior

data ImapSettingsExpungeBehavior Source #

The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.

Constructors

ISEBArchive
archive
ISEBDeleteForever
deleteForever
ISEBExpungeBehaviorUnspecified
expungeBehaviorUnspecified
ISEBTrash
trash

Instances

Enum ImapSettingsExpungeBehavior Source # 
Eq ImapSettingsExpungeBehavior Source # 
Data ImapSettingsExpungeBehavior Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ImapSettingsExpungeBehavior -> c ImapSettingsExpungeBehavior #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImapSettingsExpungeBehavior #

toConstr :: ImapSettingsExpungeBehavior -> Constr #

dataTypeOf :: ImapSettingsExpungeBehavior -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ImapSettingsExpungeBehavior) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImapSettingsExpungeBehavior) #

gmapT :: (forall b. Data b => b -> b) -> ImapSettingsExpungeBehavior -> ImapSettingsExpungeBehavior #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImapSettingsExpungeBehavior -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImapSettingsExpungeBehavior -> r #

gmapQ :: (forall d. Data d => d -> u) -> ImapSettingsExpungeBehavior -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ImapSettingsExpungeBehavior -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImapSettingsExpungeBehavior -> m ImapSettingsExpungeBehavior #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImapSettingsExpungeBehavior -> m ImapSettingsExpungeBehavior #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImapSettingsExpungeBehavior -> m ImapSettingsExpungeBehavior #

Ord ImapSettingsExpungeBehavior Source # 
Read ImapSettingsExpungeBehavior Source # 
Show ImapSettingsExpungeBehavior Source # 
Generic ImapSettingsExpungeBehavior Source # 
Hashable ImapSettingsExpungeBehavior Source # 
ToJSON ImapSettingsExpungeBehavior Source # 
FromJSON ImapSettingsExpungeBehavior Source # 
FromHttpApiData ImapSettingsExpungeBehavior Source # 
ToHttpApiData ImapSettingsExpungeBehavior Source # 
type Rep ImapSettingsExpungeBehavior Source # 
type Rep ImapSettingsExpungeBehavior = D1 (MetaData "ImapSettingsExpungeBehavior" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) ((:+:) (C1 (MetaCons "ISEBArchive" PrefixI False) U1) (C1 (MetaCons "ISEBDeleteForever" PrefixI False) U1)) ((:+:) (C1 (MetaCons "ISEBExpungeBehaviorUnspecified" PrefixI False) U1) (C1 (MetaCons "ISEBTrash" PrefixI False) U1)))

SmtpMsaSecurityMode

data SmtpMsaSecurityMode Source #

The protocol that will be used to secure communication with the SMTP service. Required.

Constructors

None
none
SecurityModeUnspecified
securityModeUnspecified
SSL
ssl
Starttls
starttls

Instances

Enum SmtpMsaSecurityMode Source # 
Eq SmtpMsaSecurityMode Source # 
Data SmtpMsaSecurityMode Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SmtpMsaSecurityMode -> c SmtpMsaSecurityMode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SmtpMsaSecurityMode #

toConstr :: SmtpMsaSecurityMode -> Constr #

dataTypeOf :: SmtpMsaSecurityMode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SmtpMsaSecurityMode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SmtpMsaSecurityMode) #

gmapT :: (forall b. Data b => b -> b) -> SmtpMsaSecurityMode -> SmtpMsaSecurityMode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SmtpMsaSecurityMode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SmtpMsaSecurityMode -> r #

gmapQ :: (forall d. Data d => d -> u) -> SmtpMsaSecurityMode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SmtpMsaSecurityMode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SmtpMsaSecurityMode -> m SmtpMsaSecurityMode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SmtpMsaSecurityMode -> m SmtpMsaSecurityMode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SmtpMsaSecurityMode -> m SmtpMsaSecurityMode #

Ord SmtpMsaSecurityMode Source # 
Read SmtpMsaSecurityMode Source # 
Show SmtpMsaSecurityMode Source # 
Generic SmtpMsaSecurityMode Source # 
Hashable SmtpMsaSecurityMode Source # 
ToJSON SmtpMsaSecurityMode Source # 
FromJSON SmtpMsaSecurityMode Source # 
FromHttpApiData SmtpMsaSecurityMode Source # 
ToHttpApiData SmtpMsaSecurityMode Source # 
type Rep SmtpMsaSecurityMode Source # 
type Rep SmtpMsaSecurityMode = D1 (MetaData "SmtpMsaSecurityMode" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) ((:+:) (C1 (MetaCons "None" PrefixI False) U1) (C1 (MetaCons "SecurityModeUnspecified" PrefixI False) U1)) ((:+:) (C1 (MetaCons "SSL" PrefixI False) U1) (C1 (MetaCons "Starttls" PrefixI False) U1)))

Message

data Message Source #

An email message.

See: message smart constructor.

Instances

Eq Message Source # 

Methods

(==) :: Message -> Message -> Bool #

(/=) :: Message -> Message -> Bool #

Data Message Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Message -> c Message #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Message #

toConstr :: Message -> Constr #

dataTypeOf :: Message -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Message) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Message) #

gmapT :: (forall b. Data b => b -> b) -> Message -> Message #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Message -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Message -> r #

gmapQ :: (forall d. Data d => d -> u) -> Message -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Message -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Message -> m Message #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Message -> m Message #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Message -> m Message #

Show Message Source # 
Generic Message Source # 

Associated Types

type Rep Message :: * -> * #

Methods

from :: Message -> Rep Message x #

to :: Rep Message x -> Message #

ToJSON Message Source # 
FromJSON Message Source # 
type Rep Message Source # 

message :: Message Source #

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

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

mRaw :: Lens' Message (Maybe ByteString) Source #

The entire email message in an RFC 2822 formatted and base64url encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.

mSnippet :: Lens' Message (Maybe Text) Source #

A short part of the message text.

mSizeEstimate :: Lens' Message (Maybe Int32) Source #

Estimated size in bytes of the message.

mPayload :: Lens' Message (Maybe MessagePart) Source #

The parsed email structure in the message parts.

mHistoryId :: Lens' Message (Maybe Word64) Source #

The ID of the last history record that modified this message.

mId :: Lens' Message (Maybe Text) Source #

The immutable ID of the message.

mLabelIds :: Lens' Message [Text] Source #

List of IDs of labels applied to this message.

mThreadId :: Lens' Message (Maybe Text) Source #

The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met: - The requested threadId must be specified on the Message or Draft.Message you supply with your request. - The References and In-Reply-To headers must be set in compliance with the RFC 2822 standard. - The Subject headers must match.

mInternalDate :: Lens' Message (Maybe Int64) Source #

The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header.

UsersMessagesInsertInternalDateSource

data UsersMessagesInsertInternalDateSource Source #

Source for Gmail's internal date of the message.

Constructors

UMIIDSDateHeader
dateHeader
UMIIDSReceivedTime
receivedTime

Instances

Enum UsersMessagesInsertInternalDateSource Source # 
Eq UsersMessagesInsertInternalDateSource Source # 
Data UsersMessagesInsertInternalDateSource Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersMessagesInsertInternalDateSource -> c UsersMessagesInsertInternalDateSource #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersMessagesInsertInternalDateSource #

toConstr :: UsersMessagesInsertInternalDateSource -> Constr #

dataTypeOf :: UsersMessagesInsertInternalDateSource -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UsersMessagesInsertInternalDateSource) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersMessagesInsertInternalDateSource) #

gmapT :: (forall b. Data b => b -> b) -> UsersMessagesInsertInternalDateSource -> UsersMessagesInsertInternalDateSource #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersMessagesInsertInternalDateSource -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersMessagesInsertInternalDateSource -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersMessagesInsertInternalDateSource -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersMessagesInsertInternalDateSource -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersMessagesInsertInternalDateSource -> m UsersMessagesInsertInternalDateSource #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersMessagesInsertInternalDateSource -> m UsersMessagesInsertInternalDateSource #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersMessagesInsertInternalDateSource -> m UsersMessagesInsertInternalDateSource #

Ord UsersMessagesInsertInternalDateSource Source # 
Read UsersMessagesInsertInternalDateSource Source # 
Show UsersMessagesInsertInternalDateSource Source # 
Generic UsersMessagesInsertInternalDateSource Source # 
Hashable UsersMessagesInsertInternalDateSource Source # 
ToJSON UsersMessagesInsertInternalDateSource Source # 
FromJSON UsersMessagesInsertInternalDateSource Source # 
FromHttpApiData UsersMessagesInsertInternalDateSource Source # 
ToHttpApiData UsersMessagesInsertInternalDateSource Source # 
type Rep UsersMessagesInsertInternalDateSource Source # 
type Rep UsersMessagesInsertInternalDateSource = D1 (MetaData "UsersMessagesInsertInternalDateSource" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) ((:+:) (C1 (MetaCons "UMIIDSDateHeader" PrefixI False) U1) (C1 (MetaCons "UMIIDSReceivedTime" PrefixI False) U1))

HistoryLabelRemoved

data HistoryLabelRemoved Source #

Instances

Eq HistoryLabelRemoved Source # 
Data HistoryLabelRemoved Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HistoryLabelRemoved -> c HistoryLabelRemoved #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HistoryLabelRemoved #

toConstr :: HistoryLabelRemoved -> Constr #

dataTypeOf :: HistoryLabelRemoved -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HistoryLabelRemoved) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HistoryLabelRemoved) #

gmapT :: (forall b. Data b => b -> b) -> HistoryLabelRemoved -> HistoryLabelRemoved #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HistoryLabelRemoved -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HistoryLabelRemoved -> r #

gmapQ :: (forall d. Data d => d -> u) -> HistoryLabelRemoved -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HistoryLabelRemoved -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HistoryLabelRemoved -> m HistoryLabelRemoved #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HistoryLabelRemoved -> m HistoryLabelRemoved #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HistoryLabelRemoved -> m HistoryLabelRemoved #

Show HistoryLabelRemoved Source # 
Generic HistoryLabelRemoved Source # 
ToJSON HistoryLabelRemoved Source # 
FromJSON HistoryLabelRemoved Source # 
type Rep HistoryLabelRemoved Source # 
type Rep HistoryLabelRemoved = D1 (MetaData "HistoryLabelRemoved" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "HistoryLabelRemoved'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_hlrLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_hlrMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Message)))))

historyLabelRemoved :: HistoryLabelRemoved Source #

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

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

hlrLabelIds :: Lens' HistoryLabelRemoved [Text] Source #

Label IDs removed from the message.

Thread

data Thread Source #

A collection of messages representing a conversation.

See: thread smart constructor.

Instances

Eq Thread Source # 

Methods

(==) :: Thread -> Thread -> Bool #

(/=) :: Thread -> Thread -> Bool #

Data Thread Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Thread -> c Thread #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Thread #

toConstr :: Thread -> Constr #

dataTypeOf :: Thread -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Thread) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Thread) #

gmapT :: (forall b. Data b => b -> b) -> Thread -> Thread #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Thread -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Thread -> r #

gmapQ :: (forall d. Data d => d -> u) -> Thread -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Thread -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Thread -> m Thread #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Thread -> m Thread #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Thread -> m Thread #

Show Thread Source # 
Generic Thread Source # 

Associated Types

type Rep Thread :: * -> * #

Methods

from :: Thread -> Rep Thread x #

to :: Rep Thread x -> Thread #

ToJSON Thread Source # 
FromJSON Thread Source # 
type Rep Thread Source # 
type Rep Thread = D1 (MetaData "Thread" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "Thread'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tSnippet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tHistoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64))))) ((:*:) (S1 (MetaSel (Just Symbol "_tId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tMessages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Message]))))))

thread :: Thread Source #

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

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

tSnippet :: Lens' Thread (Maybe Text) Source #

A short part of the message text.

tHistoryId :: Lens' Thread (Maybe Word64) Source #

The ID of the last history record that modified this thread.

tId :: Lens' Thread (Maybe Text) Source #

The unique ID of the thread.

tMessages :: Lens' Thread [Message] Source #

The list of messages in the thread.

FilterAction

data FilterAction Source #

A set of actions to perform on a message.

See: filterAction smart constructor.

Instances

Eq FilterAction Source # 
Data FilterAction Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FilterAction -> c FilterAction #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FilterAction #

toConstr :: FilterAction -> Constr #

dataTypeOf :: FilterAction -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c FilterAction) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FilterAction) #

gmapT :: (forall b. Data b => b -> b) -> FilterAction -> FilterAction #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FilterAction -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FilterAction -> r #

gmapQ :: (forall d. Data d => d -> u) -> FilterAction -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FilterAction -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FilterAction -> m FilterAction #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FilterAction -> m FilterAction #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FilterAction -> m FilterAction #

Show FilterAction Source # 
Generic FilterAction Source # 

Associated Types

type Rep FilterAction :: * -> * #

ToJSON FilterAction Source # 
FromJSON FilterAction Source # 
type Rep FilterAction Source # 
type Rep FilterAction = D1 (MetaData "FilterAction" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "FilterAction'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_faForward") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_faRemoveLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_faAddLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))

filterAction :: FilterAction Source #

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

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

faForward :: Lens' FilterAction (Maybe Text) Source #

Email address that the message should be forwarded to.

faRemoveLabelIds :: Lens' FilterAction [Text] Source #

List of labels to remove from the message.

faAddLabelIds :: Lens' FilterAction [Text] Source #

List of labels to add to the message.

Label

data Label Source #

Labels are used to categorize messages and threads within the user's mailbox.

See: label smart constructor.

Instances

Eq Label Source # 

Methods

(==) :: Label -> Label -> Bool #

(/=) :: Label -> Label -> Bool #

Data Label Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Label -> c Label #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Label #

toConstr :: Label -> Constr #

dataTypeOf :: Label -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Label) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Label) #

gmapT :: (forall b. Data b => b -> b) -> Label -> Label #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Label -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Label -> r #

gmapQ :: (forall d. Data d => d -> u) -> Label -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Label -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Label -> m Label #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Label -> m Label #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Label -> m Label #

Show Label Source # 

Methods

showsPrec :: Int -> Label -> ShowS #

show :: Label -> String #

showList :: [Label] -> ShowS #

Generic Label Source # 

Associated Types

type Rep Label :: * -> * #

Methods

from :: Label -> Rep Label x #

to :: Rep Label x -> Label #

ToJSON Label Source # 
FromJSON Label Source # 
type Rep Label Source # 

label :: Label Source #

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

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

lThreadsUnread :: Lens' Label (Maybe Int32) Source #

The number of unread threads with the label.

lMessageListVisibility :: Lens' Label (Maybe LabelMessageListVisibility) Source #

The visibility of the label in the message list in the Gmail web interface.

lMessagesTotal :: Lens' Label (Maybe Int32) Source #

The total number of messages with the label.

lMessagesUnread :: Lens' Label (Maybe Int32) Source #

The number of unread messages with the label.

lName :: Lens' Label (Maybe Text) Source #

The display name of the label.

lThreadsTotal :: Lens' Label (Maybe Int32) Source #

The total number of threads with the label.

lLabelListVisibility :: Lens' Label (Maybe LabelLabelListVisibility) Source #

The visibility of the label in the label list in the Gmail web interface.

lId :: Lens' Label (Maybe Text) Source #

The immutable ID of the label.

lType :: Lens' Label (Maybe LabelType) Source #

The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.

ListMessagesResponse

data ListMessagesResponse Source #

Instances

Eq ListMessagesResponse Source # 
Data ListMessagesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListMessagesResponse -> c ListMessagesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListMessagesResponse #

toConstr :: ListMessagesResponse -> Constr #

dataTypeOf :: ListMessagesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListMessagesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListMessagesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListMessagesResponse -> ListMessagesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListMessagesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListMessagesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListMessagesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListMessagesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListMessagesResponse -> m ListMessagesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListMessagesResponse -> m ListMessagesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListMessagesResponse -> m ListMessagesResponse #

Show ListMessagesResponse Source # 
Generic ListMessagesResponse Source # 
ToJSON ListMessagesResponse Source # 
FromJSON ListMessagesResponse Source # 
type Rep ListMessagesResponse Source # 
type Rep ListMessagesResponse = D1 (MetaData "ListMessagesResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" False) (C1 (MetaCons "ListMessagesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lmrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lmrResultSizeEstimate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))) (S1 (MetaSel (Just Symbol "_lmrMessages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Message]))))))

listMessagesResponse :: ListMessagesResponse Source #

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

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

lmrNextPageToken :: Lens' ListMessagesResponse (Maybe Text) Source #

Token to retrieve the next page of results in the list.

lmrResultSizeEstimate :: Lens' ListMessagesResponse (Maybe Word32) Source #

Estimated total number of results.

HistoryMessageAdded

data HistoryMessageAdded Source #

Instances

Eq HistoryMessageAdded Source # 
Data HistoryMessageAdded Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HistoryMessageAdded -> c HistoryMessageAdded #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HistoryMessageAdded #

toConstr :: HistoryMessageAdded -> Constr #

dataTypeOf :: HistoryMessageAdded -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HistoryMessageAdded) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HistoryMessageAdded) #

gmapT :: (forall b. Data b => b -> b) -> HistoryMessageAdded -> HistoryMessageAdded #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HistoryMessageAdded -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HistoryMessageAdded -> r #

gmapQ :: (forall d. Data d => d -> u) -> HistoryMessageAdded -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HistoryMessageAdded -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HistoryMessageAdded -> m HistoryMessageAdded #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HistoryMessageAdded -> m HistoryMessageAdded #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HistoryMessageAdded -> m HistoryMessageAdded #

Show HistoryMessageAdded Source # 
Generic HistoryMessageAdded Source # 
ToJSON HistoryMessageAdded Source # 
FromJSON HistoryMessageAdded Source # 
type Rep HistoryMessageAdded Source # 
type Rep HistoryMessageAdded = D1 (MetaData "HistoryMessageAdded" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.1.1-KVcB36fIp6iJc8rayBotfK" True) (C1 (MetaCons "HistoryMessageAdded'" PrefixI True) (S1 (MetaSel (Just Symbol "_hmaMessage") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Message))))

historyMessageAdded :: HistoryMessageAdded Source #

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

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