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 saved queries within a matter. An empty page token in ListSavedQueriesResponse denotes no more saved queries to list.
See: G Suite Vault API Reference for vault.matters.savedQueries.list
.
Synopsis
- type MattersSavedQueriesListResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("savedQueries" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSavedQueriesResponse)))))))))))
- mattersSavedQueriesList :: Text -> MattersSavedQueriesList
- data MattersSavedQueriesList
- msqlXgafv :: Lens' MattersSavedQueriesList (Maybe Xgafv)
- msqlUploadProtocol :: Lens' MattersSavedQueriesList (Maybe Text)
- msqlAccessToken :: Lens' MattersSavedQueriesList (Maybe Text)
- msqlUploadType :: Lens' MattersSavedQueriesList (Maybe Text)
- msqlMatterId :: Lens' MattersSavedQueriesList Text
- msqlPageToken :: Lens' MattersSavedQueriesList (Maybe Text)
- msqlPageSize :: Lens' MattersSavedQueriesList (Maybe Int32)
- msqlCallback :: Lens' MattersSavedQueriesList (Maybe Text)
REST Resource
type MattersSavedQueriesListResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("savedQueries" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSavedQueriesResponse))))))))))) Source #
A resource alias for vault.matters.savedQueries.list
method which the
MattersSavedQueriesList
request conforms to.
Creating a Request
mattersSavedQueriesList Source #
Creates a value of MattersSavedQueriesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersSavedQueriesList Source #
Lists saved queries within a matter. An empty page token in ListSavedQueriesResponse denotes no more saved queries to list.
See: mattersSavedQueriesList
smart constructor.
Instances
Request Lenses
msqlUploadProtocol :: Lens' MattersSavedQueriesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
msqlAccessToken :: Lens' MattersSavedQueriesList (Maybe Text) Source #
OAuth access token.
msqlUploadType :: Lens' MattersSavedQueriesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
msqlMatterId :: Lens' MattersSavedQueriesList Text Source #
The matter id of the parent matter for which the saved queries are to be retrieved.
msqlPageToken :: Lens' MattersSavedQueriesList (Maybe Text) Source #
The pagination token as returned in the previous response. An empty token means start from the beginning.
msqlPageSize :: Lens' MattersSavedQueriesList (Maybe Int32) Source #
The maximum number of saved queries to return.
msqlCallback :: Lens' MattersSavedQueriesList (Maybe Text) Source #
JSONP