gogol-youtube-0.2.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.List

Contents

Description

Lists moderators for a live chat.

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

Synopsis

REST Resource

type LiveChatModeratorsListResource = "youtube" :> ("v3" :> ("liveChat" :> ("moderators" :> (QueryParam "liveChatId" Text :> (QueryParam "part" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LiveChatModeratorListResponse)))))))) Source #

A resource alias for youtube.liveChatModerators.list method which the LiveChatModeratorsList request conforms to.

Creating a Request

liveChatModeratorsList Source #

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

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

data LiveChatModeratorsList Source #

Lists moderators for a live chat.

See: liveChatModeratorsList smart constructor.

Instances

Eq LiveChatModeratorsList Source # 
Data LiveChatModeratorsList Source # 

Methods

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

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

toConstr :: LiveChatModeratorsList -> Constr #

dataTypeOf :: LiveChatModeratorsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LiveChatModeratorsList Source # 
Generic LiveChatModeratorsList Source # 
GoogleRequest LiveChatModeratorsList Source # 
type Rep LiveChatModeratorsList Source # 
type Rep LiveChatModeratorsList = D1 (MetaData "LiveChatModeratorsList" "Network.Google.Resource.YouTube.LiveChatModerators.List" "gogol-youtube-0.2.0-1ZihBky57dEGhFo5f57ZgQ" False) (C1 (MetaCons "LiveChatModeratorsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_livPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_livLiveChatId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_livPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_livMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word32))))))
type Scopes LiveChatModeratorsList Source # 
type Scopes LiveChatModeratorsList = (:) Symbol "https://www.googleapis.com/auth/youtube" ((:) Symbol "https://www.googleapis.com/auth/youtube.force-ssl" ((:) Symbol "https://www.googleapis.com/auth/youtube.readonly" ([] Symbol)))
type Rs LiveChatModeratorsList Source # 

Request Lenses

livPart :: Lens' LiveChatModeratorsList Text Source #

The part parameter specifies the liveChatModerator resource parts that the API response will include. Supported values are id and snippet.

livLiveChatId :: Lens' LiveChatModeratorsList Text Source #

The liveChatId parameter specifies the YouTube live chat for which the API should return moderators.

livPageToken :: Lens' LiveChatModeratorsList (Maybe Text) Source #

The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.

livMaxResults :: Lens' LiveChatModeratorsList Word32 Source #

The maxResults parameter specifies the maximum number of items that should be returned in the result set.