gogol-plus-domains-0.1.1: Google + Domains 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.PlusDomains.Comments.Insert

Contents

Description

Create a new comment in reply to an activity.

See: Google+ Domains API Reference for plusDomains.comments.insert.

Synopsis

REST Resource

type CommentsInsertResource = "plusDomains" :> ("v1" :> ("activities" :> (Capture "activityId" Text :> ("comments" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Comment :> Post '[JSON] Comment)))))) Source #

A resource alias for plusDomains.comments.insert method which the CommentsInsert request conforms to.

Creating a Request

commentsInsert Source #

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

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

data CommentsInsert Source #

Create a new comment in reply to an activity.

See: commentsInsert smart constructor.

Instances

Eq CommentsInsert Source # 
Data CommentsInsert Source # 

Methods

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

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

toConstr :: CommentsInsert -> Constr #

dataTypeOf :: CommentsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsInsert Source # 
Generic CommentsInsert Source # 

Associated Types

type Rep CommentsInsert :: * -> * #

GoogleRequest CommentsInsert Source # 
type Rep CommentsInsert Source # 
type Rep CommentsInsert = D1 (MetaData "CommentsInsert" "Network.Google.Resource.PlusDomains.Comments.Insert" "gogol-plus-domains-0.1.1-LNJP6Tobwh23lq6Hc2Os4A" False) (C1 (MetaCons "CommentsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cActivityId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Comment))))
type Scopes CommentsInsert Source # 
type Scopes CommentsInsert = (:) Symbol "https://www.googleapis.com/auth/plus.login" ((:) Symbol "https://www.googleapis.com/auth/plus.stream.write" ([] Symbol))
type Rs CommentsInsert Source # 

Request Lenses

cActivityId :: Lens' CommentsInsert Text Source #

The ID of the activity to reply to.

cPayload :: Lens' CommentsInsert Comment Source #

Multipart request metadata.