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 spaces the caller is a member of.
See: Hangouts Chat API Reference for chat.spaces.list
.
Synopsis
- type SpacesListResource = "v1" :> ("spaces" :> (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] ListSpacesResponse)))))))))
- spacesList :: SpacesList
- data SpacesList
- slXgafv :: Lens' SpacesList (Maybe Xgafv)
- slUploadProtocol :: Lens' SpacesList (Maybe Text)
- slAccessToken :: Lens' SpacesList (Maybe Text)
- slUploadType :: Lens' SpacesList (Maybe Text)
- slPageToken :: Lens' SpacesList (Maybe Text)
- slPageSize :: Lens' SpacesList (Maybe Int32)
- slCallback :: Lens' SpacesList (Maybe Text)
REST Resource
type SpacesListResource = "v1" :> ("spaces" :> (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] ListSpacesResponse))))))))) Source #
A resource alias for chat.spaces.list
method which the
SpacesList
request conforms to.
Creating a Request
spacesList :: SpacesList Source #
Creates a value of SpacesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SpacesList Source #
Lists spaces the caller is a member of.
See: spacesList
smart constructor.
Instances
Request Lenses
slUploadProtocol :: Lens' SpacesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
slAccessToken :: Lens' SpacesList (Maybe Text) Source #
OAuth access token.
slUploadType :: Lens' SpacesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
slPageToken :: Lens' SpacesList (Maybe Text) Source #
A token identifying a page of results the server should return.
slPageSize :: Lens' SpacesList (Maybe Int32) Source #
Requested page size. The value is capped at 1000. Server may return fewer results than requested. If unspecified, server will default to 100.
slCallback :: Lens' SpacesList (Maybe Text) Source #
JSONP