{-# 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.Mirror.Contacts.List
(
ContactsListResource
, contactsList
, ContactsList
) where
import Network.Google.Mirror.Types
import Network.Google.Prelude
type ContactsListResource =
"mirror" :>
"v1" :>
"contacts" :>
QueryParam "alt" AltJSON :>
Get '[JSON] ContactsListResponse
data ContactsList =
ContactsList'
deriving (Eq,Show,Data,Typeable,Generic)
contactsList
:: ContactsList
contactsList = ContactsList'
instance GoogleRequest ContactsList where
type Rs ContactsList = ContactsListResponse
type Scopes ContactsList =
'["https://www.googleapis.com/auth/glass.timeline"]
requestClient ContactsList'{}
= go (Just AltJSON) mirrorService
where go
= buildClient (Proxy :: Proxy ContactsListResource)
mempty