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 |
Retrieves details of an entitlement.
See: Google Play EMM API Reference for androidenterprise.entitlements.get
.
Synopsis
- type EntitlementsGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("entitlements" :> (Capture "entitlementId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Entitlement))))))))
- entitlementsGet :: Text -> Text -> Text -> EntitlementsGet
- data EntitlementsGet
- egEntitlementId :: Lens' EntitlementsGet Text
- egEnterpriseId :: Lens' EntitlementsGet Text
- egUserId :: Lens' EntitlementsGet Text
REST Resource
type EntitlementsGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("entitlements" :> (Capture "entitlementId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Entitlement)))))))) Source #
A resource alias for androidenterprise.entitlements.get
method which the
EntitlementsGet
request conforms to.
Creating a Request
Creates a value of EntitlementsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EntitlementsGet Source #
Retrieves details of an entitlement.
See: entitlementsGet
smart constructor.
Instances
Request Lenses
egEntitlementId :: Lens' EntitlementsGet Text Source #
The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".
egEnterpriseId :: Lens' EntitlementsGet Text Source #
The ID of the enterprise.