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 |
Sets the store layout for the enterprise. By default, storeLayoutType is set to "basic" and the basic store layout is enabled. The basic layout only contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = "custom" and setting a homepage), the basic store layout is disabled.
See: Google Play EMM API Reference for androidenterprise.enterprises.setStoreLayout
.
Synopsis
- type EnterprisesSetStoreLayoutResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("storeLayout" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StoreLayout :> Put '[JSON] StoreLayout))))))
- enterprisesSetStoreLayout :: Text -> StoreLayout -> EnterprisesSetStoreLayout
- data EnterprisesSetStoreLayout
- esslEnterpriseId :: Lens' EnterprisesSetStoreLayout Text
- esslPayload :: Lens' EnterprisesSetStoreLayout StoreLayout
REST Resource
type EnterprisesSetStoreLayoutResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("storeLayout" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StoreLayout :> Put '[JSON] StoreLayout)))))) Source #
A resource alias for androidenterprise.enterprises.setStoreLayout
method which the
EnterprisesSetStoreLayout
request conforms to.
Creating a Request
enterprisesSetStoreLayout Source #
Creates a value of EnterprisesSetStoreLayout
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesSetStoreLayout Source #
Sets the store layout for the enterprise. By default, storeLayoutType is set to "basic" and the basic store layout is enabled. The basic layout only contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = "custom" and setting a homepage), the basic store layout is disabled.
See: enterprisesSetStoreLayout
smart constructor.
Instances
Request Lenses
esslEnterpriseId :: Lens' EnterprisesSetStoreLayout Text Source #
The ID of the enterprise.
esslPayload :: Lens' EnterprisesSetStoreLayout StoreLayout Source #
Multipart request metadata.