Copyright | (c) 2015-2025 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+gogol@gmail.com> Toni Cebrián <toni@tonicebrian.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | GHC2021 |
Gogol.Vault.Matters.Close
Contents
Description
Closes the specified matter. Returns the matter with updated state.
See: Google Vault API Reference for vault.matters.close
.
Synopsis
- type VaultMattersCloseResource = "v1" :> ("matters" :> (CaptureMode "matterId" "close" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CloseMatterRequest :> Post '[JSON] CloseMatterResponse)))))))))
- data VaultMattersClose = VaultMattersClose {
- xgafv :: Maybe Xgafv
- accessToken :: Maybe Text
- callback :: Maybe Text
- matterId :: Text
- payload :: CloseMatterRequest
- uploadType :: Maybe Text
- uploadProtocol :: Maybe Text
- newVaultMattersClose :: Text -> CloseMatterRequest -> VaultMattersClose
Resource
type VaultMattersCloseResource = "v1" :> ("matters" :> (CaptureMode "matterId" "close" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CloseMatterRequest :> Post '[JSON] CloseMatterResponse))))))))) Source #
A resource alias for vault.matters.close
method which the
VaultMattersClose
request conforms to.
Constructing a Request
data VaultMattersClose Source #
Closes the specified matter. Returns the matter with updated state.
See: newVaultMattersClose
smart constructor.
Constructors
VaultMattersClose | |
Fields
|
Instances
Arguments
:: Text | The matter ID. See |
-> CloseMatterRequest | Multipart request metadata. See |
-> VaultMattersClose |
Creates a value of VaultMattersClose
with the minimum fields required to make a request.