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 |
Indicates that the currently authorized user will participate in the quest.
See: Google Play Game Services API Reference for games.quests.accept
.
- type QuestsAcceptResource = "games" :> ("v1" :> ("quests" :> (Capture "questId" Text :> ("accept" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Quest)))))))
- questsAccept :: Text -> QuestsAccept
- data QuestsAccept
- qaConsistencyToken :: Lens' QuestsAccept (Maybe Int64)
- qaLanguage :: Lens' QuestsAccept (Maybe Text)
- qaQuestId :: Lens' QuestsAccept Text
REST Resource
type QuestsAcceptResource = "games" :> ("v1" :> ("quests" :> (Capture "questId" Text :> ("accept" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Quest))))))) Source #
A resource alias for games.quests.accept
method which the
QuestsAccept
request conforms to.
Creating a Request
Creates a value of QuestsAccept
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data QuestsAccept Source #
Indicates that the currently authorized user will participate in the quest.
See: questsAccept
smart constructor.
Request Lenses
qaConsistencyToken :: Lens' QuestsAccept (Maybe Int64) Source #
The last-seen mutation timestamp.
qaLanguage :: Lens' QuestsAccept (Maybe Text) Source #
The preferred language to use for strings returned by this method.