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

Contents

Description

Update a page. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for blogger.pages.patch method which the PagesPatch request conforms to.

Creating a Request

pagesPatch Source #

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

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

data PagesPatch Source #

Update a page. This method supports patch semantics.

See: pagesPatch smart constructor.

Instances
Eq PagesPatch Source # 
Instance details

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

Data PagesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: PagesPatch -> Constr #

dataTypeOf :: PagesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PagesPatch Source # 
Instance details

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

Generic PagesPatch Source # 
Instance details

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

Associated Types

type Rep PagesPatch :: Type -> Type #

GoogleRequest PagesPatch Source # 
Instance details

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

Associated Types

type Rs PagesPatch :: Type #

type Scopes PagesPatch :: [Symbol] #

type Rep PagesPatch Source # 
Instance details

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

type Rep PagesPatch = D1 (MetaData "PagesPatch" "Network.Google.Resource.Blogger.Pages.Patch" "gogol-blogger-0.4.0-J2l0mOXVNniBwK88dTMLog" False) (C1 (MetaCons "PagesPatch'" PrefixI True) ((S1 (MetaSel (Just "_ppBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ppPageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_ppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Page) :*: (S1 (MetaSel (Just "_ppRevert") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ppPublish") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes PagesPatch Source # 
Instance details

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

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

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

Request Lenses

ppBlogId :: Lens' PagesPatch Text Source #

The ID of the Blog.

ppPageId :: Lens' PagesPatch Text Source #

The ID of the Page.

ppPayload :: Lens' PagesPatch Page Source #

Multipart request metadata.

ppRevert :: Lens' PagesPatch (Maybe Bool) Source #

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

ppPublish :: Lens' PagesPatch (Maybe Bool) Source #

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