gogol-plus-0.2.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.Activities.List

Contents

Description

List all of the activities in the specified collection for a particular user.

See: Google+ API Reference for plus.activities.list.

Synopsis

REST Resource

type ActivitiesListResource = "plus" :> ("v1" :> ("people" :> (Capture "userId" Text :> ("activities" :> (Capture "collection" ActivitiesListCollection :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ActivityFeed)))))))) Source #

A resource alias for plus.activities.list method which the ActivitiesList request conforms to.

Creating a Request

activitiesList Source #

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

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

data ActivitiesList Source #

List all of the activities in the specified collection for a particular user.

See: activitiesList smart constructor.

Instances

Eq ActivitiesList Source # 
Data ActivitiesList Source # 

Methods

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

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

toConstr :: ActivitiesList -> Constr #

dataTypeOf :: ActivitiesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ActivitiesList Source # 
Generic ActivitiesList Source # 

Associated Types

type Rep ActivitiesList :: * -> * #

GoogleRequest ActivitiesList Source # 
type Rep ActivitiesList Source # 
type Rep ActivitiesList = D1 (MetaData "ActivitiesList" "Network.Google.Resource.Plus.Activities.List" "gogol-plus-0.2.0-GpgpDzHyT6mBIOwd6bzozk" False) (C1 (MetaCons "ActivitiesList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_alCollection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ActivitiesListCollection)) (S1 (MetaSel (Just Symbol "_alUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_alPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_alMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word32))))))
type Scopes ActivitiesList Source # 
type Scopes ActivitiesList = (:) Symbol "https://www.googleapis.com/auth/plus.login" ((:) Symbol "https://www.googleapis.com/auth/plus.me" ([] Symbol))
type Rs ActivitiesList Source # 

Request Lenses

alCollection :: Lens' ActivitiesList ActivitiesListCollection Source #

The collection of activities to list.

alUserId :: Lens' ActivitiesList Text Source #

The ID of the user to get activities for. The special value "me" can be used to indicate the authenticated user.

alPageToken :: Lens' ActivitiesList (Maybe Text) Source #

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.

alMaxResults :: Lens' ActivitiesList Word32 Source #

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