gogol-mirror-0.4.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.Insert

Contents

Description

Inserts a new contact.

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

Synopsis

REST Resource

type ContactsInsertResource = "mirror" :> ("v1" :> ("contacts" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Contact :> Post '[JSON] Contact)))) Source #

A resource alias for mirror.contacts.insert method which the ContactsInsert request conforms to.

Creating a Request

contactsInsert Source #

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

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

data ContactsInsert Source #

Inserts a new contact.

See: contactsInsert smart constructor.

Instances
Eq ContactsInsert Source # 
Instance details

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

Data ContactsInsert Source # 
Instance details

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

Methods

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

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

toConstr :: ContactsInsert -> Constr #

dataTypeOf :: ContactsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ContactsInsert Source # 
Instance details

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

Generic ContactsInsert Source # 
Instance details

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

Associated Types

type Rep ContactsInsert :: Type -> Type #

GoogleRequest ContactsInsert Source # 
Instance details

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

Associated Types

type Rs ContactsInsert :: Type #

type Scopes ContactsInsert :: [Symbol] #

type Rep ContactsInsert Source # 
Instance details

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

type Rep ContactsInsert = D1 (MetaData "ContactsInsert" "Network.Google.Resource.Mirror.Contacts.Insert" "gogol-mirror-0.4.0-9c962MxnB494MCOxCUtS1H" True) (C1 (MetaCons "ContactsInsert'" PrefixI True) (S1 (MetaSel (Just "_ciPayload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Contact)))
type Scopes ContactsInsert Source # 
Instance details

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

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

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

Request Lenses

ciPayload :: Lens' ContactsInsert Contact Source #

Multipart request metadata.