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 |
Inserts a new cluster in a page.
See: Google Play EMM API Reference for androidenterprise.storelayoutclusters.insert
.
Synopsis
- type StorelayoutclustersInsertResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("storeLayout" :> ("pages" :> (Capture "pageId" Text :> ("clusters" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StoreCluster :> Post '[JSON] StoreCluster)))))))))
- storelayoutclustersInsert :: Text -> Text -> StoreCluster -> StorelayoutclustersInsert
- data StorelayoutclustersInsert
- sEnterpriseId :: Lens' StorelayoutclustersInsert Text
- sPageId :: Lens' StorelayoutclustersInsert Text
- sPayload :: Lens' StorelayoutclustersInsert StoreCluster
REST Resource
type StorelayoutclustersInsertResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("storeLayout" :> ("pages" :> (Capture "pageId" Text :> ("clusters" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StoreCluster :> Post '[JSON] StoreCluster))))))))) Source #
A resource alias for androidenterprise.storelayoutclusters.insert
method which the
StorelayoutclustersInsert
request conforms to.
Creating a Request
storelayoutclustersInsert Source #
Creates a value of StorelayoutclustersInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StorelayoutclustersInsert Source #
Inserts a new cluster in a page.
See: storelayoutclustersInsert
smart constructor.
Instances
Request Lenses
sEnterpriseId :: Lens' StorelayoutclustersInsert Text Source #
The ID of the enterprise.
sPayload :: Lens' StorelayoutclustersInsert StoreCluster Source #
Multipart request metadata.