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 |
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
.
- type UsersThreadsDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("threads" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))))
- usersThreadsDelete :: Text -> Text -> UsersThreadsDelete
- data UsersThreadsDelete
- utdUserId :: Lens' UsersThreadsDelete Text
- utdId :: Lens' UsersThreadsDelete Text
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
:: Text | |
-> Text | |
-> UsersThreadsDelete |
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.
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.