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 |
Dismiss a turn-based match from the match list. The match will no longer show up in the list and will not generate notifications.
See: Google Play Game Services API Reference for games.turnBasedMatches.dismiss
.
- type TurnBasedMatchesDismissResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> ("dismiss" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "alt" AltJSON :> Put '[JSON] ()))))))
- turnBasedMatchesDismiss :: Text -> TurnBasedMatchesDismiss
- data TurnBasedMatchesDismiss
- tbmdsConsistencyToken :: Lens' TurnBasedMatchesDismiss (Maybe Int64)
- tbmdsMatchId :: Lens' TurnBasedMatchesDismiss Text
REST Resource
type TurnBasedMatchesDismissResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> ("dismiss" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "alt" AltJSON :> Put '[JSON] ())))))) Source #
A resource alias for games.turnBasedMatches.dismiss
method which the
TurnBasedMatchesDismiss
request conforms to.
Creating a Request
turnBasedMatchesDismiss Source #
Creates a value of TurnBasedMatchesDismiss
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TurnBasedMatchesDismiss Source #
Dismiss a turn-based match from the match list. The match will no longer show up in the list and will not generate notifications.
See: turnBasedMatchesDismiss
smart constructor.
Request Lenses
tbmdsConsistencyToken :: Lens' TurnBasedMatchesDismiss (Maybe Int64) Source #
The last-seen mutation timestamp.
tbmdsMatchId :: Lens' TurnBasedMatchesDismiss Text Source #
The ID of the match.