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.Delete

Contents

Description

Deletes an attachment from a timeline item.

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

Synopsis

REST Resource

type TimelineAttachmentsDeleteResource = "mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (Capture "attachmentId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #

A resource alias for mirror.timeline.attachments.delete method which the TimelineAttachmentsDelete request conforms to.

Creating a Request

timelineAttachmentsDelete Source #

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

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

data TimelineAttachmentsDelete Source #

Deletes an attachment from a timeline item.

See: timelineAttachmentsDelete smart constructor.

Instances
Eq TimelineAttachmentsDelete Source # 
Instance details

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

Data TimelineAttachmentsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: TimelineAttachmentsDelete -> Constr #

dataTypeOf :: TimelineAttachmentsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TimelineAttachmentsDelete Source # 
Instance details

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

Generic TimelineAttachmentsDelete Source # 
Instance details

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

Associated Types

type Rep TimelineAttachmentsDelete :: Type -> Type #

GoogleRequest TimelineAttachmentsDelete Source # 
Instance details

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

type Rep TimelineAttachmentsDelete Source # 
Instance details

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

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

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

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

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

Request Lenses

tadItemId :: Lens' TimelineAttachmentsDelete Text Source #

The ID of the timeline item the attachment belongs to.