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

Copyright(c) 2015-2016 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 "consistencyToken" (Textual Int64) :> (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:

data RoomsList Source #

Returns invitations to join rooms.

See: roomsList smart constructor.

Instances

Eq RoomsList Source # 
Data RoomsList Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RoomsList -> c RoomsList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RoomsList #

toConstr :: RoomsList -> Constr #

dataTypeOf :: RoomsList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RoomsList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RoomsList) #

gmapT :: (forall b. Data b => b -> b) -> RoomsList -> RoomsList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RoomsList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RoomsList -> r #

gmapQ :: (forall d. Data d => d -> u) -> RoomsList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RoomsList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RoomsList -> m RoomsList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RoomsList -> m RoomsList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RoomsList -> m RoomsList #

Show RoomsList Source # 
Generic RoomsList Source # 

Associated Types

type Rep RoomsList :: * -> * #

GoogleRequest RoomsList Source # 

Associated Types

type Rs RoomsList :: * #

type Scopes RoomsList :: [Symbol] #

type Rep RoomsList Source # 
type Rep RoomsList = D1 (MetaData "RoomsList" "Network.Google.Resource.Games.Rooms.List" "gogol-games-0.1.1-51s1M5pkrSC2hZZaHOnQh5" False) (C1 (MetaCons "RoomsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_rLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_rPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes RoomsList Source # 
type Scopes RoomsList = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs RoomsList Source # 

Request Lenses

rConsistencyToken :: Lens' RoomsList (Maybe Int64) Source #

The last-seen mutation timestamp.

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.