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 |
Removes HeldAccounts from a hold. Returns a list of statuses in the same order as the request. If this request leaves the hold with no held accounts, the hold will not apply to any accounts.
See: G Suite Vault API Reference for vault.matters.holds.removeHeldAccounts
.
Synopsis
- type MattersHoldsRemoveHeldAccountsResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (CaptureMode "holdId" "removeHeldAccounts" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RemoveHeldAccountsRequest :> Post '[JSON] RemoveHeldAccountsResponse)))))))))))
- mattersHoldsRemoveHeldAccounts :: Text -> RemoveHeldAccountsRequest -> Text -> MattersHoldsRemoveHeldAccounts
- data MattersHoldsRemoveHeldAccounts
- mhrhaXgafv :: Lens' MattersHoldsRemoveHeldAccounts (Maybe Xgafv)
- mhrhaUploadProtocol :: Lens' MattersHoldsRemoveHeldAccounts (Maybe Text)
- mhrhaHoldId :: Lens' MattersHoldsRemoveHeldAccounts Text
- mhrhaAccessToken :: Lens' MattersHoldsRemoveHeldAccounts (Maybe Text)
- mhrhaUploadType :: Lens' MattersHoldsRemoveHeldAccounts (Maybe Text)
- mhrhaPayload :: Lens' MattersHoldsRemoveHeldAccounts RemoveHeldAccountsRequest
- mhrhaMatterId :: Lens' MattersHoldsRemoveHeldAccounts Text
- mhrhaCallback :: Lens' MattersHoldsRemoveHeldAccounts (Maybe Text)
REST Resource
type MattersHoldsRemoveHeldAccountsResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (CaptureMode "holdId" "removeHeldAccounts" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RemoveHeldAccountsRequest :> Post '[JSON] RemoveHeldAccountsResponse))))))))))) Source #
A resource alias for vault.matters.holds.removeHeldAccounts
method which the
MattersHoldsRemoveHeldAccounts
request conforms to.
Creating a Request
mattersHoldsRemoveHeldAccounts Source #
Creates a value of MattersHoldsRemoveHeldAccounts
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersHoldsRemoveHeldAccounts Source #
Removes HeldAccounts from a hold. Returns a list of statuses in the same order as the request. If this request leaves the hold with no held accounts, the hold will not apply to any accounts.
See: mattersHoldsRemoveHeldAccounts
smart constructor.
Instances
Request Lenses
mhrhaXgafv :: Lens' MattersHoldsRemoveHeldAccounts (Maybe Xgafv) Source #
V1 error format.
mhrhaUploadProtocol :: Lens' MattersHoldsRemoveHeldAccounts (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mhrhaHoldId :: Lens' MattersHoldsRemoveHeldAccounts Text Source #
The hold ID.
mhrhaAccessToken :: Lens' MattersHoldsRemoveHeldAccounts (Maybe Text) Source #
OAuth access token.
mhrhaUploadType :: Lens' MattersHoldsRemoveHeldAccounts (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mhrhaPayload :: Lens' MattersHoldsRemoveHeldAccounts RemoveHeldAccountsRequest Source #
Multipart request metadata.
mhrhaMatterId :: Lens' MattersHoldsRemoveHeldAccounts Text Source #
The matter ID.
mhrhaCallback :: Lens' MattersHoldsRemoveHeldAccounts (Maybe Text) Source #
JSONP