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 |
Cancel a turn-based match.
See: Google Play Game Services API Reference for games.turnBasedMatches.cancel
.
- type TurnBasedMatchesCancelResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> ("cancel" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "alt" AltJSON :> Put '[JSON] ()))))))
- turnBasedMatchesCancel :: Text -> TurnBasedMatchesCancel
- data TurnBasedMatchesCancel
- tConsistencyToken :: Lens' TurnBasedMatchesCancel (Maybe Int64)
- tMatchId :: Lens' TurnBasedMatchesCancel Text
REST Resource
type TurnBasedMatchesCancelResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> ("cancel" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "alt" AltJSON :> Put '[JSON] ())))))) Source #
A resource alias for games.turnBasedMatches.cancel
method which the
TurnBasedMatchesCancel
request conforms to.
Creating a Request
turnBasedMatchesCancel Source #
Creates a value of TurnBasedMatchesCancel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TurnBasedMatchesCancel Source #
Cancel a turn-based match.
See: turnBasedMatchesCancel
smart constructor.
Request Lenses
tConsistencyToken :: Lens' TurnBasedMatchesCancel (Maybe Int64) Source #
The last-seen mutation timestamp.