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 the set of products a user is entitled to access.
See: Google Play EMM API Reference for androidenterprise.users.getAvailableProductSet
.
Synopsis
- type UsersGetAvailableProductSetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("availableProductSet" :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductSet)))))))
- usersGetAvailableProductSet :: Text -> Text -> UsersGetAvailableProductSet
- data UsersGetAvailableProductSet
- ugapsEnterpriseId :: Lens' UsersGetAvailableProductSet Text
- ugapsUserId :: Lens' UsersGetAvailableProductSet Text
REST Resource
type UsersGetAvailableProductSetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("availableProductSet" :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductSet))))))) Source #
A resource alias for androidenterprise.users.getAvailableProductSet
method which the
UsersGetAvailableProductSet
request conforms to.
Creating a Request
usersGetAvailableProductSet Source #
Creates a value of UsersGetAvailableProductSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersGetAvailableProductSet Source #
Retrieves the set of products a user is entitled to access.
See: usersGetAvailableProductSet
smart constructor.
Instances
Request Lenses
ugapsEnterpriseId :: Lens' UsersGetAvailableProductSet Text Source #
The ID of the enterprise.
ugapsUserId :: Lens' UsersGetAvailableProductSet Text Source #
The ID of the user.