gogol-games-0.0.1: Google Play Game Services SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Games.Rooms.List

Contents

Description

Returns invitations to join rooms.

See: Google Play Game Services API Reference for games.rooms.list.

Synopsis

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:

Request Lenses

rLanguage :: Lens' RoomsList (Maybe Text) Source

The preferred language to use for strings returned by this method.

rPageToken :: Lens' RoomsList (Maybe Text) Source

The token returned by the previous request.

rMaxResults :: Lens' RoomsList (Maybe Int32) Source

The maximum number of rooms to return in the response, used for paging. For any response, the actual number of rooms to return may be less than the specified maxResults.