gogol-plus-domains-0.3.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.List

Contents

Description

List all of the comments for an activity.

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

Synopsis

REST Resource

type CommentsListResource = "plusDomains" :> ("v1" :> ("activities" :> (Capture "activityId" Text :> ("comments" :> (QueryParam "sortOrder" CommentsListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CommentFeed)))))))) #

A resource alias for plusDomains.comments.list method which the CommentsList request conforms to.

Creating a Request

commentsList #

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

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

data CommentsList #

List all of the comments for an activity.

See: commentsList smart constructor.

Instances

Eq CommentsList # 
Data CommentsList # 

Methods

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

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

toConstr :: CommentsList -> Constr #

dataTypeOf :: CommentsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsList # 
Generic CommentsList # 

Associated Types

type Rep CommentsList :: * -> * #

GoogleRequest CommentsList # 

Associated Types

type Rs CommentsList :: * #

type Scopes CommentsList :: [Symbol] #

type Rep CommentsList # 
type Rep CommentsList = D1 (MetaData "CommentsList" "Network.Google.Resource.PlusDomains.Comments.List" "gogol-plus-domains-0.3.0-5NfoDCXOEQH9vtTyvPlTBb" False) (C1 (MetaCons "CommentsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_clActivityId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_clSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CommentsListSortOrder))) ((:*:) (S1 (MetaSel (Just Symbol "_clPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_clMaxResults") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 (Textual Word32))))))
type Scopes CommentsList # 
type Scopes CommentsList = (:) Symbol "https://www.googleapis.com/auth/plus.login" ((:) Symbol "https://www.googleapis.com/auth/plus.stream.read" ([] Symbol))
type Rs CommentsList # 

Request Lenses

clActivityId :: Lens' CommentsList Text #

The ID of the activity to get comments for.

clSortOrder :: Lens' CommentsList CommentsListSortOrder #

The order in which to sort the list of comments.

clPageToken :: Lens' CommentsList (Maybe Text) #

The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.

clMaxResults :: Lens' CommentsList Word32 #

The maximum number of comments to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.