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