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 |
Inserts a new contact.
See: Google Mirror API Reference for mirror.contacts.insert
.
Synopsis
- type ContactsInsertResource = "mirror" :> ("v1" :> ("contacts" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Contact :> Post '[JSON] Contact))))
- contactsInsert :: Contact -> ContactsInsert
- data ContactsInsert
- ciPayload :: Lens' ContactsInsert Contact
REST Resource
type ContactsInsertResource = "mirror" :> ("v1" :> ("contacts" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Contact :> Post '[JSON] Contact)))) Source #
A resource alias for mirror.contacts.insert
method which the
ContactsInsert
request conforms to.
Creating a Request
Creates a value of ContactsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ContactsInsert Source #
Inserts a new contact.
See: contactsInsert
smart constructor.