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 |
Looks up an enterprise by domain name. This is only supported for enterprises created via the Google-initiated creation flow. Lookup of the id is not needed for enterprises created via the EMM-initiated flow since the EMM learns the enterprise ID in the callback specified in the Enterprises.generateSignupUrl call.
See: Google Play EMM API Reference for androidenterprise.enterprises.list
.
Synopsis
- type EnterprisesListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (QueryParam "domain" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] EnterprisesListResponse))))
- enterprisesList :: Text -> EnterprisesList
- data EnterprisesList
- elDomain :: Lens' EnterprisesList Text
REST Resource
type EnterprisesListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (QueryParam "domain" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] EnterprisesListResponse)))) Source #
A resource alias for androidenterprise.enterprises.list
method which the
EnterprisesList
request conforms to.
Creating a Request
Creates a value of EnterprisesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesList Source #
Looks up an enterprise by domain name. This is only supported for enterprises created via the Google-initiated creation flow. Lookup of the id is not needed for enterprises created via the EMM-initiated flow since the EMM learns the enterprise ID in the callback specified in the Enterprises.generateSignupUrl call.
See: enterprisesList
smart constructor.