{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Network.Google.Resource.GamesManagement.Quests.ResetAllForAllPlayers
(
QuestsResetAllForAllPlayersResource
, questsResetAllForAllPlayers
, QuestsResetAllForAllPlayers
) where
import Network.Google.GamesManagement.Types
import Network.Google.Prelude
type QuestsResetAllForAllPlayersResource =
"games" :>
"v1management" :>
"quests" :>
"resetAllForAllPlayers" :>
QueryParam "alt" AltJSON :> Post '[JSON] ()
data QuestsResetAllForAllPlayers =
QuestsResetAllForAllPlayers'
deriving (Eq,Show,Data,Typeable,Generic)
questsResetAllForAllPlayers
:: QuestsResetAllForAllPlayers
questsResetAllForAllPlayers = QuestsResetAllForAllPlayers'
instance GoogleRequest QuestsResetAllForAllPlayers
where
type Rs QuestsResetAllForAllPlayers = ()
type Scopes QuestsResetAllForAllPlayers =
'["https://www.googleapis.com/auth/games"]
requestClient QuestsResetAllForAllPlayers'{}
= go (Just AltJSON) gamesManagementService
where go
= buildClient
(Proxy :: Proxy QuestsResetAllForAllPlayersResource)
mempty