gogol-gmail-0.4.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.Delete

Contents

Description

Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash instead.

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

Synopsis

REST Resource

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

A resource alias for gmail.users.threads.delete method which the UsersThreadsDelete request conforms to.

Creating a Request

usersThreadsDelete Source #

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

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

data UsersThreadsDelete Source #

Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash instead.

See: usersThreadsDelete smart constructor.

Instances
Eq UsersThreadsDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Threads.Delete

Data UsersThreadsDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Threads.Delete

Methods

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

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

toConstr :: UsersThreadsDelete -> Constr #

dataTypeOf :: UsersThreadsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersThreadsDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Threads.Delete

Generic UsersThreadsDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Threads.Delete

Associated Types

type Rep UsersThreadsDelete :: Type -> Type #

GoogleRequest UsersThreadsDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Threads.Delete

Associated Types

type Rs UsersThreadsDelete :: Type #

type Scopes UsersThreadsDelete :: [Symbol] #

type Rep UsersThreadsDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Threads.Delete

type Rep UsersThreadsDelete = D1 (MetaData "UsersThreadsDelete" "Network.Google.Resource.Gmail.Users.Threads.Delete" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "UsersThreadsDelete'" PrefixI True) (S1 (MetaSel (Just "_utdUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_utdId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes UsersThreadsDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Threads.Delete

type Scopes UsersThreadsDelete = "https://mail.google.com/" ': ([] :: [Symbol])
type Rs UsersThreadsDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Threads.Delete

Request Lenses

utdUserId :: Lens' UsersThreadsDelete Text Source #

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

utdId :: Lens' UsersThreadsDelete Text Source #

ID of the Thread to delete.