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 account that will be used to authenticate to the API as the enterprise.
See: Google Play EMM API Reference for androidenterprise.enterprises.setAccount
.
Synopsis
- type EnterprisesSetAccountResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("account" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EnterpriseAccount :> Put '[JSON] EnterpriseAccount))))))
- enterprisesSetAccount :: Text -> EnterpriseAccount -> EnterprisesSetAccount
- data EnterprisesSetAccount
- esaEnterpriseId :: Lens' EnterprisesSetAccount Text
- esaPayload :: Lens' EnterprisesSetAccount EnterpriseAccount
REST Resource
type EnterprisesSetAccountResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("account" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EnterpriseAccount :> Put '[JSON] EnterpriseAccount)))))) Source #
A resource alias for androidenterprise.enterprises.setAccount
method which the
EnterprisesSetAccount
request conforms to.
Creating a Request
enterprisesSetAccount Source #
Creates a value of EnterprisesSetAccount
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesSetAccount Source #
Sets the account that will be used to authenticate to the API as the enterprise.
See: enterprisesSetAccount
smart constructor.
Instances
Request Lenses
esaEnterpriseId :: Lens' EnterprisesSetAccount Text Source #
The ID of the enterprise.
esaPayload :: Lens' EnterprisesSetAccount EnterpriseAccount Source #
Multipart request metadata.