gogol-blogger-0.4.0: Google Blogger 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.Blogger.Pages.Revert

Contents

Description

Revert a published or scheduled page to draft state.

See: Blogger API Reference for blogger.pages.revert.

Synopsis

REST Resource

type PagesRevertResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pages" :> (Capture "pageId" Text :> ("revert" :> (QueryParam "alt" AltJSON :> Post '[JSON] Page))))))) Source #

A resource alias for blogger.pages.revert method which the PagesRevert request conforms to.

Creating a Request

pagesRevert Source #

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

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

data PagesRevert Source #

Revert a published or scheduled page to draft state.

See: pagesRevert smart constructor.

Instances
Eq PagesRevert Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Revert

Data PagesRevert Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Revert

Methods

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

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

toConstr :: PagesRevert -> Constr #

dataTypeOf :: PagesRevert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PagesRevert Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Revert

Generic PagesRevert Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Revert

Associated Types

type Rep PagesRevert :: Type -> Type #

GoogleRequest PagesRevert Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Revert

Associated Types

type Rs PagesRevert :: Type #

type Scopes PagesRevert :: [Symbol] #

type Rep PagesRevert Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Revert

type Rep PagesRevert = D1 (MetaData "PagesRevert" "Network.Google.Resource.Blogger.Pages.Revert" "gogol-blogger-0.4.0-J2l0mOXVNniBwK88dTMLog" False) (C1 (MetaCons "PagesRevert'" PrefixI True) (S1 (MetaSel (Just "_pagBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pagPageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes PagesRevert Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Revert

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

Defined in Network.Google.Resource.Blogger.Pages.Revert

Request Lenses

pagBlogId :: Lens' PagesRevert Text Source #

The ID of the blog.

pagPageId :: Lens' PagesRevert Text Source #

The ID of the page.