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 |
Reopens the specified matter. Returns matter with updated state.
See: G Suite Vault API Reference for vault.matters.reopen
.
Synopsis
- type MattersReopenResource = "v1" :> ("matters" :> (CaptureMode "matterId" "reopen" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReopenMatterRequest :> Post '[JSON] ReopenMatterResponse)))))))))
- mattersReopen :: ReopenMatterRequest -> Text -> MattersReopen
- data MattersReopen
- mrXgafv :: Lens' MattersReopen (Maybe Xgafv)
- mrUploadProtocol :: Lens' MattersReopen (Maybe Text)
- mrAccessToken :: Lens' MattersReopen (Maybe Text)
- mrUploadType :: Lens' MattersReopen (Maybe Text)
- mrPayload :: Lens' MattersReopen ReopenMatterRequest
- mrMatterId :: Lens' MattersReopen Text
- mrCallback :: Lens' MattersReopen (Maybe Text)
REST Resource
type MattersReopenResource = "v1" :> ("matters" :> (CaptureMode "matterId" "reopen" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReopenMatterRequest :> Post '[JSON] ReopenMatterResponse))))))))) Source #
A resource alias for vault.matters.reopen
method which the
MattersReopen
request conforms to.
Creating a Request
Creates a value of MattersReopen
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersReopen Source #
Reopens the specified matter. Returns matter with updated state.
See: mattersReopen
smart constructor.
Instances
Request Lenses
mrUploadProtocol :: Lens' MattersReopen (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mrAccessToken :: Lens' MattersReopen (Maybe Text) Source #
OAuth access token.
mrUploadType :: Lens' MattersReopen (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mrPayload :: Lens' MattersReopen ReopenMatterRequest Source #
Multipart request metadata.
mrMatterId :: Lens' MattersReopen Text Source #
The matter ID.
mrCallback :: Lens' MattersReopen (Maybe Text) Source #
JSONP