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 |
Updates the specified matter. This updates only the name and description of the matter, identified by matter id. Changes to any other fields are ignored. Returns the default view of the matter.
See: G Suite Vault API Reference for vault.matters.update
.
Synopsis
- type MattersUpdateResource = "v1" :> ("matters" :> (Capture "matterId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Matter :> Put '[JSON] Matter)))))))))
- mattersUpdate :: Matter -> Text -> MattersUpdate
- data MattersUpdate
- matXgafv :: Lens' MattersUpdate (Maybe Xgafv)
- matUploadProtocol :: Lens' MattersUpdate (Maybe Text)
- matAccessToken :: Lens' MattersUpdate (Maybe Text)
- matUploadType :: Lens' MattersUpdate (Maybe Text)
- matPayload :: Lens' MattersUpdate Matter
- matMatterId :: Lens' MattersUpdate Text
- matCallback :: Lens' MattersUpdate (Maybe Text)
REST Resource
type MattersUpdateResource = "v1" :> ("matters" :> (Capture "matterId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Matter :> Put '[JSON] Matter))))))))) Source #
A resource alias for vault.matters.update
method which the
MattersUpdate
request conforms to.
Creating a Request
Creates a value of MattersUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersUpdate Source #
Updates the specified matter. This updates only the name and description of the matter, identified by matter id. Changes to any other fields are ignored. Returns the default view of the matter.
See: mattersUpdate
smart constructor.
Instances
Request Lenses
matUploadProtocol :: Lens' MattersUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
matAccessToken :: Lens' MattersUpdate (Maybe Text) Source #
OAuth access token.
matUploadType :: Lens' MattersUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
matPayload :: Lens' MattersUpdate Matter Source #
Multipart request metadata.
matMatterId :: Lens' MattersUpdate Text Source #
The matter ID.
matCallback :: Lens' MattersUpdate (Maybe Text) Source #
JSONP