gogol-youtube-0.3.0: Google YouTube Data 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.YouTube.CommentThreads.Update

Contents

Description

Modifies the top-level comment in a comment thread.

See: YouTube Data API Reference for youtube.commentThreads.update.

Synopsis

REST Resource

type CommentThreadsUpdateResource = "youtube" :> ("v3" :> ("commentThreads" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CommentThread :> Put '[JSON] CommentThread))))) #

A resource alias for youtube.commentThreads.update method which the CommentThreadsUpdate request conforms to.

Creating a Request

commentThreadsUpdate #

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

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

data CommentThreadsUpdate #

Modifies the top-level comment in a comment thread.

See: commentThreadsUpdate smart constructor.

Instances

Eq CommentThreadsUpdate # 
Data CommentThreadsUpdate # 

Methods

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

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

toConstr :: CommentThreadsUpdate -> Constr #

dataTypeOf :: CommentThreadsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentThreadsUpdate # 
Generic CommentThreadsUpdate # 
GoogleRequest CommentThreadsUpdate # 
type Rep CommentThreadsUpdate # 
type Rep CommentThreadsUpdate = D1 (MetaData "CommentThreadsUpdate" "Network.Google.Resource.YouTube.CommentThreads.Update" "gogol-youtube-0.3.0-AfG7xN9T3g6cNxOHVx5t0" False) (C1 (MetaCons "CommentThreadsUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ctuPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ctuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CommentThread))))
type Scopes CommentThreadsUpdate # 
type Scopes CommentThreadsUpdate = (:) Symbol "https://www.googleapis.com/auth/youtube.force-ssl" ([] Symbol)
type Rs CommentThreadsUpdate # 

Request Lenses

ctuPart :: Lens' CommentThreadsUpdate Text #

The part parameter specifies a comma-separated list of commentThread resource properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update.

ctuPayload :: Lens' CommentThreadsUpdate CommentThread #

Multipart request metadata.