| 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 |
Network.Google.Resource.Vault.Matters.Holds.Get
Description
Gets a hold by ID.
See: G Suite Vault API Reference for vault.matters.holds.get.
Synopsis
- type MattersHoldsGetResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (Capture "holdId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "view" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Hold)))))))))))
- mattersHoldsGet :: Text -> Text -> MattersHoldsGet
- data MattersHoldsGet
- mhgXgafv :: Lens' MattersHoldsGet (Maybe Xgafv)
- mhgUploadProtocol :: Lens' MattersHoldsGet (Maybe Text)
- mhgHoldId :: Lens' MattersHoldsGet Text
- mhgAccessToken :: Lens' MattersHoldsGet (Maybe Text)
- mhgUploadType :: Lens' MattersHoldsGet (Maybe Text)
- mhgMatterId :: Lens' MattersHoldsGet Text
- mhgView :: Lens' MattersHoldsGet (Maybe Text)
- mhgCallback :: Lens' MattersHoldsGet (Maybe Text)
REST Resource
type MattersHoldsGetResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (Capture "holdId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "view" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Hold))))))))))) Source #
A resource alias for vault.matters.holds.get method which the
MattersHoldsGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> MattersHoldsGet |
Creates a value of MattersHoldsGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersHoldsGet Source #
Gets a hold by ID.
See: mattersHoldsGet smart constructor.
Instances
Request Lenses
mhgUploadProtocol :: Lens' MattersHoldsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mhgAccessToken :: Lens' MattersHoldsGet (Maybe Text) Source #
OAuth access token.
mhgUploadType :: Lens' MattersHoldsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mhgMatterId :: Lens' MattersHoldsGet Text Source #
The matter ID.
mhgCallback :: Lens' MattersHoldsGet (Maybe Text) Source #
JSONP