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 |
Gets an enterprise.
See: Android Management API Reference for androidmanagement.enterprises.get
.
Synopsis
- type EnterprisesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Enterprise)))))))
- enterprisesGet :: Text -> EnterprisesGet
- data EnterprisesGet
- egXgafv :: Lens' EnterprisesGet (Maybe Xgafv)
- egUploadProtocol :: Lens' EnterprisesGet (Maybe Text)
- egAccessToken :: Lens' EnterprisesGet (Maybe Text)
- egUploadType :: Lens' EnterprisesGet (Maybe Text)
- egName :: Lens' EnterprisesGet Text
- egCallback :: Lens' EnterprisesGet (Maybe Text)
REST Resource
type EnterprisesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Enterprise))))))) Source #
A resource alias for androidmanagement.enterprises.get
method which the
EnterprisesGet
request conforms to.
Creating a Request
:: Text | |
-> EnterprisesGet |
Creates a value of EnterprisesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesGet Source #
Gets an enterprise.
See: enterprisesGet
smart constructor.
Instances
Request Lenses
egUploadProtocol :: Lens' EnterprisesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
egAccessToken :: Lens' EnterprisesGet (Maybe Text) Source #
OAuth access token.
egUploadType :: Lens' EnterprisesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
egName :: Lens' EnterprisesGet Text Source #
The name of the enterprise in the form enterprises/{enterpriseId}.
egCallback :: Lens' EnterprisesGet (Maybe Text) Source #
JSONP