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.LiveChatModerators.Insert

Contents

Description

Adds a new moderator for the chat.

See: YouTube Data API Reference for youtube.liveChatModerators.insert.

Synopsis

REST Resource

type LiveChatModeratorsInsertResource = "youtube" :> ("v3" :> ("liveChat" :> ("moderators" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LiveChatModerator :> Post '[JSON] LiveChatModerator)))))) Source #

A resource alias for youtube.liveChatModerators.insert method which the LiveChatModeratorsInsert request conforms to.

Creating a Request

liveChatModeratorsInsert Source #

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

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

data LiveChatModeratorsInsert Source #

Adds a new moderator for the chat.

See: liveChatModeratorsInsert smart constructor.

Instances

Eq LiveChatModeratorsInsert Source # 
Data LiveChatModeratorsInsert Source # 

Methods

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

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

toConstr :: LiveChatModeratorsInsert -> Constr #

dataTypeOf :: LiveChatModeratorsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LiveChatModeratorsInsert Source # 
Generic LiveChatModeratorsInsert Source # 
GoogleRequest LiveChatModeratorsInsert Source # 
type Rep LiveChatModeratorsInsert Source # 
type Rep LiveChatModeratorsInsert = D1 (MetaData "LiveChatModeratorsInsert" "Network.Google.Resource.YouTube.LiveChatModerators.Insert" "gogol-youtube-0.3.0-2CKT3iLSir83mLosJE4Zg" False) (C1 (MetaCons "LiveChatModeratorsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_lPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LiveChatModerator))))
type Scopes LiveChatModeratorsInsert Source # 
type Scopes LiveChatModeratorsInsert = (:) Symbol "https://www.googleapis.com/auth/youtube" ((:) Symbol "https://www.googleapis.com/auth/youtube.force-ssl" ([] Symbol))
type Rs LiveChatModeratorsInsert Source # 

Request Lenses

lPart :: Lens' LiveChatModeratorsInsert Text Source #

The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet.