| 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 |
Network.Google.Resource.Games.Quests.Accept
Description
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))))))) #
A resource alias for games.quests.accept method which the
QuestsAccept request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> QuestsAccept |
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 #
Indicates that the currently authorized user will participate in the quest.
See: questsAccept smart constructor.
Instances
| Eq QuestsAccept # | |
| Data QuestsAccept # | |
| Show QuestsAccept # | |
| Generic QuestsAccept # | |
| GoogleRequest QuestsAccept # | |
| type Rep QuestsAccept # | |
| type Scopes QuestsAccept # | |
| type Rs QuestsAccept # | |
Request Lenses
qaConsistencyToken :: Lens' QuestsAccept (Maybe Int64) #
The last-seen mutation timestamp.
qaLanguage :: Lens' QuestsAccept (Maybe Text) #
The preferred language to use for strings returned by this method.
qaQuestId :: Lens' QuestsAccept Text #
The ID of the quest.