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