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 |
Undeletes the specified matter. Returns matter with updated state.
See: G Suite Vault API Reference for vault.matters.undelete
.
Synopsis
- type MattersUndeleteResource = "v1" :> ("matters" :> (CaptureMode "matterId" "undelete" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UndeleteMatterRequest :> Post '[JSON] Matter)))))))))
- mattersUndelete :: UndeleteMatterRequest -> Text -> MattersUndelete
- data MattersUndelete
- muXgafv :: Lens' MattersUndelete (Maybe Xgafv)
- muUploadProtocol :: Lens' MattersUndelete (Maybe Text)
- muAccessToken :: Lens' MattersUndelete (Maybe Text)
- muUploadType :: Lens' MattersUndelete (Maybe Text)
- muPayload :: Lens' MattersUndelete UndeleteMatterRequest
- muMatterId :: Lens' MattersUndelete Text
- muCallback :: Lens' MattersUndelete (Maybe Text)
REST Resource
type MattersUndeleteResource = "v1" :> ("matters" :> (CaptureMode "matterId" "undelete" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UndeleteMatterRequest :> Post '[JSON] Matter))))))))) Source #
A resource alias for vault.matters.undelete
method which the
MattersUndelete
request conforms to.
Creating a Request
Creates a value of MattersUndelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersUndelete Source #
Undeletes the specified matter. Returns matter with updated state.
See: mattersUndelete
smart constructor.
Instances
Request Lenses
muUploadProtocol :: Lens' MattersUndelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
muAccessToken :: Lens' MattersUndelete (Maybe Text) Source #
OAuth access token.
muUploadType :: Lens' MattersUndelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
muPayload :: Lens' MattersUndelete UndeleteMatterRequest Source #
Multipart request metadata.
muMatterId :: Lens' MattersUndelete Text Source #
The matter ID.
muCallback :: Lens' MattersUndelete (Maybe Text) Source #
JSONP