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 details of a product for display to an enterprise admin.
See: Google Play EMM API Reference for androidenterprise.products.get
.
Synopsis
- type ProductsGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("products" :> (Capture "productId" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Product)))))))
- productsGet :: Text -> Text -> ProductsGet
- data ProductsGet
- proEnterpriseId :: Lens' ProductsGet Text
- proLanguage :: Lens' ProductsGet (Maybe Text)
- proProductId :: Lens' ProductsGet Text
REST Resource
type ProductsGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("products" :> (Capture "productId" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Product))))))) Source #
A resource alias for androidenterprise.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 #
Retrieves details of a product for display to an enterprise admin.
See: productsGet
smart constructor.
Instances
Request Lenses
proEnterpriseId :: Lens' ProductsGet Text Source #
The ID of the enterprise.
proLanguage :: Lens' ProductsGet (Maybe Text) Source #
The BCP47 tag for the user's preferred language (e.g. "en-US", "de").
proProductId :: Lens' ProductsGet Text Source #
The ID of the product, e.g. "app:com.google.android.gm".