Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.Resource.Games.Rooms.Decline
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
.
- type RoomsDeclineResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> ("decline" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Room)))))))
- roomsDecline :: Text -> RoomsDecline
- data RoomsDecline
- rooConsistencyToken :: Lens' RoomsDecline (Maybe Int64)
- rooRoomId :: Lens' RoomsDecline Text
- rooLanguage :: Lens' RoomsDecline (Maybe Text)
REST Resource
type RoomsDeclineResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> ("decline" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Room))))))) #
A resource alias for games.rooms.decline
method which the
RoomsDecline
request conforms to.
Creating a Request
Arguments
:: Text | |
-> 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 #
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 # | |
Data RoomsDecline # | |
Show RoomsDecline # | |
Generic RoomsDecline # | |
GoogleRequest RoomsDecline # | |
type Rep RoomsDecline # | |
type Scopes RoomsDecline # | |
type Rs RoomsDecline # | |
Request Lenses
rooConsistencyToken :: Lens' RoomsDecline (Maybe Int64) #
The last-seen mutation timestamp.
rooRoomId :: Lens' RoomsDecline Text #
The ID of the room.
rooLanguage :: Lens' RoomsDecline (Maybe Text) #
The preferred language to use for strings returned by this method.