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 |
Updates a collection.
See: Google Play EMM API Reference for androidenterprise.collections.update
.
- type CollectionsUpdateResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Collection :> Put '[JSON] Collection)))))))
- collectionsUpdate :: Text -> Text -> Collection -> CollectionsUpdate
- data CollectionsUpdate
- cuuEnterpriseId :: Lens' CollectionsUpdate Text
- cuuCollectionId :: Lens' CollectionsUpdate Text
- cuuPayload :: Lens' CollectionsUpdate Collection
REST Resource
type CollectionsUpdateResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Collection :> Put '[JSON] Collection))))))) Source #
A resource alias for androidenterprise.collections.update
method which the
CollectionsUpdate
request conforms to.
Creating a Request
Creates a value of CollectionsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CollectionsUpdate Source #
Updates a collection.
See: collectionsUpdate
smart constructor.
Request Lenses
cuuEnterpriseId :: Lens' CollectionsUpdate Text Source #
The ID of the enterprise.
cuuCollectionId :: Lens' CollectionsUpdate Text Source #
The ID of the collection.
cuuPayload :: Lens' CollectionsUpdate Collection Source #
Multipart request metadata.