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.TurnBasedMatches.Get

Contents

Description

Get the data for a turn-based match.

See: Google Play Game Services API Reference for games.turnBasedMatches.get.

Synopsis

REST Resource

type TurnBasedMatchesGetResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> (QueryParam "includeMatchData" Bool :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TurnBasedMatch)))))) Source #

A resource alias for games.turnBasedMatches.get method which the TurnBasedMatchesGet request conforms to.

Creating a Request

turnBasedMatchesGet Source #

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

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

data TurnBasedMatchesGet Source #

Get the data for a turn-based match.

See: turnBasedMatchesGet smart constructor.

Instances
Eq TurnBasedMatchesGet Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.Get

Data TurnBasedMatchesGet Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.Get

Methods

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

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

toConstr :: TurnBasedMatchesGet -> Constr #

dataTypeOf :: TurnBasedMatchesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TurnBasedMatchesGet Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.Get

Generic TurnBasedMatchesGet Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.Get

Associated Types

type Rep TurnBasedMatchesGet :: Type -> Type #

GoogleRequest TurnBasedMatchesGet Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.Get

Associated Types

type Rs TurnBasedMatchesGet :: Type #

type Scopes TurnBasedMatchesGet :: [Symbol] #

type Rep TurnBasedMatchesGet Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.Get

type Rep TurnBasedMatchesGet = D1 (MetaData "TurnBasedMatchesGet" "Network.Google.Resource.Games.TurnBasedMatches.Get" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "TurnBasedMatchesGet'" PrefixI True) (S1 (MetaSel (Just "_tbmgIncludeMatchData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_tbmgLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tbmgMatchId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TurnBasedMatchesGet Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.Get

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

Defined in Network.Google.Resource.Games.TurnBasedMatches.Get

Request Lenses

tbmgIncludeMatchData :: Lens' TurnBasedMatchesGet (Maybe Bool) Source #

Get match data along with metadata.

tbmgLanguage :: Lens' TurnBasedMatchesGet (Maybe Text) Source #

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