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 |
Enrolls an enterprise with the calling EMM.
See: Google Play EMM API Reference for androidenterprise.enterprises.enroll
.
Synopsis
- type EnterprisesEnrollResource = "androidenterprise" :> ("v1" :> ("enterprises" :> ("enroll" :> (QueryParam "token" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Enterprise :> Post '[JSON] Enterprise))))))
- enterprisesEnroll :: Text -> Enterprise -> EnterprisesEnroll
- data EnterprisesEnroll
- eeToken :: Lens' EnterprisesEnroll Text
- eePayload :: Lens' EnterprisesEnroll Enterprise
REST Resource
type EnterprisesEnrollResource = "androidenterprise" :> ("v1" :> ("enterprises" :> ("enroll" :> (QueryParam "token" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Enterprise :> Post '[JSON] Enterprise)))))) Source #
A resource alias for androidenterprise.enterprises.enroll
method which the
EnterprisesEnroll
request conforms to.
Creating a Request
Creates a value of EnterprisesEnroll
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesEnroll Source #
Enrolls an enterprise with the calling EMM.
See: enterprisesEnroll
smart constructor.
Instances
Request Lenses
eeToken :: Lens' EnterprisesEnroll Text Source #
The token provided by the enterprise to register the EMM.
eePayload :: Lens' EnterprisesEnroll Enterprise Source #
Multipart request metadata.