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 |
Deletes the specified matter. Returns matter with updated state.
See: G Suite Vault API Reference for vault.matters.delete
.
Synopsis
- type MattersDeleteResource = "v1" :> ("matters" :> (Capture "matterId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Matter))))))))
- mattersDelete :: Text -> MattersDelete
- data MattersDelete
- mdXgafv :: Lens' MattersDelete (Maybe Xgafv)
- mdUploadProtocol :: Lens' MattersDelete (Maybe Text)
- mdAccessToken :: Lens' MattersDelete (Maybe Text)
- mdUploadType :: Lens' MattersDelete (Maybe Text)
- mdMatterId :: Lens' MattersDelete Text
- mdCallback :: Lens' MattersDelete (Maybe Text)
REST Resource
type MattersDeleteResource = "v1" :> ("matters" :> (Capture "matterId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Matter)))))))) Source #
A resource alias for vault.matters.delete
method which the
MattersDelete
request conforms to.
Creating a Request
Creates a value of MattersDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersDelete Source #
Deletes the specified matter. Returns matter with updated state.
See: mattersDelete
smart constructor.
Instances
Request Lenses
mdUploadProtocol :: Lens' MattersDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mdAccessToken :: Lens' MattersDelete (Maybe Text) Source #
OAuth access token.
mdUploadType :: Lens' MattersDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mdMatterId :: Lens' MattersDelete Text Source #
The matter ID
mdCallback :: Lens' MattersDelete (Maybe Text) Source #
JSONP