gogol-mirror-0.5.0: Google Mirror 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.Mirror.Timeline.List

Contents

Description

Retrieves a list of timeline items for the authenticated user.

See: Google Mirror API Reference for mirror.timeline.list.

Synopsis

REST Resource

type TimelineListResource = "mirror" :> ("v1" :> ("timeline" :> (QueryParam "pinnedOnly" Bool :> (QueryParam "orderBy" TimelineListOrderBy :> (QueryParam "bundleId" Text :> (QueryParam "sourceItemId" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "includeDeleted" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] TimelineListResponse)))))))))) Source #

A resource alias for mirror.timeline.list method which the TimelineList request conforms to.

Creating a Request

timelineList :: TimelineList Source #

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

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

data TimelineList Source #

Retrieves a list of timeline items for the authenticated user.

See: timelineList smart constructor.

Instances
Eq TimelineList Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.List

Data TimelineList Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.List

Methods

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

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

toConstr :: TimelineList -> Constr #

dataTypeOf :: TimelineList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TimelineList Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.List

Generic TimelineList Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.List

Associated Types

type Rep TimelineList :: Type -> Type #

GoogleRequest TimelineList Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.List

Associated Types

type Rs TimelineList :: Type #

type Scopes TimelineList :: [Symbol] #

type Rep TimelineList Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.List

type Rep TimelineList = D1 (MetaData "TimelineList" "Network.Google.Resource.Mirror.Timeline.List" "gogol-mirror-0.5.0-BUkgmnKch95Ghu52Suiwzd" False) (C1 (MetaCons "TimelineList'" PrefixI True) ((S1 (MetaSel (Just "_tlPinnedOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_tlOrderBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TimelineListOrderBy)) :*: S1 (MetaSel (Just "_tlBundleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_tlSourceItemId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tlMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))) :*: S1 (MetaSel (Just "_tlIncludeDeleted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes TimelineList Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.List

type Scopes TimelineList = "https://www.googleapis.com/auth/glass.location" ': ("https://www.googleapis.com/auth/glass.timeline" ': ([] :: [Symbol]))
type Rs TimelineList Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.List

Request Lenses

tlPinnedOnly :: Lens' TimelineList (Maybe Bool) Source #

If true, only pinned items will be returned.

tlOrderBy :: Lens' TimelineList (Maybe TimelineListOrderBy) Source #

Controls the order in which timeline items are returned.

tlBundleId :: Lens' TimelineList (Maybe Text) Source #

If provided, only items with the given bundleId will be returned.

tlSourceItemId :: Lens' TimelineList (Maybe Text) Source #

If provided, only items with the given sourceItemId will be returned.

tlPageToken :: Lens' TimelineList (Maybe Text) Source #

Token for the page of results to return.

tlMaxResults :: Lens' TimelineList (Maybe Word32) Source #

The maximum number of items to include in the response, used for paging.

tlIncludeDeleted :: Lens' TimelineList (Maybe Bool) Source #

If true, tombstone records for deleted items will be returned.