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