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 |
Decline an invitation to play a turn-based match.
See: Google Play Game Services API Reference for games.turnBasedMatches.decline
.
Synopsis
- type TurnBasedMatchesDeclineResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> ("decline" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] TurnBasedMatch))))))
- turnBasedMatchesDecline :: Text -> TurnBasedMatchesDecline
- data TurnBasedMatchesDecline
- tbmdLanguage :: Lens' TurnBasedMatchesDecline (Maybe Text)
- tbmdMatchId :: Lens' TurnBasedMatchesDecline Text
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
Request Lenses
tbmdLanguage :: Lens' TurnBasedMatchesDecline (Maybe Text) Source #
The preferred language to use for strings returned by this method.
tbmdMatchId :: Lens' TurnBasedMatchesDecline Text Source #
The ID of the match.