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.Events.ListByPlayer

Contents

Description

Returns a list showing the current progress on events in this application for the currently authenticated user.

See: Google Play Game Services API Reference for games.events.listByPlayer.

Synopsis

REST Resource

type EventsListByPlayerResource = "games" :> ("v1" :> ("events" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PlayerEventListResponse)))))) Source #

A resource alias for games.events.listByPlayer method which the EventsListByPlayer request conforms to.

Creating a Request

eventsListByPlayer :: EventsListByPlayer Source #

Creates a value of EventsListByPlayer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data EventsListByPlayer Source #

Returns a list showing the current progress on events in this application for the currently authenticated user.

See: eventsListByPlayer smart constructor.

Instances
Eq EventsListByPlayer Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListByPlayer

Data EventsListByPlayer Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListByPlayer

Methods

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

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

toConstr :: EventsListByPlayer -> Constr #

dataTypeOf :: EventsListByPlayer -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventsListByPlayer Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListByPlayer

Generic EventsListByPlayer Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListByPlayer

Associated Types

type Rep EventsListByPlayer :: Type -> Type #

GoogleRequest EventsListByPlayer Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListByPlayer

Associated Types

type Rs EventsListByPlayer :: Type #

type Scopes EventsListByPlayer :: [Symbol] #

type Rep EventsListByPlayer Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListByPlayer

type Rep EventsListByPlayer = D1 (MetaData "EventsListByPlayer" "Network.Google.Resource.Games.Events.ListByPlayer" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "EventsListByPlayer'" PrefixI True) (S1 (MetaSel (Just "_elbpLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_elbpPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_elbpMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes EventsListByPlayer Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListByPlayer

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

Defined in Network.Google.Resource.Games.Events.ListByPlayer

Request Lenses

elbpLanguage :: Lens' EventsListByPlayer (Maybe Text) Source #

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

elbpPageToken :: Lens' EventsListByPlayer (Maybe Text) Source #

The token returned by the previous request.

elbpMaxResults :: Lens' EventsListByPlayer (Maybe Int32) Source #

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