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 |
Returns invitations to join rooms.
See: Google Play Game Services API Reference for games.rooms.list
.
Synopsis
- type RoomsListResource = "games" :> ("v1" :> ("rooms" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] RoomList))))))
- roomsList :: RoomsList
- data RoomsList
- rLanguage :: Lens' RoomsList (Maybe Text)
- rPageToken :: Lens' RoomsList (Maybe Text)
- rMaxResults :: Lens' RoomsList (Maybe Int32)
REST Resource
type RoomsListResource = "games" :> ("v1" :> ("rooms" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] RoomList)))))) Source #
A resource alias for games.rooms.list
method which the
RoomsList
request conforms to.
Creating a Request
roomsList :: RoomsList Source #
Creates a value of RoomsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Returns invitations to join rooms.
See: roomsList
smart constructor.