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 |
Updates a contact in place.
See: Google Mirror API Reference for mirror.contacts.update
.
Synopsis
- type ContactsUpdateResource = "mirror" :> ("v1" :> ("contacts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Contact :> Put '[JSON] Contact)))))
- contactsUpdate :: Contact -> Text -> ContactsUpdate
- data ContactsUpdate
- cuPayload :: Lens' ContactsUpdate Contact
- cuId :: Lens' ContactsUpdate Text
REST Resource
type ContactsUpdateResource = "mirror" :> ("v1" :> ("contacts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Contact :> Put '[JSON] Contact))))) Source #
A resource alias for mirror.contacts.update
method which the
ContactsUpdate
request conforms to.
Creating a Request
Creates a value of ContactsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ContactsUpdate Source #
Updates a contact in place.
See: contactsUpdate
smart constructor.