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 |
Adds HeldAccounts to a hold. Returns a list of accounts that have been successfully added. Accounts can only be added to an existing account-based hold.
See: G Suite Vault API Reference for vault.matters.holds.addHeldAccounts
.
Synopsis
- type MattersHoldsAddHeldAccountsResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (CaptureMode "holdId" "addHeldAccounts" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AddHeldAccountsRequest :> Post '[JSON] AddHeldAccountsResponse)))))))))))
- mattersHoldsAddHeldAccounts :: Text -> AddHeldAccountsRequest -> Text -> MattersHoldsAddHeldAccounts
- data MattersHoldsAddHeldAccounts
- mhahaXgafv :: Lens' MattersHoldsAddHeldAccounts (Maybe Xgafv)
- mhahaUploadProtocol :: Lens' MattersHoldsAddHeldAccounts (Maybe Text)
- mhahaHoldId :: Lens' MattersHoldsAddHeldAccounts Text
- mhahaAccessToken :: Lens' MattersHoldsAddHeldAccounts (Maybe Text)
- mhahaUploadType :: Lens' MattersHoldsAddHeldAccounts (Maybe Text)
- mhahaPayload :: Lens' MattersHoldsAddHeldAccounts AddHeldAccountsRequest
- mhahaMatterId :: Lens' MattersHoldsAddHeldAccounts Text
- mhahaCallback :: Lens' MattersHoldsAddHeldAccounts (Maybe Text)
REST Resource
type MattersHoldsAddHeldAccountsResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (CaptureMode "holdId" "addHeldAccounts" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AddHeldAccountsRequest :> Post '[JSON] AddHeldAccountsResponse))))))))))) Source #
A resource alias for vault.matters.holds.addHeldAccounts
method which the
MattersHoldsAddHeldAccounts
request conforms to.
Creating a Request
mattersHoldsAddHeldAccounts Source #
Creates a value of MattersHoldsAddHeldAccounts
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersHoldsAddHeldAccounts Source #
Adds HeldAccounts to a hold. Returns a list of accounts that have been successfully added. Accounts can only be added to an existing account-based hold.
See: mattersHoldsAddHeldAccounts
smart constructor.
Instances
Request Lenses
mhahaXgafv :: Lens' MattersHoldsAddHeldAccounts (Maybe Xgafv) Source #
V1 error format.
mhahaUploadProtocol :: Lens' MattersHoldsAddHeldAccounts (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mhahaHoldId :: Lens' MattersHoldsAddHeldAccounts Text Source #
The hold ID.
mhahaAccessToken :: Lens' MattersHoldsAddHeldAccounts (Maybe Text) Source #
OAuth access token.
mhahaUploadType :: Lens' MattersHoldsAddHeldAccounts (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mhahaPayload :: Lens' MattersHoldsAddHeldAccounts AddHeldAccountsRequest Source #
Multipart request metadata.
mhahaMatterId :: Lens' MattersHoldsAddHeldAccounts Text Source #
The matter ID.
mhahaCallback :: Lens' MattersHoldsAddHeldAccounts (Maybe Text) Source #
JSONP