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 |
Lists all entitlements for the specified user. Only the ID is set.
See: Google Play EMM API Reference for androidenterprise.entitlements.list
.
Synopsis
- type EntitlementsListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("entitlements" :> (QueryParam "alt" AltJSON :> Get '[JSON] EntitlementsListResponse)))))))
- entitlementsList :: Text -> Text -> EntitlementsList
- data EntitlementsList
- elEnterpriseId :: Lens' EntitlementsList Text
- elUserId :: Lens' EntitlementsList Text
REST Resource
type EntitlementsListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("entitlements" :> (QueryParam "alt" AltJSON :> Get '[JSON] EntitlementsListResponse))))))) Source #
A resource alias for androidenterprise.entitlements.list
method which the
EntitlementsList
request conforms to.
Creating a Request
Creates a value of EntitlementsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EntitlementsList Source #
Lists all entitlements for the specified user. Only the ID is set.
See: entitlementsList
smart constructor.
Instances
Request Lenses
elEnterpriseId :: Lens' EntitlementsList Text Source #
The ID of the enterprise.