gogol-plus-domains-0.4.0: 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 # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Comments.Insert

Data CommentsInsert Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Comments.Insert

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 # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Comments.Insert

Generic CommentsInsert Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Comments.Insert

Associated Types

type Rep CommentsInsert :: Type -> Type #

GoogleRequest CommentsInsert Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Comments.Insert

Associated Types

type Rs CommentsInsert :: Type #

type Scopes CommentsInsert :: [Symbol] #

type Rep CommentsInsert Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Comments.Insert

type Rep CommentsInsert = D1 (MetaData "CommentsInsert" "Network.Google.Resource.PlusDomains.Comments.Insert" "gogol-plus-domains-0.4.0-34lALQjqVKZA6ahc5WKRcy" False) (C1 (MetaCons "CommentsInsert'" PrefixI True) (S1 (MetaSel (Just "_cActivityId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Comment)))
type Scopes CommentsInsert Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Comments.Insert

type Scopes CommentsInsert = "https://www.googleapis.com/auth/plus.login" ': ("https://www.googleapis.com/auth/plus.stream.write" ': ([] :: [Symbol]))
type Rs CommentsInsert Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Comments.Insert

Request Lenses

cActivityId :: Lens' CommentsInsert Text Source #

The ID of the activity to reply to.

cPayload :: Lens' CommentsInsert Comment Source #

Multipart request metadata.