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

Contents

Description

Leave a turn-based match when it is not the current player's turn, without canceling the match.

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

Synopsis

REST Resource

type TurnBasedMatchesLeaveResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> ("leave" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] TurnBasedMatch)))))) Source #

A resource alias for games.turnBasedMatches.leave method which the TurnBasedMatchesLeave request conforms to.

Creating a Request

turnBasedMatchesLeave Source #

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

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

data TurnBasedMatchesLeave Source #

Leave a turn-based match when it is not the current player's turn, without canceling the match.

See: turnBasedMatchesLeave smart constructor.

Instances
Eq TurnBasedMatchesLeave Source # 
Instance details

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

Data TurnBasedMatchesLeave Source # 
Instance details

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

Methods

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

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

toConstr :: TurnBasedMatchesLeave -> Constr #

dataTypeOf :: TurnBasedMatchesLeave -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TurnBasedMatchesLeave Source # 
Instance details

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

Generic TurnBasedMatchesLeave Source # 
Instance details

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

Associated Types

type Rep TurnBasedMatchesLeave :: Type -> Type #

GoogleRequest TurnBasedMatchesLeave Source # 
Instance details

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

type Rep TurnBasedMatchesLeave Source # 
Instance details

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

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

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

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

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

Request Lenses

tbmlLanguage :: Lens' TurnBasedMatchesLeave (Maybe Text) Source #

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