{-# 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.ResetAll
(
QuestsResetAllResource
, questsResetAll
, QuestsResetAll
) where
import Network.Google.GamesManagement.Types
import Network.Google.Prelude
type QuestsResetAllResource =
"games" :>
"v1management" :>
"quests" :>
"reset" :>
QueryParam "alt" AltJSON :> Post '[JSON] ()
data QuestsResetAll =
QuestsResetAll'
deriving (Eq,Show,Data,Typeable,Generic)
questsResetAll
:: QuestsResetAll
questsResetAll = QuestsResetAll'
instance GoogleRequest QuestsResetAll where
type Rs QuestsResetAll = ()
type Scopes QuestsResetAll =
'["https://www.googleapis.com/auth/games"]
requestClient QuestsResetAll'{}
= go (Just AltJSON) gamesManagementService
where go
= buildClient (Proxy :: Proxy QuestsResetAllResource)
mempty