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 |
Gets the specified matter.
See: G Suite Vault API Reference for vault.matters.get
.
Synopsis
- type MattersGetResource = "v1" :> ("matters" :> (Capture "matterId" 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] Matter)))))))))
- mattersGet :: Text -> MattersGet
- data MattersGet
- mgXgafv :: Lens' MattersGet (Maybe Xgafv)
- mgUploadProtocol :: Lens' MattersGet (Maybe Text)
- mgAccessToken :: Lens' MattersGet (Maybe Text)
- mgUploadType :: Lens' MattersGet (Maybe Text)
- mgMatterId :: Lens' MattersGet Text
- mgView :: Lens' MattersGet (Maybe Text)
- mgCallback :: Lens' MattersGet (Maybe Text)
REST Resource
type MattersGetResource = "v1" :> ("matters" :> (Capture "matterId" 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] Matter))))))))) Source #
A resource alias for vault.matters.get
method which the
MattersGet
request conforms to.
Creating a Request
:: Text | |
-> MattersGet |
Creates a value of MattersGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersGet Source #
Gets the specified matter.
See: mattersGet
smart constructor.
Instances
Request Lenses
mgUploadProtocol :: Lens' MattersGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mgAccessToken :: Lens' MattersGet (Maybe Text) Source #
OAuth access token.
mgUploadType :: Lens' MattersGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mgMatterId :: Lens' MattersGet Text Source #
The matter ID.
mgView :: Lens' MattersGet (Maybe Text) Source #
Specifies which parts of the Matter to return in the response.
mgCallback :: Lens' MattersGet (Maybe Text) Source #
JSONP