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 |
Lists matters the user has access to.
See: G Suite Vault API Reference for vault.matters.list
.
Synopsis
- type MattersListResource = "v1" :> ("matters" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "state" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "view" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListMattersResponse)))))))))))
- mattersList :: MattersList
- data MattersList
- mlXgafv :: Lens' MattersList (Maybe Xgafv)
- mlState :: Lens' MattersList (Maybe Text)
- mlUploadProtocol :: Lens' MattersList (Maybe Text)
- mlAccessToken :: Lens' MattersList (Maybe Text)
- mlUploadType :: Lens' MattersList (Maybe Text)
- mlView :: Lens' MattersList (Maybe Text)
- mlPageToken :: Lens' MattersList (Maybe Text)
- mlPageSize :: Lens' MattersList (Maybe Int32)
- mlCallback :: Lens' MattersList (Maybe Text)
REST Resource
type MattersListResource = "v1" :> ("matters" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "state" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "view" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListMattersResponse))))))))))) Source #
A resource alias for vault.matters.list
method which the
MattersList
request conforms to.
Creating a Request
mattersList :: MattersList Source #
Creates a value of MattersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersList Source #
Lists matters the user has access to.
See: mattersList
smart constructor.
Instances
Request Lenses
mlState :: Lens' MattersList (Maybe Text) Source #
If set, list only matters with that specific state. The default is listing matters of all states.
mlUploadProtocol :: Lens' MattersList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mlAccessToken :: Lens' MattersList (Maybe Text) Source #
OAuth access token.
mlUploadType :: Lens' MattersList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mlView :: Lens' MattersList (Maybe Text) Source #
Specifies which parts of the matter to return in response.
mlPageToken :: Lens' MattersList (Maybe Text) Source #
The pagination token as returned in the response.
mlPageSize :: Lens' MattersList (Maybe Int32) Source #
The number of matters to return in the response. Default and maximum are 100.
mlCallback :: Lens' MattersList (Maybe Text) Source #
JSONP