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

Contents

Description

Decline an invitation to play a turn-based match.

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

Synopsis

REST Resource

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

A resource alias for games.turnBasedMatches.decline method which the TurnBasedMatchesDecline request conforms to.

Creating a Request

turnBasedMatchesDecline Source #

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

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

data TurnBasedMatchesDecline Source #

Decline an invitation to play a turn-based match.

See: turnBasedMatchesDecline smart constructor.

Instances
Eq TurnBasedMatchesDecline Source # 
Instance details

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

Data TurnBasedMatchesDecline Source # 
Instance details

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

Methods

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

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

toConstr :: TurnBasedMatchesDecline -> Constr #

dataTypeOf :: TurnBasedMatchesDecline -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TurnBasedMatchesDecline Source # 
Instance details

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

Generic TurnBasedMatchesDecline Source # 
Instance details

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

Associated Types

type Rep TurnBasedMatchesDecline :: Type -> Type #

GoogleRequest TurnBasedMatchesDecline Source # 
Instance details

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

type Rep TurnBasedMatchesDecline Source # 
Instance details

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

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

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

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

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

Request Lenses

tbmdLanguage :: Lens' TurnBasedMatchesDecline (Maybe Text) Source #

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