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 |
Modifies the labels on the specified messages.
See: Gmail API Reference for gmail.users.messages.batchModify
.
Synopsis
- type UsersMessagesBatchModifyResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("messages" :> ("batchModify" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchModifyMessagesRequest :> Post '[JSON] ())))))))
- usersMessagesBatchModify :: BatchModifyMessagesRequest -> UsersMessagesBatchModify
- data UsersMessagesBatchModify
- umbmPayload :: Lens' UsersMessagesBatchModify BatchModifyMessagesRequest
- umbmUserId :: Lens' UsersMessagesBatchModify Text
REST Resource
type UsersMessagesBatchModifyResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("messages" :> ("batchModify" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchModifyMessagesRequest :> Post '[JSON] ()))))))) Source #
A resource alias for gmail.users.messages.batchModify
method which the
UsersMessagesBatchModify
request conforms to.
Creating a Request
usersMessagesBatchModify Source #
Creates a value of UsersMessagesBatchModify
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersMessagesBatchModify Source #
Modifies the labels on the specified messages.
See: usersMessagesBatchModify
smart constructor.
Instances
Request Lenses
umbmPayload :: Lens' UsersMessagesBatchModify BatchModifyMessagesRequest Source #
Multipart request metadata.
umbmUserId :: Lens' UsersMessagesBatchModify Text Source #
The user's email address. The special value me can be used to indicate the authenticated user.