Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Removes the specified thread from the trash.
See: Gmail API Reference for gmail.users.threads.untrash
.
- type UsersThreadsUntrashResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("threads" :> (Capture "id" Text :> ("untrash" :> (QueryParam "alt" AltJSON :> Post `[JSON]` Thread)))))))
- usersThreadsUntrash :: Text -> Text -> UsersThreadsUntrash
- data UsersThreadsUntrash
- utuUserId :: Lens' UsersThreadsUntrash Text
- utuId :: Lens' UsersThreadsUntrash Text
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
:: Text | |
-> Text | |
-> UsersThreadsUntrash |
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.
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.