gogol-plus-0.3.0: Google + 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.Plus.Comments.Get

Contents

Description

Get a comment.

See: Google+ API Reference for plus.comments.get.

Synopsis

REST Resource

type CommentsGetResource = "plus" :> ("v1" :> ("comments" :> (Capture "commentId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Comment)))) Source #

A resource alias for plus.comments.get method which the CommentsGet request conforms to.

Creating a Request

commentsGet Source #

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

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

data CommentsGet Source #

Get a comment.

See: commentsGet smart constructor.

Instances

Eq CommentsGet Source # 
Data CommentsGet Source # 

Methods

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

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

toConstr :: CommentsGet -> Constr #

dataTypeOf :: CommentsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsGet Source # 
Generic CommentsGet Source # 

Associated Types

type Rep CommentsGet :: * -> * #

GoogleRequest CommentsGet Source # 

Associated Types

type Rs CommentsGet :: * #

type Scopes CommentsGet :: [Symbol] #

type Rep CommentsGet Source # 
type Rep CommentsGet = D1 (MetaData "CommentsGet" "Network.Google.Resource.Plus.Comments.Get" "gogol-plus-0.3.0-BwYQvQ1sd2GGT1yoeOi5JU" True) (C1 (MetaCons "CommentsGet'" PrefixI True) (S1 (MetaSel (Just Symbol "_cgCommentId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes CommentsGet Source # 
type Scopes CommentsGet = (:) Symbol "https://www.googleapis.com/auth/plus.login" ((:) Symbol "https://www.googleapis.com/auth/plus.me" ([] Symbol))
type Rs CommentsGet Source # 

Request Lenses

cgCommentId :: Lens' CommentsGet Text Source #

The ID of the comment to get.