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 |
Retrieves a customer.
See: Admin Directory API Reference for directory.customers.get
.
Synopsis
- type CustomersGetResource = "admin" :> ("directory" :> ("v1" :> ("customers" :> (Capture "customerKey" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Customer)))))
- customersGet :: Text -> CustomersGet
- data CustomersGet
- cgCustomerKey :: Lens' CustomersGet Text
REST Resource
type CustomersGetResource = "admin" :> ("directory" :> ("v1" :> ("customers" :> (Capture "customerKey" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Customer))))) Source #
A resource alias for directory.customers.get
method which the
CustomersGet
request conforms to.
Creating a Request
Creates a value of CustomersGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomersGet Source #
Retrieves a customer.
See: customersGet
smart constructor.
Instances
Request Lenses
cgCustomerKey :: Lens' CustomersGet Text Source #
Id of the customer to be retrieved