gogol-gmail-0.0.1: Google Gmail SDK.

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

Network.Google.Resource.Gmail.Users.Threads.Get

Contents

Description

Gets the specified thread.

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

Synopsis

REST Resource

type UsersThreadsGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("threads" :> (Capture "id" Text :> (QueryParam "format" UsersThreadsGetFormat :> (QueryParams "metadataHeaders" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Thread)))))))) Source

A resource alias for gmail.users.threads.get method which the UsersThreadsGet request conforms to.

Creating a Request

usersThreadsGet Source

Arguments

:: Text

utgId

-> Text 
-> UsersThreadsGet 

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

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

Request Lenses

utgFormat :: Lens' UsersThreadsGet UsersThreadsGetFormat Source

The format to return the messages in.

utgUserId :: Lens' UsersThreadsGet Text Source

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

utgId :: Lens' UsersThreadsGet Text Source

The ID of the thread to retrieve.

utgMetadataHeaders :: Lens' UsersThreadsGet [Text] Source

When given and format is METADATA, only include headers specified.