gogol-games-0.4.0: 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 "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 # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.List

Data RoomsList Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.List

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 # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.List

Generic RoomsList Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.List

Associated Types

type Rep RoomsList :: Type -> Type #

GoogleRequest RoomsList Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.List

Associated Types

type Rs RoomsList :: Type #

type Scopes RoomsList :: [Symbol] #

type Rep RoomsList Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.List

type Rep RoomsList = D1 (MetaData "RoomsList" "Network.Google.Resource.Games.Rooms.List" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "RoomsList'" PrefixI True) (S1 (MetaSel (Just "_rLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes RoomsList Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.List

type Scopes RoomsList = "https://www.googleapis.com/auth/games" ': ([] :: [Symbol])
type Rs RoomsList Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.List

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.