gogol-gmail-0.3.0: 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.Resource.Gmail.Users.Settings.GetVacation

Contents

Description

Gets vacation responder settings.

See: Gmail API Reference for gmail.users.settings.getVacation.

Synopsis

REST Resource

type UsersSettingsGetVacationResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("vacation" :> (QueryParam "alt" AltJSON :> Get '[JSON] VacationSettings)))))) Source #

A resource alias for gmail.users.settings.getVacation method which the UsersSettingsGetVacation request conforms to.

Creating a Request

usersSettingsGetVacation :: UsersSettingsGetVacation Source #

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

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

data UsersSettingsGetVacation Source #

Gets vacation responder settings.

See: usersSettingsGetVacation smart constructor.

Instances

Eq UsersSettingsGetVacation Source # 
Data UsersSettingsGetVacation Source # 

Methods

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

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

toConstr :: UsersSettingsGetVacation -> Constr #

dataTypeOf :: UsersSettingsGetVacation -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSettingsGetVacation Source # 
Generic UsersSettingsGetVacation Source # 
GoogleRequest UsersSettingsGetVacation Source # 
type Rep UsersSettingsGetVacation Source # 
type Rep UsersSettingsGetVacation = D1 (MetaData "UsersSettingsGetVacation" "Network.Google.Resource.Gmail.Users.Settings.GetVacation" "gogol-gmail-0.3.0-LsjK5jY5aBO3wn73Gztk4i" True) (C1 (MetaCons "UsersSettingsGetVacation'" PrefixI True) (S1 (MetaSel (Just Symbol "_usgvUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes UsersSettingsGetVacation Source # 
type Scopes UsersSettingsGetVacation = (:) Symbol "https://mail.google.com/" ((:) Symbol "https://www.googleapis.com/auth/gmail.modify" ((:) Symbol "https://www.googleapis.com/auth/gmail.readonly" ((:) Symbol "https://www.googleapis.com/auth/gmail.settings.basic" ([] Symbol))))
type Rs UsersSettingsGetVacation Source # 

Request Lenses

usgvUserId :: Lens' UsersSettingsGetVacation Text Source #

User's email address. The special value "me" can be used to indicate the authenticated user.