Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.Resource.Plus.Comments.List
Description
List all of the comments for an activity.
See: Google+ API Reference for plus.comments.list
.
- type CommentsListResource = "plus" :> ("v1" :> ("activities" :> (Capture "activityId" Text :> ("comments" :> (QueryParam "sortOrder" CommentsListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CommentFeed))))))))
- commentsList :: Text -> CommentsList
- data CommentsList
- clActivityId :: Lens' CommentsList Text
- clSortOrder :: Lens' CommentsList CommentsListSortOrder
- clPageToken :: Lens' CommentsList (Maybe Text)
- clMaxResults :: Lens' CommentsList Word32
REST Resource
type CommentsListResource = "plus" :> ("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 plus.comments.list
method which the
CommentsList
request conforms to.
Creating a Request
Arguments
:: Text | |
-> 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 # | |
Show CommentsList # | |
Generic CommentsList # | |
GoogleRequest CommentsList # | |
type Rep CommentsList # | |
type Scopes CommentsList # | |
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.