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.Create

Contents

Description

Create a turn-based match.

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

Synopsis

REST Resource

type TurnBasedMatchesCreateResource = "games" :> ("v1" :> ("turnbasedmatches" :> ("create" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TurnBasedMatchCreateRequest :> Post '[JSON] TurnBasedMatch)))))) Source #

A resource alias for games.turnBasedMatches.create method which the TurnBasedMatchesCreate request conforms to.

Creating a Request

turnBasedMatchesCreate Source #

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

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

data TurnBasedMatchesCreate Source #

Create a turn-based match.

See: turnBasedMatchesCreate smart constructor.

Instances
Eq TurnBasedMatchesCreate Source # 
Instance details

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

Data TurnBasedMatchesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: TurnBasedMatchesCreate -> Constr #

dataTypeOf :: TurnBasedMatchesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TurnBasedMatchesCreate Source # 
Instance details

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

Generic TurnBasedMatchesCreate Source # 
Instance details

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

Associated Types

type Rep TurnBasedMatchesCreate :: Type -> Type #

GoogleRequest TurnBasedMatchesCreate Source # 
Instance details

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

type Rep TurnBasedMatchesCreate Source # 
Instance details

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

type Rep TurnBasedMatchesCreate = D1 (MetaData "TurnBasedMatchesCreate" "Network.Google.Resource.Games.TurnBasedMatches.Create" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "TurnBasedMatchesCreate'" PrefixI True) (S1 (MetaSel (Just "_tbmcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TurnBasedMatchCreateRequest) :*: S1 (MetaSel (Just "_tbmcLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Scopes TurnBasedMatchesCreate Source # 
Instance details

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

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

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

Request Lenses

tbmcLanguage :: Lens' TurnBasedMatchesCreate (Maybe Text) Source #

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