gogol-mirror-0.5.0: Google Mirror SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Mirror.Contacts.Get

Contents

Description

Gets a single contact by ID.

See: Google Mirror API Reference for mirror.contacts.get.

Synopsis

REST Resource

type ContactsGetResource = "mirror" :> ("v1" :> ("contacts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Contact)))) Source #

A resource alias for mirror.contacts.get method which the ContactsGet request conforms to.

Creating a Request

contactsGet Source #

Arguments

:: Text

cgId

-> ContactsGet 

Creates a value of ContactsGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ContactsGet Source #

Gets a single contact by ID.

See: contactsGet smart constructor.

Instances
Eq ContactsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Get

Data ContactsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Get

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContactsGet -> c ContactsGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContactsGet #

toConstr :: ContactsGet -> Constr #

dataTypeOf :: ContactsGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContactsGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContactsGet) #

gmapT :: (forall b. Data b => b -> b) -> ContactsGet -> ContactsGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContactsGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContactsGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContactsGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContactsGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContactsGet -> m ContactsGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContactsGet -> m ContactsGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContactsGet -> m ContactsGet #

Show ContactsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Get

Generic ContactsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Get

Associated Types

type Rep ContactsGet :: Type -> Type #

GoogleRequest ContactsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Get

Associated Types

type Rs ContactsGet :: Type #

type Scopes ContactsGet :: [Symbol] #

type Rep ContactsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Get

type Rep ContactsGet = D1 (MetaData "ContactsGet" "Network.Google.Resource.Mirror.Contacts.Get" "gogol-mirror-0.5.0-BUkgmnKch95Ghu52Suiwzd" True) (C1 (MetaCons "ContactsGet'" PrefixI True) (S1 (MetaSel (Just "_cgId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes ContactsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Get

type Scopes ContactsGet = "https://www.googleapis.com/auth/glass.timeline" ': ([] :: [Symbol])
type Rs ContactsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Get

Request Lenses

cgId :: Lens' ContactsGet Text Source #

The ID of the contact.