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 applied to the thread. This applies to all messages in the thread.
See: Gmail API Reference for gmail.users.threads.modify
.
Synopsis
- type UsersThreadsModifyResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("threads" :> (Capture "id" Text :> ("modify" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ModifyThreadRequest :> Post '[JSON] Thread))))))))
- usersThreadsModify :: ModifyThreadRequest -> Text -> UsersThreadsModify
- data UsersThreadsModify
- utmPayload :: Lens' UsersThreadsModify ModifyThreadRequest
- utmUserId :: Lens' UsersThreadsModify Text
- utmId :: Lens' UsersThreadsModify Text
REST Resource
type UsersThreadsModifyResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("threads" :> (Capture "id" Text :> ("modify" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ModifyThreadRequest :> Post '[JSON] Thread)))))))) Source #
A resource alias for gmail.users.threads.modify
method which the
UsersThreadsModify
request conforms to.
Creating a Request
Creates a value of UsersThreadsModify
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersThreadsModify Source #
Modifies the labels applied to the thread. This applies to all messages in the thread.
See: usersThreadsModify
smart constructor.
Instances
Request Lenses
utmPayload :: Lens' UsersThreadsModify ModifyThreadRequest Source #
Multipart request metadata.