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 |
Retrieves a list of timeline items for the authenticated user.
See: Google Mirror API Reference for mirror.timeline.list
.
Synopsis
- 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))))))))))
- timelineList :: TimelineList
- data TimelineList
- tlPinnedOnly :: Lens' TimelineList (Maybe Bool)
- tlOrderBy :: Lens' TimelineList (Maybe TimelineListOrderBy)
- tlBundleId :: Lens' TimelineList (Maybe Text)
- tlSourceItemId :: Lens' TimelineList (Maybe Text)
- tlPageToken :: Lens' TimelineList (Maybe Text)
- tlMaxResults :: Lens' TimelineList (Maybe Word32)
- tlIncludeDeleted :: Lens' TimelineList (Maybe Bool)
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
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.