gogol-mirror-0.0.1: Google Mirror SDK.

Copyright(c) 2015 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.

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.