gogol-youtube-0.4.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 # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatModerators.Insert

Data LiveChatModeratorsInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatModerators.Insert

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 # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatModerators.Insert

Generic LiveChatModeratorsInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatModerators.Insert

Associated Types

type Rep LiveChatModeratorsInsert :: Type -> Type #

GoogleRequest LiveChatModeratorsInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatModerators.Insert

type Rep LiveChatModeratorsInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatModerators.Insert

type Rep LiveChatModeratorsInsert = D1 (MetaData "LiveChatModeratorsInsert" "Network.Google.Resource.YouTube.LiveChatModerators.Insert" "gogol-youtube-0.4.0-ICfv3TXlvc9ZGnb0rCY6m" False) (C1 (MetaCons "LiveChatModeratorsInsert'" PrefixI True) (S1 (MetaSel (Just "_lPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LiveChatModerator)))
type Scopes LiveChatModeratorsInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatModerators.Insert

type Scopes LiveChatModeratorsInsert = "https://www.googleapis.com/auth/youtube" ': ("https://www.googleapis.com/auth/youtube.force-ssl" ': ([] :: [Symbol]))
type Rs LiveChatModeratorsInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatModerators.Insert

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.