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.List

Contents

Description

Retrieves the comments for a post, possibly filtered.

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

Synopsis

REST Resource

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

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

Creating a Request

commentsList Source #

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 Source #

Retrieves the comments for a post, possibly filtered.

See: commentsList smart constructor.

Instances
Eq CommentsList Source # 
Instance details

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

Data CommentsList Source # 
Instance details

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

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

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

Generic CommentsList Source # 
Instance details

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

Associated Types

type Rep CommentsList :: Type -> Type #

GoogleRequest CommentsList Source # 
Instance details

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

Associated Types

type Rs CommentsList :: Type #

type Scopes CommentsList :: [Symbol] #

type Rep CommentsList Source # 
Instance details

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

type Scopes CommentsList Source # 
Instance details

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

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

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

Request Lenses

clEndDate :: Lens' CommentsList (Maybe UTCTime) Source #

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

clBlogId :: Lens' CommentsList Text Source #

ID of the blog to fetch comments from.

clStartDate :: Lens' CommentsList (Maybe UTCTime) Source #

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

clFetchBodies :: Lens' CommentsList (Maybe Bool) Source #

Whether the body content of the comments is included.

clView :: Lens' CommentsList (Maybe CommentsListView) Source #

Access level with which to view the returned result. Note that some fields require elevated access.

clPostId :: Lens' CommentsList Text Source #

ID of the post to fetch posts from.

clPageToken :: Lens' CommentsList (Maybe Text) Source #

Continuation token if request is paged.

clMaxResults :: Lens' CommentsList (Maybe Word32) Source #

Maximum number of comments to include in the result.