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 |
Updates an existing web app.
See: Google Play EMM API Reference for androidenterprise.webapps.update
.
Synopsis
- type WebAppsUpdateResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("webApps" :> (Capture "webAppId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebApp :> Put '[JSON] WebApp)))))))
- webAppsUpdate :: Text -> Text -> WebApp -> WebAppsUpdate
- data WebAppsUpdate
- wauWebAppId :: Lens' WebAppsUpdate Text
- wauEnterpriseId :: Lens' WebAppsUpdate Text
- wauPayload :: Lens' WebAppsUpdate WebApp
REST Resource
type WebAppsUpdateResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("webApps" :> (Capture "webAppId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebApp :> Put '[JSON] WebApp))))))) Source #
A resource alias for androidenterprise.webapps.update
method which the
WebAppsUpdate
request conforms to.
Creating a Request
Creates a value of WebAppsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data WebAppsUpdate Source #
Updates an existing web app.
See: webAppsUpdate
smart constructor.
Instances
Request Lenses
wauWebAppId :: Lens' WebAppsUpdate Text Source #
The ID of the web app.
wauEnterpriseId :: Lens' WebAppsUpdate Text Source #
The ID of the enterprise.
wauPayload :: Lens' WebAppsUpdate WebApp Source #
Multipart request metadata.