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