| Copyright | (c) 2015 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 |
Network.Google.Resource.Mirror.Contacts.Insert
Description
Inserts a new contact.
See: Google Mirror API Reference for mirror.contacts.insert.
- 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
Arguments
| :: Contact | |
| -> ContactsInsert |
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.
Request Lenses
ciPayload :: Lens' ContactsInsert Contact Source
Multipart request metadata.