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 the requested product by id.
See: Ad Exchange Buyer API Reference for adexchangebuyer.products.get
.
Synopsis
- type ProductsGetResource = "adexchangebuyer" :> ("v1.4" :> ("products" :> (Capture "productId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Product))))
- productsGet :: Text -> ProductsGet
- data ProductsGet
- pgProductId :: Lens' ProductsGet Text
REST Resource
type ProductsGetResource = "adexchangebuyer" :> ("v1.4" :> ("products" :> (Capture "productId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Product)))) Source #
A resource alias for adexchangebuyer.products.get
method which the
ProductsGet
request conforms to.
Creating a Request
Creates a value of ProductsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProductsGet Source #
Gets the requested product by id.
See: productsGet
smart constructor.
Instances
Request Lenses
pgProductId :: Lens' ProductsGet Text Source #
The id for the product to get the head revision for.