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 message.
See: Gmail API Reference for gmail.users.messages.modify
.
Synopsis
- type UsersMessagesModifyResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("messages" :> (Capture "id" Text :> ("modify" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ModifyMessageRequest :> Post '[JSON] Message))))))))
- usersMessagesModify :: ModifyMessageRequest -> Text -> UsersMessagesModify
- data UsersMessagesModify
- ummPayload :: Lens' UsersMessagesModify ModifyMessageRequest
- ummUserId :: Lens' UsersMessagesModify Text
- ummId :: Lens' UsersMessagesModify Text
REST Resource
type UsersMessagesModifyResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("messages" :> (Capture "id" Text :> ("modify" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ModifyMessageRequest :> Post '[JSON] Message)))))))) Source #
A resource alias for gmail.users.messages.modify
method which the
UsersMessagesModify
request conforms to.
Creating a Request
Creates a value of UsersMessagesModify
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersMessagesModify Source #
Modifies the labels on the specified message.
See: usersMessagesModify
smart constructor.
Instances
Request Lenses
ummPayload :: Lens' UsersMessagesModify ModifyMessageRequest Source #
Multipart request metadata.