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 Export.
See: G Suite Vault API Reference for vault.matters.exports.get
.
Synopsis
- type MattersExportsGetResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("exports" :> (Capture "exportId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Export))))))))))
- mattersExportsGet :: Text -> Text -> MattersExportsGet
- data MattersExportsGet
- megXgafv :: Lens' MattersExportsGet (Maybe Xgafv)
- megUploadProtocol :: Lens' MattersExportsGet (Maybe Text)
- megAccessToken :: Lens' MattersExportsGet (Maybe Text)
- megUploadType :: Lens' MattersExportsGet (Maybe Text)
- megMatterId :: Lens' MattersExportsGet Text
- megExportId :: Lens' MattersExportsGet Text
- megCallback :: Lens' MattersExportsGet (Maybe Text)
REST Resource
type MattersExportsGetResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("exports" :> (Capture "exportId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Export)))))))))) Source #
A resource alias for vault.matters.exports.get
method which the
MattersExportsGet
request conforms to.
Creating a Request
Creates a value of MattersExportsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersExportsGet Source #
Gets an Export.
See: mattersExportsGet
smart constructor.
Instances
Request Lenses
megUploadProtocol :: Lens' MattersExportsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
megAccessToken :: Lens' MattersExportsGet (Maybe Text) Source #
OAuth access token.
megUploadType :: Lens' MattersExportsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
megMatterId :: Lens' MattersExportsGet Text Source #
The matter ID.
megExportId :: Lens' MattersExportsGet Text Source #
The export ID.
megCallback :: Lens' MattersExportsGet (Maybe Text) Source #
JSONP