gogol-blogger-0.4.0: Google Blogger 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.Blogger.Comments.ListByBlog

Contents

Description

Retrieves the comments for a blog, across all posts, possibly filtered.

See: Blogger API Reference for blogger.comments.listByBlog.

Synopsis

REST Resource

type CommentsListByBlogResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("comments" :> (QueryParams "status" CommentsListByBlogStatus :> (QueryParam "endDate" DateTime' :> (QueryParam "startDate" DateTime' :> (QueryParam "fetchBodies" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CommentList))))))))))) Source #

A resource alias for blogger.comments.listByBlog method which the CommentsListByBlog request conforms to.

Creating a Request

commentsListByBlog Source #

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

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

data CommentsListByBlog Source #

Retrieves the comments for a blog, across all posts, possibly filtered.

See: commentsListByBlog smart constructor.

Instances
Eq CommentsListByBlog Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Comments.ListByBlog

Data CommentsListByBlog Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Comments.ListByBlog

Methods

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

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

toConstr :: CommentsListByBlog -> Constr #

dataTypeOf :: CommentsListByBlog -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsListByBlog Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Comments.ListByBlog

Generic CommentsListByBlog Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Comments.ListByBlog

Associated Types

type Rep CommentsListByBlog :: Type -> Type #

GoogleRequest CommentsListByBlog Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Comments.ListByBlog

Associated Types

type Rs CommentsListByBlog :: Type #

type Scopes CommentsListByBlog :: [Symbol] #

type Rep CommentsListByBlog Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Comments.ListByBlog

type Rep CommentsListByBlog = D1 (MetaData "CommentsListByBlog" "Network.Google.Resource.Blogger.Comments.ListByBlog" "gogol-blogger-0.4.0-J2l0mOXVNniBwK88dTMLog" False) (C1 (MetaCons "CommentsListByBlog'" PrefixI True) ((S1 (MetaSel (Just "_clbbStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CommentsListByBlogStatus])) :*: (S1 (MetaSel (Just "_clbbEndDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_clbbBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_clbbStartDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_clbbFetchBodies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_clbbPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_clbbMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))))
type Scopes CommentsListByBlog Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Comments.ListByBlog

type Scopes CommentsListByBlog = "https://www.googleapis.com/auth/blogger" ': ("https://www.googleapis.com/auth/blogger.readonly" ': ([] :: [Symbol]))
type Rs CommentsListByBlog Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Comments.ListByBlog

Request Lenses

clbbEndDate :: Lens' CommentsListByBlog (Maybe UTCTime) Source #

Latest date of comment to fetch, a date-time with RFC 3339 formatting.

clbbBlogId :: Lens' CommentsListByBlog Text Source #

ID of the blog to fetch comments from.

clbbStartDate :: Lens' CommentsListByBlog (Maybe UTCTime) Source #

Earliest date of comment to fetch, a date-time with RFC 3339 formatting.

clbbFetchBodies :: Lens' CommentsListByBlog (Maybe Bool) Source #

Whether the body content of the comments is included.

clbbPageToken :: Lens' CommentsListByBlog (Maybe Text) Source #

Continuation token if request is paged.

clbbMaxResults :: Lens' CommentsListByBlog (Maybe Word32) Source #

Maximum number of comments to include in the result.