gogol-games-0.0.1: Google Play Game Services SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Games.Quests.Accept

Contents

Description

Indicates that the currently authorized user will participate in the quest.

See: Google Play Game Services API Reference for games.quests.accept.

Synopsis

REST Resource

type QuestsAcceptResource = "games" :> ("v1" :> ("quests" :> (Capture "questId" Text :> ("accept" :> (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

questsAccept Source

Arguments

:: Text

qaQuestId

-> 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 Source

Indicates that the currently authorized user will participate in the quest.

See: questsAccept smart constructor.

Request Lenses

qaLanguage :: Lens' QuestsAccept (Maybe Text) Source

The preferred language to use for strings returned by this method.

qaQuestId :: Lens' QuestsAccept Text Source

The ID of the quest.