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