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 |
Gets a single contact by ID.
See: Google Mirror API Reference for mirror.contacts.get
.
Synopsis
- type ContactsGetResource = "mirror" :> ("v1" :> ("contacts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Contact))))
- contactsGet :: Text -> ContactsGet
- data ContactsGet
- cgId :: Lens' ContactsGet Text
REST Resource
type ContactsGetResource = "mirror" :> ("v1" :> ("contacts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Contact)))) Source #
A resource alias for mirror.contacts.get
method which the
ContactsGet
request conforms to.
Creating a Request
:: Text | |
-> ContactsGet |
Creates a value of ContactsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ContactsGet Source #
Gets a single contact by ID.
See: contactsGet
smart constructor.