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

Contents

Description

Update a page.

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

Synopsis

REST Resource

type PagesUpdateResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pages" :> (Capture "pageId" Text :> (QueryParam "revert" Bool :> (QueryParam "publish" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Page :> Put '[JSON] Page))))))))) Source #

A resource alias for blogger.pages.update method which the PagesUpdate request conforms to.

Creating a Request

pagesUpdate Source #

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

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

data PagesUpdate Source #

Update a page.

See: pagesUpdate smart constructor.

Instances
Eq PagesUpdate Source # 
Instance details

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

Data PagesUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: PagesUpdate -> Constr #

dataTypeOf :: PagesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PagesUpdate Source # 
Instance details

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

Generic PagesUpdate Source # 
Instance details

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

Associated Types

type Rep PagesUpdate :: Type -> Type #

GoogleRequest PagesUpdate Source # 
Instance details

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

Associated Types

type Rs PagesUpdate :: Type #

type Scopes PagesUpdate :: [Symbol] #

type Rep PagesUpdate Source # 
Instance details

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

type Rep PagesUpdate = D1 (MetaData "PagesUpdate" "Network.Google.Resource.Blogger.Pages.Update" "gogol-blogger-0.4.0-J2l0mOXVNniBwK88dTMLog" False) (C1 (MetaCons "PagesUpdate'" PrefixI True) ((S1 (MetaSel (Just "_puuBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_puuPageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_puuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Page) :*: (S1 (MetaSel (Just "_puuRevert") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_puuPublish") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes PagesUpdate Source # 
Instance details

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

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

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

Request Lenses

puuBlogId :: Lens' PagesUpdate Text Source #

The ID of the Blog.

puuPageId :: Lens' PagesUpdate Text Source #

The ID of the Page.

puuPayload :: Lens' PagesUpdate Page Source #

Multipart request metadata.

puuRevert :: Lens' PagesUpdate (Maybe Bool) Source #

Whether a revert action should be performed when the page is updated (default: false).

puuPublish :: Lens' PagesUpdate (Maybe Bool) Source #

Whether a publish action should be performed when the page is updated (default: false).