gogol-gmail-0.2.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.Threads.Untrash

Contents

Description

Removes the specified thread from the trash.

See: Gmail API Reference for gmail.users.threads.untrash.

Synopsis

REST Resource

type UsersThreadsUntrashResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("threads" :> (Capture "id" Text :> ("untrash" :> (QueryParam "alt" AltJSON :> Post '[JSON] Thread))))))) Source #

A resource alias for gmail.users.threads.untrash method which the UsersThreadsUntrash request conforms to.

Creating a Request

usersThreadsUntrash Source #

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

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

data UsersThreadsUntrash Source #

Removes the specified thread from the trash.

See: usersThreadsUntrash smart constructor.

Instances

Eq UsersThreadsUntrash Source # 
Data UsersThreadsUntrash Source # 

Methods

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

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

toConstr :: UsersThreadsUntrash -> Constr #

dataTypeOf :: UsersThreadsUntrash -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersThreadsUntrash Source # 
Generic UsersThreadsUntrash Source # 
GoogleRequest UsersThreadsUntrash Source # 
type Rep UsersThreadsUntrash Source # 
type Rep UsersThreadsUntrash = D1 (MetaData "UsersThreadsUntrash" "Network.Google.Resource.Gmail.Users.Threads.Untrash" "gogol-gmail-0.2.0-E4i4RtGKYej4RON8UGqMJ5" False) (C1 (MetaCons "UsersThreadsUntrash'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_utuUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_utuId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes UsersThreadsUntrash Source # 
type Scopes UsersThreadsUntrash = (:) Symbol "https://mail.google.com/" ((:) Symbol "https://www.googleapis.com/auth/gmail.modify" ([] Symbol))
type Rs UsersThreadsUntrash Source # 

Request Lenses

utuUserId :: Lens' UsersThreadsUntrash Text Source #

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

utuId :: Lens' UsersThreadsUntrash Text Source #

The ID of the thread to remove from Trash.