Copyright | (c) 2015-2016 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 draft. Does not simply trash it.
See: Gmail API Reference for gmail.users.drafts.delete
.
- type UsersDraftsDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("drafts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- usersDraftsDelete :: Text -> UsersDraftsDelete
- data UsersDraftsDelete
- uddUserId :: Lens' UsersDraftsDelete Text
- uddId :: Lens' UsersDraftsDelete Text
REST Resource
type UsersDraftsDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("drafts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for gmail.users.drafts.delete
method which the
UsersDraftsDelete
request conforms to.
Creating a Request
Creates a value of UsersDraftsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersDraftsDelete Source #
Immediately and permanently deletes the specified draft. Does not simply trash it.
See: usersDraftsDelete
smart constructor.