gogol-mirror-0.4.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.Attachments.Get

Contents

Description

Retrieves an attachment on a timeline item by item ID and attachment ID.

See: Google Mirror API Reference for mirror.timeline.attachments.get.

Synopsis

REST Resource

type TimelineAttachmentsGetResource = ("mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (Capture "attachmentId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Attachment))))))) :<|> ("mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (Capture "attachmentId" Text :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream))))))) Source #

A resource alias for mirror.timeline.attachments.get method which the TimelineAttachmentsGet request conforms to.

Creating a Request

timelineAttachmentsGet Source #

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

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

data TimelineAttachmentsGet Source #

Retrieves an attachment on a timeline item by item ID and attachment ID.

See: timelineAttachmentsGet smart constructor.

Instances
Eq TimelineAttachmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Attachments.Get

Data TimelineAttachmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Attachments.Get

Methods

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

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

toConstr :: TimelineAttachmentsGet -> Constr #

dataTypeOf :: TimelineAttachmentsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TimelineAttachmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Attachments.Get

Generic TimelineAttachmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Attachments.Get

Associated Types

type Rep TimelineAttachmentsGet :: Type -> Type #

GoogleRequest TimelineAttachmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Attachments.Get

GoogleRequest (MediaDownload TimelineAttachmentsGet) Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Attachments.Get

type Rep TimelineAttachmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Attachments.Get

type Rep TimelineAttachmentsGet = D1 (MetaData "TimelineAttachmentsGet" "Network.Google.Resource.Mirror.Timeline.Attachments.Get" "gogol-mirror-0.4.0-9c962MxnB494MCOxCUtS1H" False) (C1 (MetaCons "TimelineAttachmentsGet'" PrefixI True) (S1 (MetaSel (Just "_tagItemId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tagAttachmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes TimelineAttachmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Attachments.Get

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

Defined in Network.Google.Resource.Mirror.Timeline.Attachments.Get

type Scopes (MediaDownload TimelineAttachmentsGet) Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Attachments.Get

type Rs (MediaDownload TimelineAttachmentsGet) Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Attachments.Get

Request Lenses

tagItemId :: Lens' TimelineAttachmentsGet Text Source #

The ID of the timeline item the attachment belongs to.