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 |
Join a turn-based match.
See: Google Play Game Services API Reference for games.turnBasedMatches.join
.
Synopsis
- type TurnBasedMatchesJoinResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> ("join" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] TurnBasedMatch))))))
- turnBasedMatchesJoin :: Text -> TurnBasedMatchesJoin
- data TurnBasedMatchesJoin
- tbmjLanguage :: Lens' TurnBasedMatchesJoin (Maybe Text)
- tbmjMatchId :: Lens' TurnBasedMatchesJoin Text
REST Resource
type TurnBasedMatchesJoinResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> ("join" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] TurnBasedMatch)))))) Source #
A resource alias for games.turnBasedMatches.join
method which the
TurnBasedMatchesJoin
request conforms to.
Creating a Request
Creates a value of TurnBasedMatchesJoin
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TurnBasedMatchesJoin Source #
Join a turn-based match.
See: turnBasedMatchesJoin
smart constructor.
Instances
Request Lenses
tbmjLanguage :: Lens' TurnBasedMatchesJoin (Maybe Text) Source #
The preferred language to use for strings returned by this method.
tbmjMatchId :: Lens' TurnBasedMatchesJoin Text Source #
The ID of the match.