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

Contents

Description

Decline an invitation to join a room. For internal use by the Games SDK only. Calling this method directly is unsupported.

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

Synopsis

REST Resource

type RoomsDeclineResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> ("decline" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Room)))))) Source #

A resource alias for games.rooms.decline method which the RoomsDecline request conforms to.

Creating a Request

roomsDecline Source #

Arguments

:: Text

rooRoomId

-> RoomsDecline 

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

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

data RoomsDecline Source #

Decline an invitation to join a room. For internal use by the Games SDK only. Calling this method directly is unsupported.

See: roomsDecline smart constructor.

Instances
Eq RoomsDecline Source # 
Instance details

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

Data RoomsDecline Source # 
Instance details

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

Methods

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

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

toConstr :: RoomsDecline -> Constr #

dataTypeOf :: RoomsDecline -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RoomsDecline Source # 
Instance details

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

Generic RoomsDecline Source # 
Instance details

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

Associated Types

type Rep RoomsDecline :: Type -> Type #

GoogleRequest RoomsDecline Source # 
Instance details

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

Associated Types

type Rs RoomsDecline :: Type #

type Scopes RoomsDecline :: [Symbol] #

type Rep RoomsDecline Source # 
Instance details

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

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

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

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

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

Request Lenses

rooRoomId :: Lens' RoomsDecline Text Source #

The ID of the room.

rooLanguage :: Lens' RoomsDecline (Maybe Text) Source #

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